cd "/media/Environ/Compile/rocksndiamonds-4.1.4.0" && /usr/bin/gdb -- "/media/Environ/Compile/rocksndiamonds-4.1.4.0/rocksndiamonds" GNU gdb (Debian 8.2.1-2+b3) 8.2.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /media/Environ/Compile/rocksndiamonds-4.1.4.0/rocksndiamonds...done. (gdb) r Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.0/rocksndiamonds [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe3984700 (LWP 27668)] [New Thread 0x7fffe3943700 (LWP 27669)] [New Thread 0x7fffe1a9f700 (LWP 27670)] rocksndiamonds: frame delay == 0 ms (maximum speed) rocksndiamonds: frame delay == 29 ms (max. 34 fps / 68 %) rocksndiamonds: frame delay == 0 ms (maximum speed) rocksndiamonds: frame delay == 15 ms (max. 66 fps / 133 %) rocksndiamonds: frame delay == 40 ms (max. 25 fps / 50 %) rocksndiamonds: frame delay == 20 ms (max. 50 fps / 100 %) rocksndiamonds: frame delay == 0 ms (maximum speed) [Thread 0x7fffe3943700 (LWP 27669) exited] [Thread 0x7fffe3984700 (LWP 27668) exited] [Thread 0x7fffe1a9f700 (LWP 27670) exited] [Inferior 1 (process 27661) exited normally] (gdb) r Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.0/rocksndiamonds [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe3984700 (LWP 2787)] [New Thread 0x7fffe3943700 (LWP 2788)] [New Thread 0x7fffe1a9f700 (LWP 2789)] rocksndiamonds: frame delay == 0 ms (maximum speed) rocksndiamonds: frame delay == 10 ms (max. 100 fps / 200 %) rocksndiamonds: frame delay == 15 ms (max. 66 fps / 133 %) rocksndiamonds: frame delay == 20 ms (max. 50 fps / 100 %) free(): double free detected in tcache 2 Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007ffff78a2535 in __GI_abort () at abort.c:79 #2 0x00007ffff78f9508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0428d "%s\n") at ../sysdeps/posix/libc_fatal.c:181 #3 0x00007ffff78ffc1a in malloc_printerr (str=str@entry=0x7ffff7a05f58 "free(): double free detected in tcache 2") at malloc.c:5341 #4 0x00007ffff79016fd in _int_free (av=0x7ffff7a3bc40 , p=0x55555f8069a0, have_lock=) at malloc.c:4193 #5 0x0000555555713b23 in checked_free (ptr=0x55555f8069b0) at misc.c:1275 #6 0x0000555555712b20 in setString (old_value=0x55555860c330 , new_value=0x55555c778080 "rnd_paul_e_collins_iii") at misc.c:844 #7 0x00005555556eca3e in TapeErase () at tape.c:530 #8 0x000055555568771f in GameEnd () at game.c:4775 #9 0x000055555568761d in GameWon () at game.c:4722 #10 0x00005555556a7dbd in GameActionsExt () at game.c:11371 #11 0x00005555556a8485 in GameActions () at game.c:11625 #12 0x000055555567c8b9 in HandleGameActions () at screens.c:8369 #13 0x0000555555646d83 in EventLoop () at events.c:359 #14 0x000055555563a1ca in main (argc=1, argv=0x7fffffffdb48) at main.c:7762 (gdb) k Kill the program being debugged? (y or n) y [Inferior 1 (process 2783) killed] (gdb) r Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.0/rocksndiamonds [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe3984700 (LWP 7996)] [New Thread 0x7fffe3943700 (LWP 7997)] [New Thread 0x7fffe1a9f700 (LWP 7998)] rocksndiamonds: frame delay == 0 ms (maximum speed) rocksndiamonds: frame delay == 30 ms (max. 33 fps / 66 %) free(): invalid pointer Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007ffff78a2535 in __GI_abort () at abort.c:79 #2 0x00007ffff78f9508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0428d "%s\n") at ../sysdeps/posix/libc_fatal.c:181 #3 0x00007ffff78ffc1a in malloc_printerr (str=str@entry=0x7ffff7a0243b "free(): invalid pointer") at malloc.c:5341 #4 0x00007ffff790142c in _int_free (av=, p=, have_lock=) at malloc.c:4165 #5 0x0000555555713b23 in checked_free (ptr=0x55555c131800) at misc.c:1275 #6 0x0000555555712b20 in setString (old_value=0x55555860c330 , new_value=0x55555c777c40 "rnd_paul_e_collins_iii") at misc.c:844 #7 0x00005555556eca3e in TapeErase () at tape.c:530 #8 0x00005555556ecbfa in TapeStartRecording (random_seed=1581928971) at tape.c:584 #9 0x00005555556a7c7b in StartGameActions (init_network_game=0, record_tape=1, random_seed=0) at game.c:11322 #10 0x00005555556648c0 in HandleMainMenu (mx=0, my=0, dx=0, dy=0, button=0) at screens.c:2134 #11 0x000055555564a6a5 in HandleKey (key=13, key_status=1) at events.c:2304 #12 0x0000555555648c63 in HandleKeyEvent (event=0x7fffffffd9f0) at events.c:1462 #13 0x0000555555646b84 in HandleEvents () at events.c:249 #14 0x0000555555646d67 in EventLoop () at events.c:348 #15 0x000055555563a1ca in main (argc=1, argv=0x7fffffffdb48) at main.c:7762 (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) yp Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.0/rocksndiamonds [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe3984700 (LWP 11187)] [New Thread 0x7fffe3943700 (LWP 11188)] [New Thread 0x7fffe1a9f700 (LWP 11189)] free(): double free detected in tcache 2 Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007ffff78a2535 in __GI_abort () at abort.c:79 #2 0x00007ffff78f9508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0428d "%s\n") at ../sysdeps/posix/libc_fatal.c:181 #3 0x00007ffff78ffc1a in malloc_printerr (str=str@entry=0x7ffff7a05f58 "free(): double free detected in tcache 2") at malloc.c:5341 #4 0x00007ffff79016fd in _int_free (av=0x7ffff7a3bc40 , p=0x55555f806f90, have_lock=) at malloc.c:4193 #5 0x0000555555713b23 in checked_free (ptr=0x55555f806fa0) at misc.c:1275 #6 0x0000555555712b20 in setString (old_value=0x55555860c330 , new_value=0x55555c7790a0 "rnd_paul_e_collins_iii") at misc.c:844 #7 0x00005555556eca3e in TapeErase () at tape.c:530 #8 0x00005555556ecbfa in TapeStartRecording (random_seed=1580962322) at tape.c:584 #9 0x00005555556a7c7b in StartGameActions (init_network_game=0, record_tape=1, random_seed=0) at game.c:11322 #10 0x00005555556648c0 in HandleMainMenu (mx=0, my=0, dx=0, dy=0, button=0) at screens.c:2134 #11 0x000055555564a6a5 in HandleKey (key=13, key_status=1) at events.c:2304 #12 0x0000555555648c63 in HandleKeyEvent (event=0x7fffffffd9f0) at events.c:1462 #13 0x0000555555646b84 in HandleEvents () at events.c:249 #14 0x0000555555646d67 in EventLoop () at events.c:348 #15 0x000055555563a1ca in main (argc=1, argv=0x7fffffffdb48) at main.c:7762 (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.0/rocksndiamonds [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe3984700 (LWP 11402)] [New Thread 0x7fffe3943700 (LWP 11403)] [New Thread 0x7fffe1a9f700 (LWP 11404)] rocksndiamonds: warning: getKeyFromKeyName(): not completely implemented rocksndiamonds: frame delay == 60 ms (max. 16 fps / 33 %) free(): invalid pointer Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007ffff78a2535 in __GI_abort () at abort.c:79 #2 0x00007ffff78f9508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0428d "%s\n") at ../sysdeps/posix/libc_fatal.c:181 #3 0x00007ffff78ffc1a in malloc_printerr (str=str@entry=0x7ffff7a0243b "free(): invalid pointer") at malloc.c:5341 #4 0x00007ffff790142c in _int_free (av=, p=, have_lock=) at malloc.c:4165 #5 0x0000555555713b23 in checked_free (ptr=0x55555b8a8f70) at misc.c:1275 #6 0x0000555555712b20 in setString (old_value=0x55555860c330 , new_value=0x55555c7797a0 "rnd_paul_e_collins_iii") at misc.c:844 #7 0x00005555556eca3e in TapeErase () at tape.c:530 #8 0x00005555556ecbfa in TapeStartRecording (random_seed=1581494895) at tape.c:584 #9 0x00005555556a7c7b in StartGameActions (init_network_game=0, record_tape=1, random_seed=0) at game.c:11322 #10 0x00005555556648c0 in HandleMainMenu (mx=0, my=0, dx=0, dy=0, button=0) at screens.c:2134 #11 0x000055555564a6a5 in HandleKey (key=13, key_status=1) at events.c:2304 #12 0x0000555555648c63 in HandleKeyEvent (event=0x7fffffffd9f0) at events.c:1462 #13 0x0000555555646b84 in HandleEvents () at events.c:249 #14 0x0000555555646d67 in EventLoop () at events.c:348 #15 0x000055555563a1ca in main (argc=1, argv=0x7fffffffdb48) at main.c:7762 (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.0/rocksndiamonds [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe3984700 (LWP 13412)] [New Thread 0x7fffe3943700 (LWP 13413)] [New Thread 0x7fffe1a9f700 (LWP 13417)] rocksndiamonds: frame delay == 40 ms (max. 25 fps / 50 %) rocksndiamonds: warning: getKeyFromKeyName(): not completely implemented free(): double free detected in tcache 2 Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007ffff78a2535 in __GI_abort () at abort.c:79 #2 0x00007ffff78f9508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0428d "%s\n") at ../sysdeps/posix/libc_fatal.c:181 #3 0x00007ffff78ffc1a in malloc_printerr (str=str@entry=0x7ffff7a05f58 "free(): double free detected in tcache 2") at malloc.c:5341 #4 0x00007ffff79016fd in _int_free (av=0x7ffff7a3bc40 , p=0x55555fd191b0, have_lock=) at malloc.c:4193 #5 0x0000555555713b23 in checked_free (ptr=0x55555fd191c0) at misc.c:1275 #6 0x0000555555712b20 in setString (old_value=0x55555860c330 , new_value=0x55555c778910 "rnd_paul_e_collins_iii") at misc.c:844 #7 0x00005555556eca3e in TapeErase () at tape.c:530 #8 0x00005555556ecbfa in TapeStartRecording (random_seed=1581243412) at tape.c:584 #9 0x00005555556a7c7b in StartGameActions (init_network_game=0, record_tape=1, random_seed=0) at game.c:11322 #10 0x00005555556648c0 in HandleMainMenu (mx=0, my=0, dx=0, dy=0, button=0) at screens.c:2134 #11 0x000055555564a6a5 in HandleKey (key=13, key_status=1) at events.c:2304 #12 0x0000555555648c63 in HandleKeyEvent (event=0x7fffffffd9f0) at events.c:1462 #13 0x0000555555646b84 in HandleEvents () at events.c:249 #14 0x0000555555646d67 in EventLoop () at events.c:348 #15 0x000055555563a1ca in main (argc=1, argv=0x7fffffffdb48) at main.c:7762 (gdb) y Undefined command: "y". Try "help". (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.0/rocksndiamonds [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe3984700 (LWP 13877)] [New Thread 0x7fffe3943700 (LWP 13878)] [New Thread 0x7fffe1a9f700 (LWP 13881)] rocksndiamonds: frame delay == 60 ms (max. 16 fps / 33 %) rocksndiamonds: frame delay == 60 ms (max. 16 fps / 33 %) rocksndiamonds: frame delay == 60 ms (max. 16 fps / 33 %) rocksndiamonds: frame delay == 60 ms (max. 16 fps / 33 %) rocksndiamonds: frame delay == 60 ms (max. 16 fps / 33 %) rocksndiamonds: frame delay == 15 ms (max. 66 fps / 133 %) [Thread 0x7fffe3943700 (LWP 13878) exited] [Thread 0x7fffe3984700 (LWP 13877) exited] [Thread 0x7fffe1a9f700 (LWP 13881) exited] [Inferior 1 (process 13874) exited normally] (gdb) r Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.0/rocksndiamonds [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe3984700 (LWP 16193)] [New Thread 0x7fffe3943700 (LWP 16194)] [New Thread 0x7fffe1a9f700 (LWP 16195)] rocksndiamonds: frame delay == 0 ms (maximum speed) rocksndiamonds: frame delay == 40 ms (max. 25 fps / 50 %) rocksndiamonds: frame delay == 0 ms (maximum speed) rocksndiamonds: frame delay == 0 ms (maximum speed) Thread 1 "rocksndiamonds" received signal SIGSEGV, Segmentation fault. 0x00005555556fefdb in FreeGadget (gi=0x55555fec4600) at gadgets.c:1439 1439 while (gi_previous != NULL && gi_previous->next != gi) (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.0/rocksndiamonds [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe3984700 (LWP 17929)] [New Thread 0x7fffe3943700 (LWP 17930)] [New Thread 0x7fffe1a9f700 (LWP 17931)] rocksndiamonds: frame delay == 60 ms (max. 16 fps / 33 %) rocksndiamonds: frame delay == 0 ms (maximum speed) free(): invalid pointer Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.0/rocksndiamonds [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe3984700 (LWP 20014)] [New Thread 0x7fffe3943700 (LWP 20015)] [New Thread 0x7fffe1a9f700 (LWP 20018)] corrupted double-linked list Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007ffff78a2535 in __GI_abort () at abort.c:79 #2 0x00007ffff78f9508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0428d "%s\n") at ../sysdeps/posix/libc_fatal.c:181 #3 0x00007ffff78ffc1a in malloc_printerr (str=str@entry=0x7ffff7a02393 "corrupted double-linked list") at malloc.c:5341 #4 0x00007ffff7903231 in _int_malloc (av=av@entry=0x7ffff7a3bc40 , bytes=bytes@entry=8) at malloc.c:3931 #5 0x00007ffff79051a2 in __libc_calloc (n=, elem_size=) at malloc.c:3428 #6 0x00007fffe1ff9900 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #7 0x00007fffe1ffa28c in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #8 0x00007fffe1fc5129 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #9 0x00007fffe2003b4e in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #10 0x00007fffe2116d94 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #11 0x00007fffe2119760 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #12 0x00007fffe211cc08 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #13 0x00007ffff7e31812 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 #14 0x00007ffff7e2bfa3 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 #15 0x000055555571871b in UpdateScreenExt (rect=0x7fffffffd920, with_frame_delay=1) at sdl.c:132 #16 0x00005555557188d8 in UpdateScreen_WithFrameDelay (rect=0x7fffffffd920) at sdl.c:236 #17 0x0000555555719a70 in SDLCopyArea (src_bitmap=0x555559a300d0, dst_bitmap=0x555559a2d590, src_x=0, src_y=0, width=1920, height=1080, dst_x=0, dst_y=0, mask_mode=0) at sdl.c:912 #18 0x00005555556f67d1 in sysCopyArea (src_bitmap=0x555559a300d0, dst_bitmap=0x555559a2d590, src_x=0, src_y=0, width=1920, height=1080, dst_x=0, dst_y=0, mask_mode=0) at system.c:525 #19 0x00005555556f74a7 in BlitBitmap (src_bitmap=0x555559a300d0, dst_bitmap=0x555559a2d590, src_x=0, src_y=0, width=1920, height=1080, dst_x=0, dst_y=0) at system.c:868 #20 0x000055555564cb48 in BackToFront () at tools.c:840 #21 0x0000555555646d88 in EventLoop () at events.c:362 #22 0x000055555563a1ca in main (argc=1, argv=0x7fffffffdb48) at main.c:7762 (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.0/rocksndiamonds [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe3984700 (LWP 21612)] [New Thread 0x7fffe3943700 (LWP 21613)] [New Thread 0x7fffe1aa0700 (LWP 21614)] rocksndiamonds: debug mode enabled rocksndiamonds: debug mode disabled rocksndiamonds: frame delay == 20 ms (max. 50 fps / 100 %) rocksndiamonds: frame delay == 29 ms (max. 34 fps / 68 %) [Thread 0x7fffe3943700 (LWP 21613) exited] [Thread 0x7fffe3984700 (LWP 21612) exited] [Thread 0x7fffe1aa0700 (LWP 21614) exited] [Inferior 1 (process 21608) exited normally] (gdb) q