<<< Date Index >>>     <<< Thread Index >>>

Segfault in 1.5.5.1i



Hi everyone,

I just got this with 1.5.5.1i when mutt was rereading a mail folder that had
been empty and then received new mail. I'm not sure whether I should report
this on users or dev, but I hope you'll find it useful.

GNU gdb 4.16.1
Copyright 1996 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.
Core was generated by `mutt'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.so...done.
Reading symbols from /usr/lib/libcurses.so.8.0...done.
Reading symbols from /usr/lib/libc.so.28.0...done.
#0  0x54789 in mutt_sort_subthreads (thread=0x0, init=0) at thread.c:597
thread.c:597: No such file or directory.
(gdb) bt
#0  0x54789 in mutt_sort_subthreads (thread=0x0, init=0) at thread.c:597
#1  0x54f01 in mutt_sort_threads (ctx=0x87d00, init=0) at thread.c:950
#2  0x52ded in mutt_sort_headers (ctx=0x87d00, init=0) at sort.c:234
#3  0x13b43 in update_index (menu=0xa2700, ctx=0x87d00, check=1, oldcount=0, 
    index_hint=0) at curs_main.c:313
#4  0x143ab in mutt_index_menu () at curs_main.c:488
#5  0x2e115 in main (argc=1, argv=0xdfbfd4b0) at main.c:907
(gdb) frame 0
#0  0x54789 in mutt_sort_subthreads (thread=0x0, init=0) at thread.c:597
thread.c:597: No such file or directory.
(gdb) info local
array = (THREAD **) 0x8ac00
sort_key = (THREAD *) 0x0
top = (THREAD *) 0x0
oldsort_key = (HEADER *) 0xa2000
i = 663552
array_size = 256
sort_top = 0
(gdb) frame 1
#1  0x54f01 in mutt_sort_threads (ctx=0x87d00, init=0) at thread.c:950
thread.c:950: No such file or directory.
(gdb) info local
cur = (HEADER *) 0xa2000
i = 1
oldsort = 6
using_refs = 553472
thread = (THREAD *) 0x0
new = (THREAD *) 0xa0200
tmp = (THREAD *) 0xa2000
top = {fake_thread = 0, duplicate_thread = 0, sort_children = 0, 
  check_subject = 1, visible = 1, deep = 1, subtree_visible = 0, 
  next_subtree_visible = 0, parent = 0x0, child = 0x0, next = 0x0, prev = 0x0, 
  message = 0x52c80, sort_key = 0x52c80}
ref = (LIST *) 0x0
(gdb) frame 2
#2  0x52ded in mutt_sort_headers (ctx=0x87d00, init=0) at sort.c:234
sort.c:234: No such file or directory.
(gdb) info local
ctx = (CONTEXT *) 0x87d00
init = 0
i = 556288
h = (HEADER *) 0x0
thread = (THREAD *) 0x0
top = (THREAD *) 0x87d00
sortfunc = (sort_t *) 0x87d00
(gdb) frame 3
#3  0x13b43 in update_index (menu=0xa2700, ctx=0x87d00, check=1, oldcount=0, 
    index_hint=0) at curs_main.c:313
curs_main.c:313: No such file or directory.
(gdb) info local
index_hint = 0
save_new = (HEADER **) 0x0
j = 0
(gdb) frame 4
#4  0x143ab in mutt_index_menu () at curs_main.c:488
curs_main.c:488: No such file or directory.
(gdb) info local
check = 1
buf = "---Mutt: =spam [Msgs:0]---(threads/date)", '-' <repeats 32 times>, 
"(all)---", '\000' <repeats 943 times>
helpstr = "q:Quit  d:Del  u:Undel  s:Save  m:Mail  r:Reply  g:Group  
?:Help\000p\f@,ó\f@\022\000\000\000`p\f@ðÈ¿ß\"\235\n@`p\f@\000É¿ß", '\000' 
<repeats 16 times>, "\2009\b\000\000\000\000\001ØÈ¿ß\000\000\000"
op = 116
done = 0
i = 0
j = 0
tag = 0
newcount = 0
oldcount = 0
rc = 0
menu = (MUTTMENU *) 0xa2700
cp = 0x0
index_hint = 0
do_buffy_notify = 1
close = 0
attach_msg = 0
(gdb) frame 5
#5  0x2e115 in main (argc=1, argv=0xdfbfd4b0) at main.c:907
main.c:907: No such file or directory.
(gdb) info local
folder = "/var/mail/schnee", '\000' <repeats 238 times>
subject = 0x0
includeFile = 0x0
draftFile = 0x0
newMagic = 0x0
msg = (HEADER *) 0x0
attach = (LIST *) 0x0
commands = (LIST *) 0x0
queries = (LIST *) 0x0
alias_queries = (LIST *) 0x0
sendflags = 0
flags = 0
version = 0
i = -541076628
explicit_folder = 0
(gdb) quit


-- 
 5:23AM  up 15 days,  8:23, 2 users, load averages: 0.23, 0.30, 0.25

Every non-empty totally disconnected perfect compact metric space is
homeomorphic to the Cantor set.