Rockbox mail archiveSubject: Re: uisimulator segfaults on winnt 4.0
Re: uisimulator segfaults on winnt 4.0
Date: Tue, 24 Jun 2003 23:56:09 +0200 (MEST)
it bangs before main!
I have no clue about debugging, but i was digging the net and found some
infos - so i set another
breakpoint at mainCRTStartup, as this was suggested somewhere.
this is what I get:
$ gdb uisw32.exe
GNU gdb 2003-01-28-cvs (cygwin-special)
Copyright 2003 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
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) break mainCRTStartup
Breakpoint 1 at 0x401006
(gdb) break main
Breakpoint 2 at 0x419ffa: file ../../firmware/drivers/lcd-recorder.c, line
Starting program: /home/rockbox/build/uisw32.exe
Breakpoint 1, 0x00401006 in mainCRTStartup ()
Program received signal SIGSEGV, Segmentation fault.
0x00000024 in ?? ()
#0 0x00000024 in ?? ()
Cannot access memory at address 0x17100fe
So it seems to crash somewhere between mainCRTStartup()? (eeerrrr - what is
that?) and main(). What is executed before main() ?
Whatelse can I do ? I`m happily if I can learn something about debugging....
> On Tue, 24 Jun 2003 for_spam_at_gmx.de wrote:
> > (gdb) run
> > Starting program: /home/rockbox/build/uisw32.exe
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x00000024 in ?? ()
> > (gdb) bt
> > #0 0x00000024 in ?? ()
> > Cannot access memory at address 0x2900ce
> > (gdb)
> This (lack of info) indicates one of the following:
> o it dies very early in an address where we have no debug info
> o this is a stack overflow that ruined the stack trace and gdb is lost
> I'd suggest that you do the slightly more tedious approach instead: set a
> break-point in main and single-step forward until it bangs...
> Daniel Stenberg -- http://rockbox.haxx.se/ -- http://daniel.haxx.se/
-- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!Received on 2003-06-24