<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3017: change-folder: empty tab-completion results in "Out of memory!", return value = 1



#3017: change-folder: empty tab-completion results in "Out of memory!", return
value = 1

 With 1975 subdirectories and 50721 ordinary files in ~/Mail tab-completion
 on empty input line in <change-folder> results in "Out of memory!", return
 value 1.

 How to reproduce: Have thousands of files in ~/Mail and in mutt index or
 pager:

 {{{
 hit "c" (<change-folder>), "^a" (<bol>), "^k" (<kill-eol>), "<tab>",
 voila: "Out of memory!", return value is 1.
 }}}

 This is not a configuration problem nor an alien patch problem since this
 happens with  vanilla mutt-6e6e6c4bee59 started like this:

 /usr/local/stow/bin/mutt -nF /dev/null



 The problem occured first with recent mutt from debian unstable (1.5.17-2)
 which includes a patch which enables a debug-option "-d", last 3 lines of
 debug output are:

    Updating progress: 0
    mutt_index_menu[633]: Got op 99
    Out of memory!


 Workaround: Delete ~50000 files which did not belong there.  But I think
 mutt should handle a such a situation with thousands of filenames to
 complete.


 Thank you for this great MUA,
 Gregor Zattler

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3017>