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

List:       mutt-dev
Subject:    [core dump] Mutt + CygWin
From:       Marius Gedminas <mgedmin () pub ! osf ! lt>
Date:       2000-02-29 21:21:21
[Download RAW message or body]

I have build Mutt 1.1.4 with CygWin B20.1 (using ncurses 5.0).  However
the pager acts funny: when scrolling down past the end of the message
sometimes I see a little garbage and then the contents of another message
(probably the next one -- with full headers), and sometimes Mutt gets a
SIGSEGV.  CygWin produces a `core' file that is pretty useless (IMHO),
but I'm attaching it anyway, just for sake of completness.

Now gdb isn't fun under CygWin (it messes stty settings 9 times out of
10), but somehow I managed to get a stack trace.  *attach*
(Offtopic: what is the canonical ASCII representation of the sound of
attaching a file? ;-)

The crash occurs in resolve_color (pager.c line 222).  I've tried
removing all `color' directives from .muttrc, just in case.  That didn't
help at all.

Marius Gedminas
-- 
Any sufficiently advanced magic is indistinguishable from technology.

["mutt.exe.core" (text/plain)]

[main] mutt 1010 (0) exception: trapped!
[main] mutt 1010 (0) exception: code 0xC0000005 at 0x431AAD
[main] mutt 1010 (0) exception: ax 0x0 bx 0x0 cx 0xA097120 dx 0x11
[main] mutt 1010 (0) exception: si 0x0 di 0x720 bp 0x255DD88 sp 0x255DD2C
[main] mutt 1010 (0) exception: exception is: STATUS_ACCESS_VIOLATION
[main] mutt 1010 (0) stack: Stack trace:
[main] mutt 1010 (0) stack: frame 0: sp = 0x255DB40, pc = 0x6100A2C3
[main] mutt 1010 (0) stack: frame 1: sp = 0x255DB7C, pc = 0x77F94846
[main] mutt 1010 (0) stack: frame 2: sp = 0x255DBA0, pc = 0x77F89013
[main] mutt 1010 (0) stack: frame 3: sp = 0x255DC2C, pc = 0x77F76392
[main] mutt 1010 (0) stack: frame 4: sp = 0x255DD88, pc = 0x431F39
[main] mutt 1010 (1) stack: frame 5: sp = 0x255E62C, pc = 0x4336AE
[main] mutt 1010 (0) stack: frame 6: sp = 0x255EC5C, pc = 0x4085BE
[main] mutt 1010 (0) stack: frame 7: sp = 0x255F1B0, pc = 0x411BD3
[main] mutt 1010 (0) stack: frame 8: sp = 0x255F7B8, pc = 0x428203
[main] mutt 1010 (0) stack: frame 9: sp = 0x255FF3C, pc = 0x61004402
[main] mutt 1010 (0) stack: frame 10: sp = 0x255FF88, pc = 0x61004420
[main] mutt 1010 (0) stack: frame 11: sp = 0x255FF94, pc = 0x469B9E
[main] mutt 1010 (0) stack: frame 12: sp = 0x255FFA4, pc = 0x40103A
[main] mutt 1010 (0) stack: frame 13: sp = 0x255FFC0, pc = 0x77F1BA3C
[main] mutt 1010 (0) stack: frame 14: sp = 0x255FFF0, pc = 0x0
[main] mutt 1010 (0) stack: End of stack trace

["mutt.gdb.output" (text/plain)]

Program received signal SIGSEGV, Segmentation fault.
0x430e10 in resolve_color (lineInfo=0xa098998, n=148, cnt=0, flags=66,
    special=0, a=0x255dd04) at pager.c:222
222           if (cnt > (lineInfo[m].syntax)[i].last)
(gdb) bt
#0  0x430e10 in resolve_color (lineInfo=0xa098998, n=148, cnt=0, flags=66,
    special=0, a=0x255dd04) at pager.c:222
#1  0x432962 in display_line (f=0xa0311f4, last_pos=0x255e648,
    lineInfo=0x255e64c, n=148, last=0x255e650, max=0x255e654, flags=66,
    QuoteList=0x255e658, q_level=0x255e65c, force_redraw=0x255e660,
    SearchRE=0x255e664) at pager.c:1297
#2  0x4336ae in mutt_pager (banner=0x0,
    fname=0x255ef98 "D:\\TEMP/mutt-GEDAS-2073-1", flags=66, extra=0x255eb78)
    at pager.c:1624
#3  0x4085be in mutt_display_message (cur=0xa04ae20) at commands.c:160
#4  0x411bd3 in mutt_index_menu () at curs_main.c:972
#5  0x428203 in main (argc=1, argv=0xa031300) at main.c:723
#6  0x61004402 in _size_of_stack_reserve__ ()
#7  0x61004420 in _size_of_stack_reserve__ ()
#8  0x469b9e in cygwin_crt0 (f=0x4275d4 <main>)
    at /home/noer/src/b20/comp-tools/devo/winsup/libccrt0.cc:81


    and another one, for comparison:

#0  0x430e10 in resolve_color (lineInfo=0xa098160, n=25, cnt=0, flags=66,
    special=0, a=0x255dd00) at pager.c:222
#1  0x432962 in display_line (f=0xa0311ec, last_pos=0x255e644,
    lineInfo=0x255e648, n=25, last=0x255e64c, max=0x255e650, flags=66,
    QuoteList=0x255e654, q_level=0x255e658, force_redraw=0x255e65c,
    SearchRE=0x255e660) at pager.c:1297
#2  0x4336ae in mutt_pager (banner=0x0,
    fname=0x255ef94 "D:\\TEMP/mutt-GEDAS-1019-16", flags=66, extra=0x255eb74)
    at pager.c:1624
#3  0x4085be in mutt_display_message (cur=0xa04c5c0) at commands.c:160
#4  0x411bd3 in mutt_index_menu () at curs_main.c:972
#5  0x428203 in main (argc=2, argv=0xa0312f8) at main.c:723
#6  0x61004402 in _size_of_stack_reserve__ ()
#7  0x61004420 in _size_of_stack_reserve__ ()
#8  0x469b9e in cygwin_crt0 (f=0x4275d4 <main>)
    at /home/noer/src/b20/comp-tools/devo/winsup/libccrt0.cc:81


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

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