[neomutt-users] Crash on OS X

Michael Steeves steeves at raingods.net
Sat Nov 16 16:42:21 CET 2019

I'm running into a problem (started with the 20191102 build) where neomutt
won't pull down anything from my IMAP inbox, and is crashing on exit.

A snipped from the crash dump:

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000018
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0x18:
    __TEXT                 000000010a7be000-000000010a8b2000 [  976K] r-x/r-x SM=COW  /usr/local/Cellar/neomutt/20191111/bin/neomutt

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   neomutt                             0x000000010a7c8500 examine_mailboxes + 732
1   neomutt                             0x000000010a7c5e2d mutt_buffer_select_file + 416
2   neomutt                             0x000000010a7d75c4 mutt_buffer_enter_fname_full + 233
3   neomutt                             0x000000010a7ebd3e mutt_index_menu + 17907
4   neomutt                             0x000000010a7fb702 main + 8631
5   libdyld.dylib                       0x00007fff6f5bb3d5 start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007ff6854ece00  rcx: 0x00007ff6857010d0  rdx: 0x00007ff6854c5d28
  rdi: 0x00007ff68563e3c0  rsi: 0x0000000000000000  rbp: 0x00007ffee543e550  rsp: 0x00007ffee543e3e0
   r8: 0x0000000000000006   r9: 0x0000000000000000  r10: 0x000007ff6854c5d2  r11: 0x0000000000000001
  r12: 0x000000010a8a1c28  r13: 0x000000010a7c85f8  r14: 0x0000000000000000  r15: 0x00007ffee543e5e0
  rip: 0x000000010a7c8500  rfl: 0x0000000000000206  cr2: 0x00007fffa5bc6388

Logical CPU:     0
Error Code:      0x020000b8
Trap Number:     133

What can I do to try and debug this issue further? The build I'm currently
running is:

# michael @ paris in ~/Library/Logs/DiagnosticReports [10:41:20]
$ neomutt -v
NeoMutt 20191111
Copyright (C) 1996-2016 Michael R. Elkins and others.
NeoMutt comes with ABSOLUTELY NO WARRANTY; for details type 'neomutt -vv'.
NeoMutt is free software, and you are welcome to redistribute it
under certain conditions; type 'neomutt -vv' for details.

System: Darwin 18.7.0 (x86_64)
ncurses: ncurses 5.7.20081102 (compiled with 5.7.20081102)
libiconv: 1.11
libidn: 1.35 (compiled with 1.35)
GPGme: 1.13.1
hcache backends: tokyocabinet, lmdb

Apple clang version 11.0.0 (clang-1100.0.33.8)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Configure options: --prefix=/usr/local/Cellar/neomutt/20191111 --enable-gpgme --with-gpgme=/usr/local/opt/gpgme --gss --lmdb --notmuch --sasl --tokyocabinet --with-ssl=/usr/local/opt/openssl at 1.1 --with-ui=ncurses

Compilation CFLAGS: -g -O2 -std=c99 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -I/usr/local/opt/gpgme/include -I/usr/local/opt/libassuan/include -I/usr/local/opt/libgpg-error/include -I/usr/local/Cellar/neomutt/20191111/include -DNCURSES_WIDECHAR -I/usr/local/opt/openssl at 1.1/include

Default options:
  +attach_headers_color +compose_to_sender +compress +cond_date +debug
  +encrypt_to_self +forgotten_attachments +forwref +ifdef +imap +index_color
  +initials +limit_current_thread +multiple_fcc +nested_if +new_mail +nntp +pop
  +progress +quasi_delete +regcomp +reply_with_xorig +sensible_browser +sidebar
  +skip_quoted +smtp +status_color +timeout +tls_sni +trash

Compile options:
  -autocrypt +bkgdset +color +curs_set +fcntl -flock -fmemopen +futimens
  +getaddrinfo -gnutls +gpgme +gss +hcache -homespool +idn -inotify
  -locales_hack -lua +meta -mixmaster +nls +notmuch +openssl +pgp +sasl +smime
  -sqlite +start_color +sun_attachment +typeahead

To learn more about NeoMutt, visit: https://neomutt.org
If you find a bug in NeoMutt, please raise an issue at:
or send an email to: <neomutt-devel at neomutt.org>

Michael Steeves (steeves at raingods.net)

More information about the neomutt-users mailing list