This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: New version of w3m 0.5.2 Crashes - GDB help needed
- From: Bob Heckel <bheckel at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 5 Jan 2011 18:24:23 -0500
- Subject: Re: New version of w3m 0.5.2 Crashes - GDB help needed
- References: <461v5l46ht.fsf@aol.com> <AANLkTimCHO=nJhnSuZDwkkRAH24Fq6vDZbJCothHX1zD@mail.gmail.com> <81wrnaad66.fsf@aol.com> <AANLkTintjW8ckzp54shjmc+yQ7y-5Ev6Ap4q_qb8Xgg6@mail.gmail.com> <AANLkTikPoADsgJ2w2PAUdF1Wv5G+gUgRAs6yutTrXf7F@mail.gmail.com> <46wrn4vv0i.fsf@aol.com> <4662u3aw5m.fsf_-_@aol.com> <20110105212218.GA21238@ednor.casa.cgf.cx>
On Wed, Jan 5, 2011 at 16:22, Christopher Faylor wrote:
> On Wed, Jan 05, 2011 at 04:16:37PM -0500, nyc4bosaol.com wrote:
>>nyc4bosaol.com writes:
>>
>>Bob created a debug version of w3m for me.
>>
>>Here's what I see:
>>
>>The crash occurs when doin a `strncmp' in cygwin1.dll:
>>
>> Â Â Â4 [main] w3m 3024 exception::handle: Exception: STATUS_ACCESS_VIOLATION
>> Â 1564 [main] w3m 3024 open_stackdumpfile: Dumping stack trace to w3m.exe.stack
>>dump
>>
>>Program received signal SIGSEGV, Segmentation fault.
>>0x6110daf5 in strncmp () from /usr/bin/cygwin1.dll
>>(gdb) bt full
>>#0 Â0x6110daf5 in strncmp () from /usr/bin/cygwin1.dll
>>No symbol table info available.
>>#1 Â0x7c85ada0 in OutputDebugStringA ()
>> Â from /cygdrive/c/WINDOWS/system32/kernel32.dll
>>No symbol table info available.
>>#2 Â0x40010006 in ?? ()
>>No symbol table info available.
>>#3 Â0x00000000 in ?? ()
>>No symbol table info available.
>>(gdb)
>
> Looks to me like you need a debugging version of w3m with symbols.
> You need to find out what's being passed to strncmp, possibly by setting a
> breakpoint at 0x40110006.
If I did it right, this one includes the symbols:
http://bheckel.sdf.org/cygwin/w3m/tmp/w3mdebug.tar.bz2
Bob
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple