Random lock-up (10b linux)
Posted: Sun Sep 12, 2010 3:15 pm
Running along on Maze(6), and the game just completely locked up -- no response to mouse/keyboard, no CPU use, no redrawing of a covered-then-exposed corner.
Hmm, I wonder how many nanoseconds it was told to sleep...? No idea how to find out.
That didn't work. The game was still locked up.
Still no result.
Still nothing.
STILL nothing! *sigh* OK, I guess it's time to kill the process and then hope to $DEITY the last savefile isn't corrupt.
Code: Select all
...
0xb77bb422 in __kernel_vsyscall ()
(gdb) bt
#0 0xb77bb422 in __kernel_vsyscall ()
#1 0xb74da036 in nanosleep () from /lib/i686/cmov/libc.so.6
#2 0xb7756748 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
#3 0xb7702e6b in SDL_WaitEvent () from /usr/lib/libSDL-1.2.so.0
#4 0x0804e377 in main (argc=1, argv=0xbfa268d4) at src/main.c:665
Code: Select all
(gdb) up 1
#1 0xb74da036 in nanosleep () from /lib/i686/cmov/libc.so.6
(gdb) args
Undefined command: "args". Try "help".
(gdb) help
...
(gdb) help stack
Examining the stack.
...
(gdb) up
#2 0xb7756748 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
(gdb) bt
#0 0xb77bb422 in __kernel_vsyscall ()
#1 0xb74da036 in nanosleep () from /lib/i686/cmov/libc.so.6
#2 0xb7756748 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
#3 0xb7702e6b in SDL_WaitEvent () from /usr/lib/libSDL-1.2.so.0
#4 0x0804e377 in main (argc=1, argv=0xbfa268d4) at src/main.c:665
(gdb) down
#1 0xb74da036 in nanosleep () from /lib/i686/cmov/libc.so.6
(gdb) return
Make selected stack frame return now? (y or n) y
#0 0xb7756748 in SDL_Delay ()
from /usr/lib/libSDL-1.2.so.0
Code: Select all
(gdb) where
#0 0xb7756748 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
#1 0xb7702e6b in SDL_WaitEvent () from /usr/lib/libSDL-1.2.so.0
#2 0x0804e377 in main (argc=1, argv=0xbfa268d4) at src/main.c:665
(gdb) return
Make selected stack frame return now? (y or n) y
#0 0xb7702e6b in SDL_WaitEvent
() from /usr/lib/libSDL-1.2.so.0
Code: Select all
(gdb) bt
#0 0xb7702e6b in SDL_WaitEvent () from /usr/lib/libSDL-1.2.so.0
#1 0x0804e377 in main (argc=1, argv=0xbfa268d4) at src/main.c:665
(gdb) return
Make selected stack frame return now? (y or n) y
#0 0x0804e377 in main (argc=1,
argv=0xbfa268d4) at src/main.c:665
665 if (!isActive || tickPaused) SDL_WaitEvent(NULL);
Code: Select all
(gdb) n
Single stepping until exit from function __kernel_vsyscall,
which has no line number information.
[Switching to Thread 0xb6e156c0 (LWP 23764)]
668 while (SDL_PollEvent(&event))
(gdb) cont
Continuing.