On Fri, Apr 28, 2017 at 11:25:28 -0700, Kevin J. McCarthy wrote: > I haven't been able to duplicate the segv yet, so I have a few questions > I'm hoping will help me track it down.
I can reproduce with my patched 1.8.0, but not with 1.8.2, patched or vanilla. I have mbox_type=mbox, and I can reproduce on 1.8.0 with the blink of an eye. Here's the backtrace: maildir:/tmp/keks: No such file or directory (errno = 2) Program received signal SIGSEGV, Segmentation fault. 0x00704f71 in fileno_unlocked () from /lib/libc.so.6 Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-1.fc10.1sunshine.pentium4 cyrus-sasl-lib-2.1.22-19.fc10.i386 e2fsprogs-libs-1.41.4-6.fc10.i386 glibc-2.9-3.2sunshine.i686 gnutls-2.4.2-5.fc10.i386 keyutils-libs-1.2-3.fc9.i386 krb5-libs-1.6.3-18.fc10.i386 libgcrypt-1.4.4-1.fc10.i386 libgpg-error-1.6-2.i386 libidn-0.6.14-8.i386 libselinux-2.0.78-1.fc10.i386 libtasn1-1.5-1.fc10.i386 ncurses-libs-5.6-20.20080927.fc10.i386 tokyocabinet-1.3.27-1.fc10.i386 zlib-1.2.3-22.fc10.1sunshine.pentium4 (gdb) bt #0 0x00704f71 in fileno_unlocked () from /lib/libc.so.6 #1 0x08089702 in mbox_close_mailbox (ctx=0xbfffd9b8) at mbox.c:470 #2 0x08093f31 in mx_fastclose_mailbox (ctx=0xbfffd9b8) at mx.c:704 #3 0x08094571 in mx_open_mailbox (path=0xbfffda98 "maildir:/tmp/keks", flags=<optimized out>, pctx=0xbfffd9b8) at mx.c:620 #4 0x0805c10b in mutt_save_message (h=0x8331e68, delete=0, decode=0, decrypt=0, redraw=0x833207c) at commands.c:846 #5 0x08067f1e in mutt_index_menu () at curs_main.c:1787 #6 0x08088fad in main (argc=2, argv=0xbffff5d4, environ=0xbffff5e0) at main.c:1304 (Copying from an mbox.) I don't know why a mutt from hg tip would crash, "for me" it seems fixed. (No, I haven't had the time to try vanilla 1.8.0. Enough correlating for now. ;-)) Moritz