[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-dev
Subject:    bug#939: the IMAP-related (?) threading crashes: continued analysis
From:       Dave Smith <Dave.Smith () st ! com>
Date:       2002-01-31 12:26:46
[Download RAW message or body]

Bingo!

Just had a crash with -d 2 enabled.  Backtrace below.  I'll attach the debug
log to another message, and send it to you (Daniel) and 939-quiet.  It's
70k bzip2ed.

I'll now try running with strict_threads, and see what happens.

#0  0x688d0 in find_subject (ctx=0xc6428, cur=0x3d3aa0)
    at thread.c:374
374           if (tmp != cur &&                    /* don't match the same message */
(gdb) backtrace
#0  0x688d0 in find_subject (ctx=0xc6428, cur=0x3d3aa0)
    at thread.c:374
#1  0x68ad0 in pseudo_threads (ctx=0xc6428) at thread.c:445
#2  0x69cbc in mutt_sort_threads (ctx=0xc6428, init=1)
    at thread.c:1041
#3  0x670a8 in mutt_sort_headers (ctx=0xc6428, init=1) at sort.c:234
#4  0x2a7b4 in update_index (menu=0xe9140, ctx=0xc6428, check=1,
    oldcount=2768, index_hint=2766) at curs_main.c:314
#5  0x2acf4 in mutt_index_menu () at curs_main.c:483
#6  0x404e8 in main (argc=3, argv=0xffbeec34) at main.c:841
(gdb) print *ctx
$1 = {path = 0xc2fc8 "imap://umhost/inbox", fp = 0x0, mtime = 0,
  mtime_cur = 0, size = 0, vsize = 66376303, pattern = 0x0,
  limit_pattern = 0x0, hdrs = 0x3ff3e8, tree = 0x3dae58,
  id_hash = 0x0, subj_hash = 0x3a4be0, thread_hash = 0xc26b0,
  v2r = 0x4022e0, hdrmax = 3003, msgcount = 2770, vcount = 2770,
  tagged = 0, new = 3, unread = 22, deleted = 0, flagged = 0,
  msgnotreadyet = -1, data = 0xc7658, magic = 6, locked = 0,
  changed = 1, readonly = 0, dontwrite = 0, append = 0, quiet = 0,
  collapsed = 0, closing = 0}
(gdb) print *cur
$2 = {fake_thread = 0, duplicate_thread = 0, sort_children = 0,
  check_subject = 0, parent = 0x0, child = 0x3caab0, next = 0x3ae810,
  prev = 0x3db8f0, message = 0x0, sort_key = 0x0}
(gdb) print (char *) subjects->data
$3 = 0x385cd4 "<deleted - confidential, but sensible subject string>"
(gdb) print *((HEADER *)ptr->data)
$4 = {pgp = 0, mime = 0, flagged = 0, tagged = 0, deleted = 0,
  changed = 0, attach_del = 0, old = 0, read = 0, expired = 0,
  superseded = 0, replied = 0, subject_changed = 0, threaded = 0,
  display_subject = 0, recip_valid = 0, active = 0, trash = 0,
  zhours = 0, zminutes = 0, zoccident = 0, searched = 0, matched = 0,
  collapsed = 0, limited = 0, num_hidden = 0, recipient = 0,
  pair = 0, date_sent = 1012476585, received = 1012476652,
  offset = 0, lines = 19, index = -1, msgno = 2989, virtual = 2989,
  score = 0, env = 0x0, content = 0x0, path = 0x0, tree = 0x0,
  thread = 0x3d3eb0, data = 0x0}
(gdb) print *tmp
$5 = {fake_thread = 0, duplicate_thread = 0, sort_children = 0,
  check_subject = 0, parent = 0x3c6d40, child = 0x3bf870, next = 0x0,
  prev = 0x0, message = 0x0, sort_key = 0x0}

-- 
David Smith                   Tel: +44 (0)1454 462380 (direct)
STMicroelectronics            Fax: +44 (0)1454 617910
1000 Aztec West    TINA (ST only): (065) 2380
Almondsbury                  Home: 01454 616963
BRISTOL                    Mobile: 07932 642724
BS32 4SQ               Work Email: Dave.Smith@st.com
		       Home Email: David.Smith@ds-electronics.co.uk

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic