Jeean Posted March 14, 2018 Report Share Posted March 14, 2018 jens@jens ~ $ gdb pyrogenesis GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1 Copyright (C) 2016 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 pyrogenesis...(no debugging symbols found)...done. (gdb) run Starting program: /usr/games/pyrogenesis [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe4d06700 (LWP 15966)] TIMER| InitVfs: 1.67984 ms Writing the mainlog at /home/jens/.config/0ad/logs/mainlog.html TIMER| CONFIG_Init: 1.2448 ms [New Thread 0x7fffe4505700 (LWP 15967)] [New Thread 0x7fffe4484700 (LWP 15968)] [New Thread 0x7fffe4403700 (LWP 15969)] [New Thread 0x7fffe4382700 (LWP 15970)] [New Thread 0x7fffe4301700 (LWP 15971)] [New Thread 0x7fffe4280700 (LWP 15972)] [New Thread 0x7fffe41ff700 (LWP 15973)] [New Thread 0x7fffe417e700 (LWP 15974)] [New Thread 0x7fffc6fff700 (LWP 15975)] [Thread 0x7fffc6fff700 (LWP 15975) exited] [New Thread 0x7fffc6fff700 (LWP 15976)] [New Thread 0x7fffc67fe700 (LWP 15977)] Sound: AlcInit success, using OpenAL Soft [New Thread 0x7fffc66fd700 (LWP 15978)] TIMER| shutdown ConfigDB: 0.61 us AL lib: (WW) FreeContext: (0x555555fd8130) Deleting 64 Source(s) [Thread 0x7fffc66fd700 (LWP 15978) exited] [Thread 0x7fffc67fe700 (LWP 15977) exited] [Thread 0x7fffc6fff700 (LWP 15976) exited] TIMER| resource modules: 10.2953 ms TIMER TOTALS (9 clients) ----------------------------------------------------- tc_pool_alloc: 0 c (0x) tc_png_decode: 0 c (0x) tc_dds_transform: 0 c (0x) tc_transform: 0 c (0x) tc_plain_transform: 0 c (0x) tc_ShaderGLSLLink: 0 c (0x) tc_ShaderGLSLCompile: 0 c (0x) tc_ShaderValidation: 0 c (0x) xml_validation: 0 c (0x) ----------------------------------------------------- TIMER| shutdown misc: 234.681 us TIMER| InitVfs: 117.7 ms Writing the mainlog at /home/jens/.config/0ad/logs/mainlog.html TIMER| CONFIG_Init: 1.49009 ms [New Thread 0x7fffc6fff700 (LWP 15979)] [New Thread 0x7fffc67fe700 (LWP 15980)] Sound: AlcInit success, using OpenAL Soft [New Thread 0x7fffc66fd700 (LWP 15981)] [New Thread 0x7fffc5efc700 (LWP 15982)] [New Thread 0x7fffc56fb700 (LWP 15983)] WARNING: Window icon not found. Unknown cache/TLB descriptor 0xc3 TIMER| RunHardwareDetection: 50.6041 ms [New Thread 0x7fffb37a7700 (LWP 15984)] [Thread 0x7fffb37a7700 (LWP 15984) exited] TIMER| write_sys_info: 22.5358 ms [New Thread 0x7fffb37a7700 (LWP 15985)] TIMER| InitRenderer: 1.92851 ms TIMER| ps_console: 3.09669 ms TIMER| ps_lang_hotkeys: 1.0291 ms TIMER| common/modern/setup.xml: 167.916 us TIMER| common/modern/styles.xml: 177.713 us TIMER| common/modern/sprites.xml: 1.21173 ms TIMER| common/setup.xml: 328.956 us TIMER| common/sprites.xml: 513.258 us TIMER| common/styles.xml: 114.266 us TIMER| pregame/backgrounds/: 136.413 us TIMER| pregame/sprites.xml: 147.264 us TIMER| pregame/styles.xml: 39.568 us TIMER| pregame/mainmenu.xml: 17.8506 ms TIMER| common/global.xml: 569.343 us TIMER| common/modern/setup.xml: 300.046 us TIMER| common/modern/styles.xml: 248.862 us TIMER| common/modern/sprites.xml: 1.26588 ms TIMER| splashscreen/setup.xml: 40.249 us TIMER| splashscreen/splashscreen.xml: 13.7339 ms TIMER| common/global.xml: 585.996 us TIMER| common/modern/setup.xml: 209.92 us TIMER| common/modern/styles.xml: 185.447 us TIMER| common/modern/sprites.xml: 1.17122 ms TIMER| common/setup.xml: 317.794 us TIMER| common/sprites.xml: 478.201 us TIMER| common/styles.xml: 113.081 us TIMER| loadgame/load.xml: 21.5201 ms TIMER| GetSavedGames: 998.995 us Writing replay to /home/jens/.local/share/0ad/replays/0.0.23/2018-03-14_0002 TIMER| common/modern/setup.xml: 175.506 us TIMER| common/modern/styles.xml: 191.049 us TIMER| common/modern/sprites.xml: 1.13011 ms TIMER| common/setup.xml: 317.497 us TIMER| common/sprites.xml: 456.41 us TIMER| common/styles.xml: 114.809 us TIMER| loading/styles.xml: 53.231 us TIMER| loading/sprites.xml: 196.728 us TIMER| loading/loading.xml: 12.6603 ms TIMER| common/global.xml: 455.809 us TIMER| common/modern/setup.xml: 209.211 us TIMER| common/modern/styles.xml: 195.562 us TIMER| common/modern/sprites.xml: 1.13011 ms TIMER| common/setup.xml: 309.209 us TIMER| common/setup_resources.xml: 64.842 us TIMER| common/sprites.xml: 461.722 us TIMER| common/styles.xml: 114.048 us TIMER| session/sprites.xml: 1.11679 ms TIMER| session/styles.xml: 159.863 us TIMER| session/session.xml: 97.6652 ms TIMER| common/global.xml: 6.3372 ms GAME STARTED, ALL INIT COMPLETE Thread 1 "pyrogenesis" received signal SIGSEGV, Segmentation fault. 0x00007ffff6f5bb19 in ?? () from /usr/lib/x86_64-linux-gnu/libjs.so.0 (gdb) the game crashes, always in the same place: peloponnesian wars jens@jens ~ $ 0ad TIMER| InitVfs: 2.87377 ms Writing the mainlog at /home/jens/.config/0ad/logs/mainlog.html TIMER| CONFIG_Init: 2.37973 ms Sound: AlcInit success, using OpenAL Soft TIMER| shutdown ConfigDB: 0.697 us AL lib: (WW) FreeContext: (0x55c2f8592130) Deleting 64 Source(s) TIMER| resource modules: 505.107 ms TIMER TOTALS (9 clients) ----------------------------------------------------- tc_pool_alloc: 0 c (0x) tc_png_decode: 0 c (0x) tc_dds_transform: 0 c (0x) tc_transform: 0 c (0x) tc_plain_transform: 0 c (0x) tc_ShaderGLSLLink: 0 c (0x) tc_ShaderGLSLCompile: 0 c (0x) tc_ShaderValidation: 0 c (0x) xml_validation: 0 c (0x) ----------------------------------------------------- TIMER| shutdown misc: 349.947 us TIMER| InitVfs: 119.962 ms Writing the mainlog at /home/jens/.config/0ad/logs/mainlog.html TIMER| CONFIG_Init: 1.84916 ms Sound: AlcInit success, using OpenAL Soft WARNING: Window icon not found. Unknown cache/TLB descriptor 0xc3 TIMER| RunHardwareDetection: 62.9586 ms TIMER| write_sys_info: 19.2218 ms TIMER| InitRenderer: 5.3521 ms TIMER| ps_console: 4.4251 ms TIMER| ps_lang_hotkeys: 1.06613 ms TIMER| common/modern/setup.xml: 435.746 us TIMER| common/modern/styles.xml: 474.051 us TIMER| common/modern/sprites.xml: 1.5232 ms TIMER| common/setup.xml: 593.41 us TIMER| common/sprites.xml: 483.301 us TIMER| common/styles.xml: 528.04 us TIMER| pregame/backgrounds/: 429.837 us TIMER| pregame/sprites.xml: 292.322 us TIMER| pregame/styles.xml: 701.967 us TIMER| pregame/mainmenu.xml: 20.6879 ms TIMER| common/global.xml: 548.432 us TIMER| common/modern/setup.xml: 245.35 us TIMER| common/modern/styles.xml: 196.24 us TIMER| common/modern/sprites.xml: 1.11686 ms TIMER| splashscreen/setup.xml: 175.806 us TIMER| splashscreen/splashscreen.xml: 13.7901 ms TIMER| common/global.xml: 475.767 us TIMER| common/modern/setup.xml: 173.01 us TIMER| common/modern/styles.xml: 183.107 us TIMER| common/modern/sprites.xml: 1.3632 ms TIMER| common/setup.xml: 316.819 us TIMER| common/sprites.xml: 462.897 us TIMER| common/styles.xml: 94.137 us TIMER| loadgame/load.xml: 23.0423 ms TIMER| GetSavedGames: 2.92404 ms Writing replay to /home/jens/.local/share/0ad/replays/0.0.23/2018-03-14_0001 TIMER| common/modern/setup.xml: 166.225 us TIMER| common/modern/styles.xml: 196.043 us TIMER| common/modern/sprites.xml: 1.13193 ms TIMER| common/setup.xml: 338.671 us TIMER| common/sprites.xml: 464.798 us TIMER| common/styles.xml: 120.014 us TIMER| loading/styles.xml: 56.261 us TIMER| loading/sprites.xml: 191.143 us TIMER| loading/loading.xml: 13.1334 ms TIMER| common/global.xml: 471.086 us TIMER| common/modern/setup.xml: 182.005 us TIMER| common/modern/styles.xml: 197.613 us TIMER| common/modern/sprites.xml: 1.11207 ms TIMER| common/setup.xml: 340.737 us TIMER| common/setup_resources.xml: 58.166 us TIMER| common/sprites.xml: 441.594 us TIMER| common/styles.xml: 112.875 us TIMER| session/sprites.xml: 1.98734 ms TIMER| session/styles.xml: 181.558 us TIMER| session/session.xml: 102.96 ms TIMER| common/global.xml: 6.65353 ms GAME STARTED, ALL INIT COMPLETE Segmentation fault jens@jens ~ $ Quote Link to comment Share on other sites More sharing options...
elexis Posted March 14, 2018 Report Share Posted March 14, 2018 We would need a bit more information to interpret the error. Right now it only says "Segmentation fault" without any context. There are some logfiles which may contain more information: http://trac.wildfiregames.com/wiki/GameDataPaths A callstack would be what we need, to see which line of the code exactly crashes: https://trac.wildfiregames.com/wiki/ReportingErrors Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted March 14, 2018 Report Share Posted March 14, 2018 Another way to get the callstack: as you're in the gdb on the crash, you can type bt to print the current callstack. Quote Link to comment Share on other sites More sharing options...
Jeean Posted March 14, 2018 Author Report Share Posted March 14, 2018 (edited) Thread 1 "pyrogenesis" received signal SIGSEGV, Segmentation fault. 0x00007ffff6f50778 in ?? () from /usr/lib/x86_64-linux-gnu/libjs.so.0 (gdb) thread apply all bt full Thread 21 (Thread 0x7fffb37a7700 (LWP 18080)): #0 0x00007ffff3aee827 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x55555855c470) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 __ret = -512 oldtype = 0 err = <optimized out> #1 do_futex_wait (sem=sem@entry=0x55555855c470, abstime=0x0) at sem_waitcommon.c:111 No locals. #2 0x00007ffff3aee8d4 in __new_sem_wait_slow (sem=0x55555855c470, abstime=0x0) at sem_waitcommon.c:181 _buffer = {__routine = 0x7ffff3aee7e0 <__sem_wait_cleanup>, __arg = 0x55555855c470, __canceltype = 897287718, __prev = 0x0} err = <optimized out> d = 0 #3 0x00007ffff3aee97a in __new_sem_wait (sem=<optimized out>) at sem_wait.c:29 No locals. #4 0x00007ffff791a6ce in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 No symbol table info available. #5 0x00005555559da7d2 in ?? () No symbol table info available. #6 0x00007ffff3ae66ba in start_thread (arg=0x7fffb37a7700) at pthread_create.c:333 __res = <optimized out> pd = 0x7fffb37a7700 now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736204535552, -1589075482708812801, 0, 140737488337791, 8388608, 93825041365024, 1588959986155510783, 1589101170153085951}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> pagesize_m1 = <optimized out> sp = <optimized out> freesize = <optimized out> __PRETTY_FUNCTION__ = "start_thread" #7 0x00007ffff381c41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 No locals. Thread 19 (Thread 0x7fffc56fb700 (LWP 18078)): #0 0x00007ffff3aee827 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x5555560a0560) ---Type <return> to continue, or q <return> to quit--- is that enough information and what can I do now? Edited March 14, 2018 by Jeean Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.