Re: Segfault with CVS mutt
When opening an IMAPS mailbox, I am getting a crash with the
head-of-CVS mutt. The mailbox starts to read in the headers, then
mutt prints out "Error opening mailbox" and segfaults.
Here is a backtrace, 'mutt -v' output is below that, and the tail of
.muttdebug0 is after that.
David
<snipped alot of stuff to .muttdebug0's tail>
Here is the tail of .muttdebug0:
5< )
5< * 678 FETCH (UID 12020 FLAGS () INTERNALDATE " 5-Feb-2007 16:45:16
-0500" RFC822.SIZE 1552
BODY[HEADER.FIELDS (DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES
CONTENT-TYPE CONTENT-DESCRIPTION
IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL)]
{687}
Handling FETCH
FETCH response ignored for this message
imap_read_literal: reading 687 bytes
Date: Mon, 5 Feb 2007 16:42:01 -0500
From: XXXXXX
Subject: XXXXXXX
To: "XXXX" <x <at> x.com>, "XXXX" <x <at> x.com>,
"XXXX" <x <at> x.com>, "x" <x <at> x.com>,
"XXXX" <x <at> x.com>,
"XXXX" <x <at> x.com>,
"XXXX" <x <at> x.com>,
"XXXX" <x <at> x.com>,
"XXXX" <x <at> x.com>,
"XXXX" <x <at> x.com>,
"XXXX" <x <at> x.com>
Message-Id: <200702052142.l15Lg1Vb029402 <at> xxxx.x.com>
5< )
5< a0005 NO There is insufficient disk space to complete operation.
IMAP queue drained
Error opening mailbox
</snip>
There's the problem this line:
5< a0005 NO There is insufficient disk space to complete operation.
There is a problem with your imap server. Most clients would continue
on and just try to retrieve all the messages it can. But RFC 2046
requires an OK from a Fetch operation.
And the code in mutt does check and returns back the "Error opening
mailbox" error otherwise. (which is honestly, a better way of doing
it. We don't want silly things like deletes and what not to screw up
all your mail, do we?)
So, fix the imap server and it should be all good...
-Ken