View Single Post
Posts: 235 | Thanked: 339 times | Joined on Nov 2010
#110
Originally Posted by thomasjfox View Post
Hmm, could you please check this line for me:
/home/jstokes/rockbox-2011-01/firmware/target/hosted/sdl/button-sdl.c:278

In my source code version, it's an empty line??
That was me replacing "printf("SDL_WaitEvent() error\n")" with abort(). A core dump is more useful to me rather than seeing "SDL_WaitEvent() error" a million and one times...

Anway, it seems to be a NULL pointer access. It might help to -start- the program in gdb and make it crash, maybe it outputs more information than with the first backtrace.
Unfortunately, that doesn't appear to be possible:
~ $ gdb /opt/rockbox/bin/rockbox
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabi"...
(gdb) run
Starting program: /opt/rockbox/bin/rockbox
[New LWP 1912]
[New LWP 1908]

Program received signal SIGSEGV, Segmentation fault.
0x425d15d4 in SDL_Flip () from /usr/lib/libSDL-1.2.so.0