#2985: segfault in mx_update_context Mutt 1.5.17 (this version is not available from the bugreport form's "Version" pulldown menu, that's why I selected `1.5.16' instead) just crashed on a NetBSD/i386 4.99.34 system:
{{{ $ gdb mutt mutt.core GNU gdb 6.5 [...] Core was generated by `mutt'. Program terminated with signal 11, Segmentation fault. #0 0x0807fdef in mx_update_context (ctx=0xbb629380, new_messages=5) at mx.c:1561 1561 h->security = crypt_query (h->content); (gdb) bt #0 0x0807fdef in mx_update_context (ctx=0xbb629380, new_messages=5) at mx.c:1561 #1 0x080c6963 in imap_read_headers (idata=0xbb62c0f0, msgbegin=17, msgend=17) at message.c:346 #2 0x080bf937 in imap_cmd_finish (idata=0xbb62c0f0) at command.c:308 #3 0x080c175d in imap_check_mailbox (ctx=0xbb629380, index_hint=0xbfbfdd40, force=0) at imap.c:1393 #4 0x0805f499 in mutt_index_menu () at curs_main.c:485 #5 0x08077dbf in main (argc=2, argv=0xbfbfea8c) at main.c:997 (gdb) }}} This Mutt was built from latest HEAD sources after being configured as follows: {{{ LDFLAGS='-Wl,-rpath,/usr/pkg/lib' ./prepare \ --prefix=/usr/local \ --enable-debug \ --enable-pop \ --enable-imap \ --enable-smtp \ --with-ssl=/usr \ --with-sasl=/usr/pkg \ --with-curses=/usr/pkg \ --enable-hcache \ --with-bdb=/usr/pkg \ --without-qdbm \ --without-gdbm }}} I'll keep the core dump available for some time. -- Ticket URL: <http://dev.mutt.org/trac/ticket/2985>