#3813: mutt-1.5.24: mutt (with imap header caching enabled) crash
--------------------+--------------
Reporter: william | Owner:
Type: defect | Status: new
Priority: major |
--------------------+--------------
{{{
Package: mutt
Version: 1.5.24
Severity: important
-- Please type your report below this line
Mutt debug output:
[2016-03-10 11:02:17] IMAP queue drained
[2016-03-10 11:02:17] imap_cmd_finish: Fetching new mail
[2016-03-10 11:02:17] message.c:105: mutt_mktemp returns
"/var/folders/45/gqpdfwtj7rl8mjp33jn35v1m0000gn/T//mutt-
jazz-501-82005-17350845861872933542".
Stack backtrace:
(gdb) bt
#0 0x00007fff8c4fff92 in strlen ()
#1 0x00007fff8c544d5a in __vfprintf ()
#2 0x00007fff8c56d807 in __v2printf ()
#3 0x00007fff8c56da9c in __xvprintf ()
#4 0x00007fff8c543a2a in vfprintf ()
#5 0x000000010d92398e in mutt_debug (fp=0x7fff737cb070, fmt=0x10d961302
"tcbdbopen %s failed: %s\n") at lib.c:1027
#6 0x000000010d940223 in hcache_open_tc (h=0x7fefd4cdc940, path=<value
temporarily unavailable, due to optimizations>) at hcache.c:934
#7 0x000000010d9400e4 in mutt_hcache_open (path=0x10d970640
"/Users/XXX/hcache/imaps:[email protected]/INBOX.hcache",
folder=<value temporarily unavailable, due to optimizations>,
namer=0x10d94c530 <imap_hcache_namer>) at hcache.c:1196
#8 0x000000010d94c4a0 in imap_hcache_open (idata=<value temporarily
unavailable, due to optimizations>, path=<value temporarily unavailable,
due to optimizations>) at util.c:103
#9 0x000000010d948a82 in imap_read_headers (idata=0x7fefd3416300,
msgbegin=499, msgend=499) at message.c:123
#10 0x000000010d943cae in imap_cmd_finish (idata=0x7fefd3416300) at
command.c:290
#11 0x000000010d943b1c in imap_cmd_step (idata=0x7fefd3416300) at
command.c:179
#12 0x000000010d94a598 in imap_append_message (ctx=<value temporarily
unavailable, due to optimizations>, msg=<value temporarily unavailable,
due to optimizations>) at message.c:707
#13 0x000000010d8f660f in mx_commit_message (msg=<value temporarily
unavailable, due to optimizations>, ctx=<value temporarily unavailable,
due to optimizations>) at mx.c:1520
#14 0x000000010d8c8cbf in _mutt_append_message (dest=0x7fefd4e16270,
fpin=<value temporarily unavailable, due to optimizations>, src=<value
temporarily unavailable, due to optimizations>, hdr=0x7fefd4e13960,
body=0x7fefd4e13b50, flags=0, chflags=1379171648) at copy.c:727
#15 0x000000010d8c8d5a in mutt_append_message (dest=0x7fefd4e16270,
src=<value temporarily unavailable, due to optimizations>,
hdr=0x7fefd4e13960, cmflags=0, chflags=1024) at copy.c:743
#16 0x000000010d8c2939 in _mutt_save_message (h=0x7fefd4e13960,
ctx=0x7fefd4e16270, delete=1, decode=<value temporarily unavailable, due
to optimizations>, decrypt=<value temporarily unavailable, due to
optimizations>) at commands.c:714
#17 0x000000010d9471d8 in imap_sync_mailbox (ctx=0x7fefd4cdc880,
expunge=1, index_hint=0x2) at imap.c:1229
#18 0x000000010d8f5e0a in mx_sync_mailbox (ctx=<value temporarily
unavailable, due to optimizations>, index_hint=<value temporarily
unavailable, due to optimizations>) at mx.c:1212
#19 0x000000010d8d00cf in mutt_index_menu () at curs_main.c:1119
#20 0x000000010d8ea770 in main (argc=<value temporarily unavailable, due
to optimizations>, argv=<value temporarily unavailable, due to
optimizations>) at main.c:1061
-- System Information
System Version: Darwin jazz 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep
1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64
-- Mutt Version Information
Mutt 1.5.24 (2015-08-30)
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.5.0 (x86_64)
ncurses: ncurses 5.7.20081102 (compiled with 5.7)
libiconv: 1.11
hcache backend: tokyocabinet 1.4.48
Compiler:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
Configure options: '--enable-hcache' '--enable-imap' '--with-ssl'
'--enable-smtp' '--with-sasl=/usr/local' '--with-included-gettext'
'--enable-debug'
Compilation CFLAGS: -Wall -pedantic -Wno-long-long -g -O2
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
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <[email protected]>.
To report a bug, please visit http://bugs.mutt.org/.
vvv.quote
}}}
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3813>
Mutt <http://www.mutt.org/>
The Mutt mail user agent