idanwin Posted August 20, 2012 Report Share Posted August 20, 2012 (edited) I just installed the latest update from the repositories and 0ad refuses to start now:"Cache: 500 (total: 7964) MiBTIMER| InitVfs: 244.937 usSound: AlcInit success, using PulseAudio DefaultTIMER| InitScripting: 4.59794 msTIMER| CONFIG_Init: 67.6405 msTIMER| RunHardwareDetection: 20.7701 msTIMER| write_sys_info: 16.3675 msTIMER| InitRenderer: 3.051 msTIMER| ps_console: 1.09127 msTIMER| ps_lang_hotkeys: 520.305 usTIMER| common/setup.xml: 625.819 usTIMER| common/styles.xml: 49.993 usTIMER| common/sprite1.xml: 1.3686 msTIMER| common/init.xml: 1.12515 msTIMER| common/common_sprites.xml: 1.86993 msTIMER| common/common_styles.xml: 336.694 usTIMER| pregame/sprites.xml: 550.652 usTIMER| pregame/styles.xml: 57.374 usTIMER| pregame/mainmenu.xml: 5.77359 msTIMER| common/global.xml: 316.695 usSegmentation fault (core dumped)"I don't think it has anything to do with common/global.xml, that file looks alright to me. How can I ask the terminal to give more information? Edited August 20, 2012 by idanwin Quote Link to comment Share on other sites More sharing options...
dvangennip Posted August 20, 2012 Report Share Posted August 20, 2012 You can start the game with a debugger, like this:terminal$: gdb pyrogenesis (some stuff happens)gdb > run (game should start)If a crash happens, usually you can type 'bt' to get more info (a stacktrace). Stopping the program is done with 'kill,' and quiting gdb with 'quit.' Quote Link to comment Share on other sites More sharing options...
idanwin Posted August 20, 2012 Author Report Share Posted August 20, 2012 (edited) a crash did happen ... my computer crashed! And I couldn't see the results because 0ad was running fs mode and the terminal window was hidden behind.anyway I can run it in windowed immediately? (like: $: 0ad --windowed or something) Edited August 20, 2012 by idanwin Quote Link to comment Share on other sites More sharing options...
myconid Posted August 20, 2012 Report Share Posted August 20, 2012 You can set windowed=true in your config file. Quote Link to comment Share on other sites More sharing options...
kao_chen Posted August 20, 2012 Report Share Posted August 20, 2012 Same issue on my computer (ubuntu 12.04 + 0ad.dev up to date from launchpad)kao@kao-Desktop:~$ gdb pyrogenesisGNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04Copyright (C) 2012 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".For bug reporting instructions, please see:<http://bugs.launchpad.net/gdb-linaro/>...Reading symbols from /usr/games/pyrogenesis...(no debugging symbols found)...done.(gdb) runThenStarting program: /usr/games/pyrogenesis[Thread debugging using libthread_db enabled]Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".Cache: 500 (total: 3953) MiB[New Thread 0x7fffca300700 (LWP 2479)]TIMER| InitVfs: 189.249 ms[New Thread 0x7fffc9aff700 (LWP 2480)][Thread 0x7fffc9aff700 (LWP 2480) exited][New Thread 0x7fffc9aff700 (LWP 2481)][New Thread 0x7fffbfffe700 (LWP 2482)]Sound: AlcInit success, using PulseAudio Default[New Thread 0x7fffc92fe700 (LWP 2483)]TIMER| InitScripting: 31.2236 msTIMER| CONFIG_Init: 5.72508 ms[New Thread 0x7fffbf7fd700 (LWP 2485)][New Thread 0x7fffbeffc700 (LWP 2486)][New Thread 0x7fffbcd93700 (LWP 2487)]TIMER| RunHardwareDetection: 31.5854 msTIMER| write_sys_info: 16.59 ms[New Thread 0x7fffaffff700 (LWP 2488)]TIMER| InitRenderer: 9.45258 msTIMER| ps_console: 4.0974 msTIMER| ps_lang_hotkeys: 994.564 usTIMER| common/setup.xml: 3.29143 msTIMER| common/styles.xml: 275.902 usTIMER| common/sprite1.xml: 3.17408 msTIMER| common/init.xml: 3.07214 msTIMER| common/common_sprites.xml: 3.53905 msTIMER| common/common_styles.xml: 360.743 usTIMER| pregame/sprites.xml: 1.14688 msTIMER| pregame/styles.xml: 54.562 usTIMER| pregame/mainmenu.xml: 11.2092 msTIMER| common/global.xml: 469.609 usProgram received signal SIGSEGV, Segmentation fault.0x00007ffff43d1ca0 in ferror () from /lib/x86_64-linux-gnu/libc.so.6(gdb)The window of the game remains black and it's impossible to turn it off. Quote Link to comment Share on other sites More sharing options...
om_rahul Posted August 20, 2012 Report Share Posted August 20, 2012 errors with new update, you can't make build by using soldiers, if you try it gives lot of errors. Quote Link to comment Share on other sites More sharing options...
myconid Posted August 20, 2012 Report Share Posted August 20, 2012 kao_chen, after it crashes type in "bt" to get the debug information. Quote Link to comment Share on other sites More sharing options...
kao_chen Posted August 20, 2012 Report Share Posted August 20, 2012 (gdb) bt#0 0x00007ffff43d1ca0 in ferror () from /lib/x86_64-linux-gnu/libc.so.6#1 0x00000000005acfa3 in ?? ()#2 0x00000000005aba42 in ?? ()#3 0x00000000005abf6b in ?? ()#4 0x00000000005aaabe in ?? ()#5 0x00000000005bea59 in ?? ()#6 0x00007ffff556eb46 in ?? () from /usr/lib/libmozjs185.so.1.0#7 0x00007ffff5578285 in ?? () from /usr/lib/libmozjs185.so.1.0#8 0x00007ffff5578722 in ?? () from /usr/lib/libmozjs185.so.1.0#9 0x00007ffff55795d3 in ?? () from /usr/lib/libmozjs185.so.1.0#10 0x00007ffff54f2022 in JS_CallFunctionName () from /usr/lib/libmozjs185.so.1.0#11 0x0000000000528cfc in ?? ()#12 0x000000000078a861 in ?? ()#13 0x000000000078be46 in ?? ()#14 0x000000000078c6c2 in ?? ()#15 0x00000000005920ca in ?? ()#16 0x000000000059565d in ?? ()#17 0x000000000041dcbc in ?? ()#18 0x0000000000413bc7 in ?? ()#19 0x00007ffff438176d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6#20 0x000000000041cc75 in ?? ()#21 0x00007fffffffe298 in ?? ()#22 0x000000000000001c in ?? ()#23 0x0000000000000001 in ?? ()#24 0x00007fffffffe555 in ?? ()#25 0x0000000000000000 in ?? () Quote Link to comment Share on other sites More sharing options...
idanwin Posted August 20, 2012 Author Report Share Posted August 20, 2012 Oh BTW, I'm also running Ubuntu 12.04.Anyway, I'm going to try this om my other pc (Linux Mint 13) this evening.For now I've just downloaded the svn and compiled it. Seems to work without any problems ... the graphics seemed somewhat off the first time I launched (they looked grey for a second before taking the right texture, but the second time everything went perfectly).And aside I finally learned how to work with svn, so there always a positive side to everything ^^ Quote Link to comment Share on other sites More sharing options...
dvangennip Posted August 20, 2012 Report Share Posted August 20, 2012 the graphics seemed somewhat off the first time I launched (they looked grey for a second before taking the right texture, but the second time everything went perfectly).This is normal, because the textures are converted in the background. For regular (Alpha) releases such things are pre-processed, now your system has to do it once the texture is requested. So nothing to worry about Quote Link to comment Share on other sites More sharing options...
zoot Posted August 20, 2012 Report Share Posted August 20, 2012 He's not using Windows. Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted August 20, 2012 Report Share Posted August 20, 2012 Pretty sure that's http://trac.wildfiregames.com/ticket/1604 - if you can, undo that update to continue playing 0 A.D., while we work on the fix. 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.