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

Re: crash in imap_expunge_mailbox (similar to #2175)



On Tue, Mar 07, 2006 at 01:26:36PM -0800, Brendan Cully wrote:
> On Tuesday, 07 March 2006 at 16:20, Kyle Wheeler wrote:
> > On Tuesday, March  7 at 11:07 AM, quoth Kyle Wheeler:
> > >I found another crash, in mx_update_context, in mx.c (around line 
> > >1577). The avoidance is simple:
> > 

[..]

> > I don’t know if these little one-liners are helping anybody… but hey, 
> > a little assumption-verification never hurt anybody.
> 
> I don't think these are the way to go. If a header is missing, that's
> a symptom of worse trouble. I think it's the flag handler getting
> confused by flags for different messages in imap_open_mailbox. I'm
> expecting that before these crashes somewhere in .muttdebug you're
> seeing some kind of 'uid out of sync' message. Will try to take a look

or more like:
        Message UID 893 updated
        imap_fetch_message: parsing FLAGS
        imap_read_headers: msgcount and sequence ID are 
inconsistent!parse_parameters: `
        charset=ISO-8859-1'
        parse_parameter: `charset' = `ISO-8859-1'
        < a3951 OK Fetch completed.

-- 
 hail eris

Attachment: pgpz2mKzcabH7.pgp
Description: PGP signature