[neomutt-devel] core dump on exit with latest commit
Jon Fineman
jon at fineman.me
Sun Nov 16 22:12:54 CET 2025
Sorry wrong flag on command line, and OpenBSD updated some of the
compile flags. So an updated email.
Also I am now wondering if this is an issue with OpenBSD since I just
updated the packages. The neomutt "NeoMutt 20250905" that is part of
ports doesn't core dump.
Any thoughts on which way to turn?
Thanks.
Jon
With this commit after neomutt exits I get a core dump. Otherwise it seems to
work fine.
commit cfdde0898e36c738d0a08845e81731d0bb563dcb
I am on OpenBSD 7.8 GENERIC.MP#54 amd64
./neomutt -v
neomutt:/usr/lib/libc++abi.so.7.0: undefined symbol '__sF'
neomutt:/usr/lib/libc++.so.10.0: undefined symbol '__sF'
neomutt:/usr/local/lib/libnotmuch.so.5.6: undefined symbol '__sF'
NeoMutt 20250905-70-cfdde0
Copyright (C) 2015-2025 Richard Russon and friends
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: OpenBSD 7.8 (amd64)
ncurses: ncurses 6.4.20230826 (compiled with 6.4.20230826)
libiconv: 1.17
libidn2: 2.3.0 (compiled with 2.3.0)
GPGME: 1.24.3
OpenSSL: LibreSSL 4.2.0
libnotmuch: 5.6.0
PCRE2: 10.44 2024-06-07
storage: tdb
compression: zlib
Configure options: --autocrypt --with-lock=flock --fmemopen --gpgme --notmuch --ssl --sasl --sqlite --tdb --debug --pcre2 --with-ui=ncurses --idn2 --zlib --docdir=/usr/local/share/doc/neomutt/
Compilation CFLAGS: -std=c11 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED -I/usr/local/include -DNCURSES_WIDECHAR -O2
Compile options:
+autocrypt -fcntl +flock +fmemopen +futimens +getaddrinfo -gnutls +gpgme
-gsasl -gss +hcache -homespool +idn -inotify -locales_hack -lua +nls +notmuch
+openssl +pcre2 +pgp +sasl +smime +sqlite +truecolor
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/neomutt"
SENDMAIL="/usr/sbin/sendmail"
SYSCONFDIR="/usr/local/etc"
To learn more about NeoMutt, visit: https://neomutt.org
If you find a bug in NeoMutt, please raise an issue at:
https://github.com/neomutt/neomutt/issues
or send an email to: <neomutt-devel at neomutt.org>
Segmentation fault (core dumped)
gdb neomutt neomutt.core
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd7.8"...
Core was generated by `neomutt'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpthread.so.28.0...done.
Loaded symbols for /usr/lib/libpthread.so.28.0
Reading symbols from /usr/lib/libpthread.so.27.1...done.
Loaded symbols for /usr/lib/libpthread.so.27.1
Loaded symbols for /home/jjf/src/neomutt/neomutt
Reading symbols from /usr/lib/libcurses.so.16.0...done.
Loaded symbols for /usr/lib/libcurses.so.16.0
Reading symbols from /usr/lib/libz.so.7.1...done.
Loaded symbols for /usr/lib/libz.so.7.1
Reading symbols from /usr/local/lib/libsqlite3.so.37.34...done.
Loaded symbols for /usr/local/lib/libsqlite3.so.37.34
Reading symbols from /usr/local/lib/libnotmuch.so.5.6...done.
Loaded symbols for /usr/local/lib/libnotmuch.so.5.6
Reading symbols from /usr/local/lib/libgpgme.so.24.3...done.
Loaded symbols for /usr/local/lib/libgpgme.so.24.3
Reading symbols from /usr/local/lib/libgpg-error.so.3.29...done.
Loaded symbols for /usr/local/lib/libgpg-error.so.3.29
Reading symbols from /usr/local/lib/libsasl2.so.3.1...done.
Loaded symbols for /usr/local/lib/libsasl2.so.3.1
Reading symbols from /usr/local/lib/libintl.so.8.1...done.
Loaded symbols for /usr/local/lib/libintl.so.8.1
Reading symbols from /usr/local/lib/libiconv.so.7.1...done.
Loaded symbols for /usr/local/lib/libiconv.so.7.1
Reading symbols from /usr/lib/libssl.so.60.1...done.
Loaded symbols for /usr/lib/libssl.so.60.1
Reading symbols from /usr/lib/libcrypto.so.57.1...done.
Loaded symbols for /usr/lib/libcrypto.so.57.1
Reading symbols from /usr/local/lib/libidn2.so.1.1...done.
Loaded symbols for /usr/local/lib/libidn2.so.1.1
Reading symbols from /usr/local/lib/libpcre2-8.so.0.7...done.
Loaded symbols for /usr/local/lib/libpcre2-8.so.0.7
Reading symbols from /usr/local/lib/libtdb.so.4.4...done.
Loaded symbols for /usr/local/lib/libtdb.so.4.4
Reading symbols from /usr/lib/libc.so.102.0...done.
Loaded symbols for /usr/lib/libc.so.102.0
Symbols already loaded for /usr/lib/libpthread.so.28.0
Reading symbols from /usr/lib/libm.so.10.1...done.
Loaded symbols for /usr/lib/libm.so.10.1
Reading symbols from /usr/local/lib/libgmime-3.0.so.2.2...done.
Loaded symbols for /usr/local/lib/libgmime-3.0.so.2.2
Reading symbols from /usr/local/lib/libgobject-2.0.so.4200.21...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.4200.21
Reading symbols from /usr/local/lib/libglib-2.0.so.4201.14...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.4201.14
Reading symbols from /usr/local/lib/libtalloc.so.1.2...done.
Loaded symbols for /usr/local/lib/libtalloc.so.1.2
Reading symbols from /usr/local/lib/libxapian.so.5.2...done.
Loaded symbols for /usr/local/lib/libxapian.so.5.2
Reading symbols from /usr/lib/libc++.so.10.0...done.
Loaded symbols for /usr/lib/libc++.so.10.0
Reading symbols from /usr/lib/libc++abi.so.7.0...done.
Loaded symbols for /usr/lib/libc++abi.so.7.0
Reading symbols from /usr/local/lib/libassuan.so.2.1...done.
Loaded symbols for /usr/local/lib/libassuan.so.2.1
Reading symbols from /usr/local/lib/libunistring.so.0.1...done.
Loaded symbols for /usr/local/lib/libunistring.so.0.1
Reading symbols from /usr/local/lib/libgio-2.0.so.4200.21...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.4200.21
Reading symbols from /usr/local/lib/libffi.so.2.4...done.
Loaded symbols for /usr/local/lib/libffi.so.2.4
Reading symbols from /usr/local/lib/libgmodule-2.0.so.4200.21...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.4200.21
Reading symbols from /usr/local/lib/libgthread-2.0.so.4200.21...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.4200.21
Symbols already loaded for /usr/lib/libpthread.so.27.1
Reading symbols from /usr/libexec/ld.so...Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
#0 __sflush (fp=0x98) at /usr/src/lib/libc/stdio/fflush.c:61
61 int n, t;
(gdb) bt
#0 __sflush (fp=0x98) at /usr/src/lib/libc/stdio/fflush.c:61
#1 0x00000eb21ec8f4e0 in _libc_fflush (fp=0x98) at /usr/src/lib/libc/stdio/fflush.c:48
Die: DW_TAG_unspecified_type (abbrev = 66, offset = 2229027)
has children: FALSE
attributes:
DW_AT_name (DW_FORM_strp) string: "decltype(nullptr)"
Dwarf Error: Cannot find type of die [in module /usr/lib/libc++.so.10.0]
(gdb)
More information about the neomutt-devel
mailing list