Opened 9 years ago

Closed 6 years ago

#47411 closed defect (fixed)

mutt-devel: segfaults on draw_sidebar

Reported by: macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: mutt-devel

Description

Getting frequent segfaults, usually on returning to the index from the pager if it's been in pager/editor view for more than about fifteen seconds. Crash dump is always

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_platform.dylib            0x00007fff83f65bb5 _platform_strcmp + 181
1   mutt                                0x000000010588dbcf draw_sidebar + 943
2   mutt                                0x000000010583e08b mutt_index_menu + 992
3   mutt                                0x000000010585947a main + 5212
4   libdyld.dylib                       0x00007fff8f01a5c9 start + 1

(full dump attached)

$ mutt -v
Mutt 1.5.23 (2014-03-12)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Darwin 14.1.0 (x86_64)
ncurses: ncurses 5.9.20110404 (compiled with 5.9)
libiconv: 1.14
libidn: 1.29 (compiled with 1.29)
hcache backend: GDBM version 1.11. 25/12/2013 (built Nov  6 2014 18:24:04)

Compiler:
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix

Configure options: '--prefix=/opt/local' '--disable-warnings' '--mandir=/opt/local/share/man' '--with-docdir=/opt/local/share/doc/mutt' '--with-libiconv-prefix=/opt/local' '--with-curses=/opt/local' '--disable-silent-rules' '--enable-imap' '--with-ssl=/opt/local' '--with-sasl=/opt/local' '--enable-debug' '--with-regex' '--enable-hcache' '--with-gdbm' '--without-bdb' '--without-qdbm' '--without-tokyocabinet' '--enable-gpgme' '--with-gpgme-prefix=/opt/local' 'CC=/usr/bin/clang' 'CFLAGS=-pipe -Os -arch x86_64' 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -L/usr/lib -arch x86_64' 'CPPFLAGS=-I/opt/local/include'

Compilation CFLAGS: -pipe -Os -arch x86_64

Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL  -USE_FLOCK   
-USE_POP  +USE_IMAP  -USE_SMTP  
+USE_SSL_OPENSSL  -USE_SSL_GNUTLS  +USE_SASL  -USE_GSS  +HAVE_GETADDRINFO  
-HAVE_REGCOMP  +USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  +CRYPT_BACKEND_GPGME  
-EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE  
ISPELL="/opt/local/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/opt/local/share/mutt"
SYSCONFDIR="/opt/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@mutt.org>.
To report a bug, please visit http://bugs.mutt.org/.

patch-1.5.23.sidebar.20140412.txt

Attachments (1)

mutt_2015-04-10-200956_minimac.crash (13.4 KB) - added by macports@… 9 years ago.
mutt crash report

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by macports@…

mutt crash report

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: segfaults on draw_sidebarmutt-devel: segfaults on draw_sidebar

You should report crashes to the developers of the program. Hopefully they can fix it and release a new version. After they do, we can update the MacPorts port to that version.

comment:2 in reply to:  1 Changed 9 years ago by macports@…

Replying to ryandesign@…:

You should report crashes to the developers of the program. Hopefully they can fix it and release a new version. After they do, we can update the MacPorts port to that version.

I will but I'm not optimistic about a response. My understanding is that the mutt devs are adamantly opposed to merging in the sidebar patch, so they’ll almost certainly INVALIDATE or WONTFIX any report involving it, and I don’t know if the lone sidebar maintainer has any bandwidth for debugging some rando’s problem.

comment:3 Changed 9 years ago by macports@…

FWIW, the mutt-kz fork (created to integrate notmuch support) doesn’t seem to exhibit this behaviour.

comment:4 Changed 6 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

mutt-devel has been replaced by neomutt.

Note: See TracTickets for help on using tickets.