Hi,

I've tried to create a backtrace for further investigation. This was done by 
setting a breakpoint at function client_set_pause() where the bug must occur. 
Then I've started the game an tried to reproduce the bug (the unwanted pause).

After I've got into the bug I must kill the lbreakout2 process through tty. 
Otherwise I've got a freezing display.

The created backtrace is attached.


Kind regards,
bitfreak25
GNU gdb (Debian 8.2-1) 8.2
Copyright (C) 2018 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 "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from lbreakout2...Reading symbols from 
/usr/lib/debug/.build-id/da/ba5499ea59ec74b5eaf7ee7da4a82f7069d508.debug...done.
done.
(gdb) break game.c:529
Breakpoint 1 at 0x1c410: file game.c, line 530.
(gdb) run
Starting program: /usr/games/lbreakout2 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7f1a98f2d700 (LWP 1762)]
[New Thread 0x7f1a944a8700 (LWP 1763)]
[Thread 0x7f1a944a8700 (LWP 1763) exited]
[New Thread 0x7f1a944a8700 (LWP 1764)]
Keine Schreibberechtigung fuer "/var/games/lbreakout2.hscr".
Kann Bestenliste unter "/var/games" nicht oeffnen!
Versuche Einstellungsverzeichnis "/home/user/.lgames" zu verwenden.

Thread 1 "lbreakout2" hit Breakpoint 1, client_set_pause (pause=1)
    at game.c:531
531     game.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  client_set_pause (pause=1) at game.c:531
#1  0x000056091057dd6a in handle_default_key (abort=<optimized out>, 
    key=<optimized out>) at game.c:628
#2  client_game_run () at game.c:1161
Backtrace stopped: Cannot access memory at address 0x7ffd162af6b8
(gdb) bt full
#0  client_set_pause (pause=1) at game.c:531
No locals.
#1  0x000056091057dd6a in handle_default_key (abort=<optimized out>, 
key=<optimized out>) at game.c:628
        buffer = <optimized out>
        buffer = <optimized out>
#2  client_game_run () at game.c:1161
        ms = 1
        frame_delay = 1
        button_clicked = 0
        key_pressed = <optimized out>
        event = <error reading variable event (Cannot access memory at address 
0x7ffd162af660)>
        abort = 0
        i = <optimized out>
        j = <optimized out>
        penalty = <optimized out>
        frames = 24822
        frame_time = <optimized out>
Backtrace stopped: Cannot access memory at address 0x7ffd162af6b8

Reply via email to