https://bugzilla.novell.com/show_bug.cgi?id=704359 https://bugzilla.novell.com/show_bug.cgi?id=704359#c0 Summary: Mutt crash on switch to a new folder on NULL pointer Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Other AssignedTo: werner@novell.com ReportedBy: mvyskocil@novell.com QAContact: qa@suse.de Found By: Development Blocker: --- When I copy the email from Inbox to another folder and switch to it immediately, mutt segfaults. This is the info from gdb (gdb) bt #0 mx_update_context (ctx=0x867f10, new_messages=<optimized out>) at mx.c:1597 #1 0x00000000004a69f6 in imap_read_headers (idata=0x844040, msgbegin=<optimized out>, msgend=6) at message.c:386 #2 0x00000000004a42e3 in imap_open_mailbox (ctx=0x867f10) at imap.c:756 #3 0x0000000000446855 in mx_open_mailbox (path=<optimized out>, flags=0, pctx=0x0) at mx.c:684 #4 0x000000000042546c in mutt_index_menu () at curs_main.c:1202 #5 0x0000000000409638 in main (argc=1, argv=<optimized out>) at main.c:1026 (gdb) list 1592 h = ctx->hdrs[msgno]; 1593 1594 if (WithCrypto) 1595 { 1596 /* NOTE: this _must_ be done before the check for mailcap! */ 1597 h->security = crypt_query (h->content); 1598 } 1599 1600 if (!ctx->pattern) 1601 { (gdb) print WithCrypto No symbol "WithCrypto" in current context. (gdb) print h $1 = (HEADER *) 0x0 (gdb) print ctx $2 = (CONTEXT *) 0x867f10 (gdb) print msgno $3 = 5 (gdb) print ctx->hdrs $4 = (HEADER **) 0x2bdefa0 (gdb) print ctx->hdrs[0] $5 = (HEADER *) 0x2be9870 (gdb) print ctx->hdrs[1] $6 = (HEADER *) 0x2be97d0 (gdb) print ctx->hdrs[5] $7 = (HEADER *) 0x0 (gdb) print ctx->hdrs[6] I've uploaded the core file to ftp.suse.com/pub/people/mvyskocil/core.bz rpm -q mutt mutt-1.5.21-19.1.x86_64 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.