mutt crash and backtrace
Hey people,
Here's a dump from when it often crashes in sync of the mailbox. This is
when using imap with mutt 1.5.8.
#0 0x000000000045a38a in mutt_sort_threads (ctx=0x848310, init=1)
at thread.c:432
432 if (tmp != cur && /* don't match the same
message */
(gdb) bt
#0 0x000000000045a38a in mutt_sort_threads (ctx=0x848310, init=1) at
thread.c:432
#1 0x0000000000457699 in mutt_sort_headers (ctx=0x848310, init=1) at sort.c:291
#2 0x0000000000472cc7 in imap_cmd_finish (idata=0x60c300) at command.c:271
#3 0x000000000047319f in imap_cmd_step (idata=0x60c300) at command.c:157
#4 0x00000000004734f8 in imap_exec (idata=0x60c300, cmd=0x48b040 "EXPUNGE",
flags=0) at command.c:210
#5 0x0000000000474217 in imap_sync_mailbox (ctx=0x848310, expunge=1,
index_hint=<value optimized out>) at imap.c:1069
#6 0x00000000004392a1 in mx_sync_mailbox (ctx=0x848310,
index_hint=0x7fffffffd8fc) at mx.c:1212
#7 0x000000000041ad2b in mutt_index_menu () at curs_main.c:1012
#8 0x0000000000430fd1 in main (argc=1, argv=0x7fffffffe968) at main.c:940
#9 0x00002aaaab3f900d in __libc_start_main () from /lib64/tls/libc.so.6
#10 0x00000000004061fa in _start () at start.S:113
Code:
(gdb) l
427 hash = hash_string ((unsigned char *) subjects->data,
428 ctx->subj_hash->nelem);
429 for (ptr = ctx->subj_hash->table[hash]; ptr; ptr = ptr->next)
430 {
431 tmp = ((HEADER *) ptr->data)->thread;
432 if (tmp != cur && /* don't match the same
message */
433 !tmp->fake_thread && /* don't match pseudo
threads */
434 tmp->message->subject_changed && /* only match interesting
replies */
435 !is_descendant (tmp, cur) && /* don't match in the same
thread */
436 (date >= (option (OPTTHREADRECEIVED) ?
--
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.