I've just built & installed Mutt 1.0.1i on my Linux 2.2.9
system (having previously been using an earlier version).
It was Redhat 5.1 originally, but has been heavily upgraded.
I'm using glibc 2.1.3

When I exit mutt, it crashes with a SEGV.

(gdb) bt
#0  0x400b0bfd in _IO_old_file_close_it (fp=0x80b2f98) at oldfileops.c:143
#1  0x400abf17 in freopen () at freopen.c:60
#2  0x8069e00 in mbox_sync_mailbox (ctx=0x80b2f18) at mbox.c:682
#3  0x806ef8b in sync_mailbox (ctx=0x80b2f18) at mx.c:719
#4  0x806f3a4 in mx_close_mailbox (ctx=0x80b2f18) at mx.c:873
#5  0x805854b in mutt_index_menu () at curs_main.c:747
#6  0x8068e11 in main (argc=1, argv=0xbffff964) at main.c:684

or if I run it with a breakpoint:

(gdb) br mbox.c:682
Breakpoint 1 at 0x8069df1: file mbox.c, line 682.
(gdb) run
...
Breakpoint 1, mbox_sync_mailbox (ctx=0x80b2f18) at mbox.c:682
682       if ((ctx->fp = freopen (ctx->path, "r+", ctx->fp)) == NULL)
(gdb) p *ctx
$1 = {path = 0x80b2f78 "/var/spool/mail/robin", fp = 0x80b2f98, 
  mtime = 956683476, mtime_cur = 0, size = 8288601, vsize = 0, pattern = 0x0, 
  limit_pattern = 0x0, hdrs = 0x81550b8, tree = 0x0, id_hash = 0x80b3408, 
  subj_hash = 0x80b35e0, v2r = 0x8155ed0, hdrmax = 900, msgcount = 886, 
  vcount = 886, tagged = 0, new = 0, unread = 17, deleted = 0, flagged = 1, 
  msgnotreadyet = -1, magic = 1, locked = 0, changed = 1, readonly = 0, 
  dontwrite = 0, append = 0, quiet = 0, revsort = 0, collapsed = 0, 
  closing = 1}


Anyway I've no idea why this is happening, & I can't find any reference
to it in the archives, on the web etc. I'd much appreciate any clues
or help.

 .robin.

ps. Should this have gone to the devel list instead? I wasn't sure.

Reply via email to