Re: mutt crash and backtrace
On Sat, Mar 19, 2005 at 05:23:41PM +0900, TAKAHASHI Tamotsu wrote:
> Has this been fixed in 1.5.9 or CVS?
aha! corruption again! (see attachment)
> If not, I think we need more information.
> (Probably I am unable to help you even if you give
> *me* more information. But someone else should be.)
>
> Is it reproduced on non-64bit platforms?
this is mac laptop. so yes.
> Is it reproduced if your mutt is configure'd
> --without-ssl --without-gnutls --disable-hcache?
without hcache the bug wouldn't exist. it's purely to do with the cache
db file.
> What sort of crash do you see? Null pointer?
> What is the values of ptr, ptr->data,
> ((HEADER *) ptr->data)->thread,
> ((HEADER *) ptr->data)->thread->message,
> ((HEADER *) ptr->data)->thread->message->env,
> cur, last, OPTTHREADRECEIVED, last->message,
> and subjects?
no idea. i have the core here so any gdb step-by-steps or if someone is
willing to download the core perhaps .. :) 134mb
Regards,
C.
--
hail eris
0x14AA7941
http://rubberduck.com/
littlelaptop:~$ sudo gdb /opt/local/bin/mutt /cores/core.17423
GNU gdb 5.3-20030128 (Apple version gdb-330.1) (Fri Jul 16 21:42:28 GMT 2004)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-apple-darwin".
Reading symbols for shared libraries ......... done
Core was generated by `/opt/local/bin/mutt'.
#0 cmd_parse_fetch (idata=0x1115470, s=0x1809602 "1401 FETCH (UID 2256 FLAGS
(\\Seen) INTERNALDATE \"22-Mar-2005 03:31:05 +0000\" RFC822.SIZE 2834
BODY[HEADER.FIELDS (DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE
CONTENT-DESCRIPTION IN-REPL"...) at command.c:481
481 command.c: No such file or directory.
in command.c
(gdb) bt
#0 cmd_parse_fetch (idata=0x1115470, s=0x1809602 "1401 FETCH (UID 2256 FLAGS
(\\Seen) INTERNALDATE \"22-Mar-2005 03:31:05 +0000\" RFC822.SIZE 2834
BODY[HEADER.FIELDS (DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE
CONTENT-DESCRIPTION IN-REPL"...) at command.c:481
#1 0x0007e9f0 in PEM_read_bio_PrivateKey () at command.c:361
#2 0x0007e9f0 in PEM_read_bio_PrivateKey () at command.c:361
#3 0x0007e394 in PEM_write_PKCS8PrivateKey () at command.c:144
#4 0x0007c2e8 in PEM_read_bio () at message.c:241
#5 0x00079480 in ASN1_TYPE_set_int_octetstring () at imap.c:724
#6 0x00039940 in nf_head ()
#7 0x00030668 in _tld_no ()
(gdb)