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

imap/2121: cache makes mutt crash if there are too many messages



>Number:         2121
>Notify-List:    
>Category:       imap
>Synopsis:       cache makes mutt crash if there are too many messages
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 28 01:59:09 +0200 2005
>Originator:     Kyle Wheeler
>Release:        1.5.9i (Debian) and CVS HEAD
>Organization:
>Environment:
Debian and MacOS X
>Description:
I opened a folder full of 35055 messages (with mutt -F /dev/null -f 
imaps://user@host/bigfolder). Mutt tried to fetch all the headers to put it in 
the cache, but Aborts instead, simply saying "Error opening Mailbox*** glibc 
detected *** free(): invalid pointer: 0x09afbd40 ***", and "   Aborted". I 
tried again with -d2 and didn't see anything obvious. I tried again with -d5, 
and that debug file is attached (slightly edited so as not to give out 
passwords). This happened both on my MacOSX and Debian box (the OSX box didn't 
crash, but spit out a whole lot of double-free warnings). The Mac was running 
CVS HEAD (plus a few patches) and Debian was running testing mutt (1.5.9-2). 
The muttdebug file is available here: 
http://salinan.memoryhole.net/~kyle/muttdebug0.bz2 (I tried to attach it, but 
it was too large.)
>How-To-Repeat:
mutt -F /dev/null -f imaps://user@host/INBOX/bigfolder where bigfolder contains 
35055 messages.
>Fix:
Unknown
>Add-To-Audit-Trail:

>Unformatted:
 ----gnatsweb-attachment----
 Content-Type: application/octet-stream; name="foo"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="foo"