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

Re: IMAP crash after adding mailboxes



I think I've fixed this in CVS, if you'd care to give it a try.

On Thursday, 10 August 2006 at 12:59, Brendan Cully wrote:
> Never mind, I see the real problem: cmd_parse_status is clobbering
> idata because it thinks idata->cmddata can hold a STATUS response,
> when it can only hold a LIST response. I need to add type info to that
> field. I should have a patch a bit later.
> 
> On Thursday, 10 August 2006 at 12:46, Brendan Cully wrote:
> > Thanks for the very nice bug report. It looks like it's probably
> > something wrong with looking up connections by URL, maybe triggered by
> > the fact that you have multiple accounts on the same server. Out of
> > curiosity, can you reproduce the crashes if you embed the username in
> > the imap URLs (eg imaps://korvemaker@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/)?
> > 
> > On Tuesday, 25 July 2006 at 16:20, Ben Korvemaker wrote:
> > > I've run into a problem with mutt-1.5.12 coredumping after adding new
> > > IMAP mailboxes. If the config file doesn't have any mailboxes, and new
> > > IMAP mailboxes are added, it seems to be fine. If i have a handful of
> > > IMAP mailboxes, and then add more, then hit 'c<tab><tab>' for a list
> > > of mailboxes, it coredumps intermittently. Sometimes I have to bounce
> > > around between mailbxoes a bit, but usually it's the first try, unless
> > > I'm trying to get a crash log, in which case it seems to take 3 or 4
> > > tries.
> > > 
> > > (The intended setup is to have 3 inboxes on different imap servers,
> > > with spam folders on each that I intermittently check. Since I'm trying
> > > out crm114, I'm wanting to check those spam folders frequently, which
> > > lead to this situation. To check those folders, i have ESC-ESC-S and
> > > ESC-ESC-ESC-S mapped to macros that add and remove the sets of spam
> > > folders.)
> > > 
> > > A trace of the last crash is below. idata seems to vary, often being 0x1
> > > or 0x2. Naturally, with this dump, it's 0xd42. Attached is a trimmed
> > > down level 5 muttdebug. Please let me know if there's anything else
> > > that'd be useful, or if i've trimmed too much out.
> > > 
> > > - Ben
> > > 
> > > #0  0x080d623d in imap_cmd_step (idata=0xd42) at command.c:123
> > > #1  0x080d4b07 in imap_browse (
> > >     path=0x80fac20 "imaps://clockwork.private.drycold.ca/INBOX.", 
> > >     state=0xbfbfd630) at browse.c:119
> > > #2  0x080524d3 in _mutt_select_file (f=0xbfbfde60 "", flen=1024, flags=4, 
> > >     files=0x0, numfiles=0x0) at browser.c:615
> > > #3  0x0806ef15 in _mutt_enter_string (buf=0xbfbfde60 "", buflen=1024, 
> > > y=24, 
> > >     x=14, flags=36, multiple=0, files=0x0, numfiles=0x0, state=0x818fb80)
> > >     at enter.c:543
> > > #4  0x08062344 in _mutt_get_field (field=0x81c99e0 "Open mailbox: ", 
> > >     buf=0xbfbfde60 "", buflen=1024, complete=36, multiple=0, files=0x0, 
> > >     numfiles=0x0) at curs_lib.c:132
> > > #5  0x080630fa in _mutt_enter_fname (prompt=0x80e9467 "Open mailbox", 
> > >     buf=0xbfbfde60 "", blen=1024, redraw=0x81a0814, buffy=1, multiple=0, 
> > >     files=0x0, numfiles=0x0) at curs_lib.c:486
> > > #6  0x08066564 in mutt_index_menu () at curs_main.c:1071
> > > #7  0x08084a20 in main (argc=3, argv=0xbfbfea98) at main.c:963
> > > 
> > 
> > 
> 
> 


Attachment: pgpvd7owTnbyd.pgp
Description: PGP signature