luziferius Posted September 19, 2012 Report Share Posted September 19, 2012 I have a problem with the latest 0ad.dev ppa autobuild (r12679) and Ubuntu 12.10namely a Segfault whenever I try to start a singleplayer game(multiplayer not testet).it crashes at 30% map loading state with a Segfault, whatever I try to do(launch with default settings when you click on singleplayer or some RMS without AIs, whatever)i’ve installed the dbg package and run it in gdb with the following commandsgdb /usr/games/pyrogenesis# gdb commands:runbtinfo registersdisass $pc-32, $pc+32quitand thats the output:first run:gdb /usr/games/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...Reading symbols from /usr/lib/debug/usr/games/pyrogenesis...done.done.(gdb) runStarting 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: 16049) MiBTIMER| InitVfs: 64.632 ms[New Thread 0x7fffcba94700 (LWP 29290)][Thread 0x7fffcba94700 (LWP 29290) exited][New Thread 0x7fffcba94700 (LWP 29291)][New Thread 0x7fffc7292700 (LWP 29292)]Sound: AlcInit success, using PulseAudio Default[New Thread 0x7fffc6a91700 (LWP 29293)]TIMER| InitScripting: 9.6774 msTIMER| CONFIG_Init: 10.8071 ms[New Thread 0x7fffc5aeb700 (LWP 29294)][New Thread 0x7fffc52ea700 (LWP 29295)]TIMER| RunHardwareDetection: 19.0947 ms TIMER| write_sys_info: 60.2797 ms [New Thread 0x7fffb5719700 (LWP 29298)] TIMER| InitRenderer: 4.43332 ms TIMER| ps_console: 2.08453 ms TIMER| ps_lang_hotkeys: 994.952 us TIMER| common/setup.xml: 956.494 us TIMER| common/styles.xml: 108.674 us TIMER| common/sprite1.xml: 2.24668 ms TIMER| common/init.xml: 1.84008 ms TIMER| common/common_sprites.xml: 2.30779 ms TIMER| common/common_styles.xml: 268.205 us TIMER| pregame/sprites.xml: 446.957 us TIMER| pregame/styles.xml: 42.404 us TIMER| pregame/mainmenu.xml: 6.98297 ms TIMER| common/global.xml: 398.096 us Using Xcursor to sys_cursor_create 32 x 32 cursor TIMER| common/setup.xml: 612.971 us TIMER| common/styles.xml: 28.007 us TIMER| common/sprite1.xml: 1.54549 ms TIMER| common/common_sprites.xml: 1.91989 ms TIMER| common/common_styles.xml: 224.458 us TIMER| gamesetup/setup.xml: 98.885 usTIMER| gamesetup/sprites.xml: 47.195 usTIMER| gamesetup/styles.xml: 50.792 usTIMER| gamesetup/gamesetup.xml: 12.7773 ms[New Thread 0x7fffafdff700 (LWP 7170)][New Thread 0x7fffaefff700 (LWP 7171)]TIMER| common/setup.xml: 680.514 usTIMER| common/styles.xml: 30.492 usTIMER| common/sprite1.xml: 1.39943 msTIMER| common/init.xml: 1.12185 msTIMER| common/common_sprites.xml: 1.79154 msTIMER| common/common_styles.xml: 215.784 usTIMER| loading/styles.xml: 97.528 usTIMER| loading/sprites.xml: 299.817 usTIMER| loading/loading.xml: 1.13248 msTIMER| common/global.xml: 289.473 usUsing Xcursor to sys_cursor_create 32 x 32 cursorProgram received signal SIGSEGV, Segmentation fault.tga_is_hdr (file=0x0) at ../../../source/lib/tex/tex_tga.cpp:8383 ../../../source/lib/tex/tex_tga.cpp: Datei oder Verzeichnis nicht gefunden.(gdb) bt#0 tga_is_hdr (file=0x0) at ../../../source/lib/tex/tex_tga.cpp:83#1 0x000000000081d317 in tex_codec_for_header (file=0x0, file_size=<optimized out>, c=0x7fffffffd7d0) at ../../../source/lib/tex/tex_codec.cpp:88#2 0x0000000000820600 in tex_decode (data=..., dataSize=140737488345984, t=0x7fffffffd850) at ../../../source/lib/tex/tex.cpp:720#3 0x000000000068948b in SkyManager::LoadSkyTextures (this=0x184bb50) at ../../../source/renderer/SkyManager.cpp:120#4 0x0000000000617a59 in CXMLReader::ReadEnvironment (this=0x4fca280, parent=...) at ../../../source/graphics/MapReader.cpp:595#5 0x000000000061c661 in CXMLReader::ProgressiveRead (this=0x4fca280) at ../../../source/graphics/MapReader.cpp:998#6 0x000000000061c972 in CMapReader::ReadXML (this=0x25a2400) at ../../../source/graphics/MapReader.cpp:1082#7 0x0000000000610584 in MemFunThunk<CMapReader> (param=0x270c040) at ../../../source/ps/LoaderThunks.h:60#8 0x0000000000550f58 in LDR_ProgressiveLoad (time_budget=<optimized out>, description=0x7fffffffdfd0 L"\xffffe020翿\x7de8f4", max_chars=100, progress_percent=0x7fffffffdfc8) at ../../../source/ps/Loader.cpp:228#9 0x000000000041cd84 in ProgressiveLoad () at ../../../source/main.cpp:237#10 0x000000000041dd39 in Frame () at ../../../source/main.cpp:347#11 RunGameOrAtlas (argc=<optimized out>, argv=<optimized out>) at ../../../source/main.cpp:507#12 0x0000000000413997 in main (argc=1, argv=0x7fffffffe5e8) at ../../../source/main.cpp:550(gdb) info registersrax 0x0 0rbx 0x0 0rcx 0x7ffff4979740 140737296963392rdx 0x7fffffffd7d0 140737488345040rsi 0x7fffffffdb80 140737488345984rdi 0x0 0rbp 0x7fffffffd780 0x7fffffffd780rsp 0x7fffffffd770 0x7fffffffd770r8 0x740000006e 498216206446r9 0x640000002e 429496729646r10 0x0 0r11 0x4 4r12 0x7fffffffd7d0 140737488345040r13 0x7fffffffd950 140737488345424r14 0x0 0r15 0x1b 27rip 0x820da7 0x820da7 <tga_is_hdr(uint8_t const*)+23>eflags 0x10246 [ PF ZF IF RF ]cs 0x33 51ss 0x2b 43ds 0x0 0es 0x0 0fs 0x0 0gs 0x0 0(gdb) disass $pc-32, $pc+32Dump of assembler code from 0x820d87 to 0x820dc7: 0x0000000000820d87: nopl %cs:0x0(%rax,%rax,1) 0x0000000000820d90 <tga_is_hdr(uint8_t const*)+0>: push %rbp 0x0000000000820d91 <tga_is_hdr(uint8_t const*)+1>: mov %rsp,%rbp 0x0000000000820d94 <tga_is_hdr(uint8_t const*)+4>: sub $0x10,%rsp 0x0000000000820d98 <tga_is_hdr(uint8_t const*)+8>: mov %fs:0x28,%rax 0x0000000000820da1 <tga_is_hdr(uint8_t const*)+17>: mov %rax,-0x8(%rbp) 0x0000000000820da5 <tga_is_hdr(uint8_t const*)+21>: xor %eax,%eax=> 0x0000000000820da7 <tga_is_hdr(uint8_t const*)+23>: cmpb $0x0,0x1(%rdi) 0x0000000000820dab <tga_is_hdr(uint8_t const*)+27>: jne 0x820db9 <tga_is_hdr(uint8_t const*)+41> 0x0000000000820dad <tga_is_hdr(uint8_t const*)+29>: movzbl 0x2(%rdi),%eax 0x0000000000820db1 <tga_is_hdr(uint8_t const*)+33>: sub $0x2,%eax 0x0000000000820db4 <tga_is_hdr(uint8_t const*)+36>: cmp $0x1,%al 0x0000000000820db6 <tga_is_hdr(uint8_t const*)+38>: setbe %al 0x0000000000820db9 <tga_is_hdr(uint8_t const*)+41>: mov -0x8(%rbp),%rdx 0x0000000000820dbd <tga_is_hdr(uint8_t const*)+45>: xor %fs:0x28,%rdx 0x0000000000820dc6 <tga_is_hdr(uint8_t const*)+54>: jne 0x820dca <tga_is_hdr(uint8_t const*)+58>End of assembler dump.(gdb) quitA debugging session is active. Inferior 1 [process 29287] will be killed.Quit anyway? (y or n) yand a second run:gdb /usr/games/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...Reading symbols from /usr/lib/debug/usr/games/pyrogenesis...done.done.(gdb) runStarting 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: 16049) MiBTIMER| InitVfs: 56.5752 ms[New Thread 0x7fffcba94700 (LWP 14291)][Thread 0x7fffcba94700 (LWP 14291) exited][New Thread 0x7fffcba94700 (LWP 14292)][New Thread 0x7fffc7292700 (LWP 14293)]Sound: AlcInit success, using PulseAudio Default[New Thread 0x7fffc6a91700 (LWP 14294)]TIMER| InitScripting: 9.58469 msTIMER| CONFIG_Init: 7.48273 ms[New Thread 0x7fffc5aeb700 (LWP 14295)][New Thread 0x7fffc52ea700 (LWP 14296)]TIMER| RunHardwareDetection: 19.6908 msTIMER| write_sys_info: 133.184 ms[New Thread 0x7fffb5719700 (LWP 14302)]TIMER| InitRenderer: 7.20418 msTIMER| ps_console: 5.5749 msTIMER| ps_lang_hotkeys: 2.47102 msTIMER| common/setup.xml: 2.46552 msTIMER| common/styles.xml: 148.226 usTIMER| common/sprite1.xml: 1.73454 msTIMER| common/init.xml: 1.32611 msTIMER| common/common_sprites.xml: 2.00087 msTIMER| common/common_styles.xml: 264.769 usTIMER| pregame/sprites.xml: 428.555 usTIMER| pregame/styles.xml: 40.655 usTIMER| pregame/mainmenu.xml: 6.34291 msTIMER| common/global.xml: 366.545 usUsing Xcursor to sys_cursor_create 32 x 32 cursorTIMER| common/setup.xml: 615.291 usTIMER| common/styles.xml: 27.226 usTIMER| common/sprite1.xml: 1.61376 msTIMER| common/common_sprites.xml: 1.74892 msTIMER| common/common_styles.xml: 224.981 usTIMER| gamesetup/setup.xml: 100.565 usTIMER| gamesetup/sprites.xml: 46.584 usTIMER| gamesetup/styles.xml: 51.062 usTIMER| gamesetup/gamesetup.xml: 12.8493 ms[New Thread 0x7fffaffff700 (LWP 14778)][New Thread 0x7fffaf5ff700 (LWP 14779)]TIMER| common/setup.xml: 724.972 usTIMER| common/styles.xml: 25.93 usTIMER| common/sprite1.xml: 1.54725 msTIMER| common/init.xml: 1.1141 msTIMER| common/common_sprites.xml: 1.65693 msTIMER| common/common_styles.xml: 200.01 usTIMER| loading/styles.xml: 86.13 usTIMER| loading/sprites.xml: 259.069 usTIMER| loading/loading.xml: 1.07778 msTIMER| common/global.xml: 251.023 usUsing Xcursor to sys_cursor_create 32 x 32 cursor[New Thread 0x7fffae5ff700 (LWP 14791)][New Thread 0x7fffaddde700 (LWP 14792)][Thread 0x7fffae5ff700 (LWP 14791) exited]TIMER| ParseTerrain: 4.54619 msProgram received signal SIGSEGV, Segmentation fault.tga_is_hdr (file=0x0) at ../../../source/lib/tex/tex_tga.cpp:8383 ../../../source/lib/tex/tex_tga.cpp: Datei oder Verzeichnis nicht gefunden.(gdb) bt#0 tga_is_hdr (file=0x0) at ../../../source/lib/tex/tex_tga.cpp:83#1 0x000000000081d317 in tex_codec_for_header (file=0x0, file_size=<optimized out>, c=0x7fffffffdaf0) at ../../../source/lib/tex/tex_codec.cpp:88#2 0x0000000000820600 in tex_decode (data=..., dataSize=40696400, t=0x7fffffffdb70) at ../../../source/lib/tex/tex.cpp:720#3 0x000000000068948b in SkyManager::LoadSkyTextures (this=0x184bb50) at ../../../source/renderer/SkyManager.cpp:120#4 0x000000000061383a in CMapReader::ParseEnvironment (this=0x223b850) at ../../../source/graphics/MapReader.cpp:1329#5 0x0000000000610584 in MemFunThunk<CMapReader> (param=0x25d4e00) at ../../../source/ps/LoaderThunks.h:60#6 0x0000000000550f58 in LDR_ProgressiveLoad (time_budget=<optimized out>, description=0x7fffffffdfd0 L"\xffffe020翿\x7de8f4", max_chars=100, progress_percent=0x7fffffffdfc8) at ../../../source/ps/Loader.cpp:228#7 0x000000000041cd84 in ProgressiveLoad () at ../../../source/main.cpp:237#8 0x000000000041dd39 in Frame () at ../../../source/main.cpp:347#9 RunGameOrAtlas (argc=<optimized out>, argv=<optimized out>) at ../../../source/main.cpp:507#10 0x0000000000413997 in main (argc=1, argv=0x7fffffffe5e8) at ../../../source/main.cpp:550(gdb) info registersrax 0x0 0rbx 0x0 0rcx 0x7ffff4979740 140737296963392rdx 0x7fffffffdaf0 140737488345840rsi 0x26cfa50 40696400rdi 0x0 0rbp 0x7fffffffdaa0 0x7fffffffdaa0rsp 0x7fffffffda90 0x7fffffffda90r8 0x740000006e 498216206446r9 0x640000002e 429496729646r10 0x0 0r11 0x3 3r12 0x7fffffffdaf0 140737488345840r13 0x7fffffffdc70 140737488346224r14 0x0 0r15 0x17 23rip 0x820da7 0x820da7 <tga_is_hdr(uint8_t const*)+23>eflags 0x10246 [ PF ZF IF RF ]cs 0x33 51ss 0x2b 43ds 0x0 0es 0x0 0fs 0x0 0gs 0x0 0(gdb) disass $pc-32, $pc+32Dump of assembler code from 0x820d87 to 0x820dc7: 0x0000000000820d87: nopl %cs:0x0(%rax,%rax,1) 0x0000000000820d90 <tga_is_hdr(uint8_t const*)+0>: push %rbp 0x0000000000820d91 <tga_is_hdr(uint8_t const*)+1>: mov %rsp,%rbp 0x0000000000820d94 <tga_is_hdr(uint8_t const*)+4>: sub $0x10,%rsp 0x0000000000820d98 <tga_is_hdr(uint8_t const*)+8>: mov %fs:0x28,%rax 0x0000000000820da1 <tga_is_hdr(uint8_t const*)+17>: mov %rax,-0x8(%rbp) 0x0000000000820da5 <tga_is_hdr(uint8_t const*)+21>: xor %eax,%eax=> 0x0000000000820da7 <tga_is_hdr(uint8_t const*)+23>: cmpb $0x0,0x1(%rdi) 0x0000000000820dab <tga_is_hdr(uint8_t const*)+27>: jne 0x820db9 <tga_is_hdr(uint8_t const*)+41> 0x0000000000820dad <tga_is_hdr(uint8_t const*)+29>: movzbl 0x2(%rdi),%eax 0x0000000000820db1 <tga_is_hdr(uint8_t const*)+33>: sub $0x2,%eax 0x0000000000820db4 <tga_is_hdr(uint8_t const*)+36>: cmp $0x1,%al 0x0000000000820db6 <tga_is_hdr(uint8_t const*)+38>: setbe %al 0x0000000000820db9 <tga_is_hdr(uint8_t const*)+41>: mov -0x8(%rbp),%rdx 0x0000000000820dbd <tga_is_hdr(uint8_t const*)+45>: xor %fs:0x28,%rdx 0x0000000000820dc6 <tga_is_hdr(uint8_t const*)+54>: jne 0x820dca <tga_is_hdr(uint8_t const*)+58>End of assembler dump.(gdb) quitA debugging session is active. Inferior 1 [process 14287] will be killed.Quit anyway? (y or n) ythe error 83 ../../../source/lib/tex/tex_tga.cpp: Datei oder Verzeichnis nicht gefunden.is a file-not-found error========================and another small thing:I wanted to play a round, so I tried to return to the Alpha XI package in your 0ad ppa and failedfixing that took me a while…I could not install the Alpha XI packages because of unmeetable dependenciesI downloaded the files from http://ppa.launchpad...tu/pool/main/0/ and installed them via dpkgi gotdpkg: Abhängigkeitsprobleme verhindern Konfiguration von 0ad:0ad hängt ab von libboost-filesystem1.49.0 (>= 1.49.0-1); aber: Paket libboost-filesystem1.49.0 ist nicht installiert.0ad hängt ab von libboost-signals1.49.0 (>= 1.49.0-1); aber: Paket libboost-signals1.49.0 ist nicht installiert.that says that 0ad package depends on the currently not installed libboost-filesystem1.49.0 and libboost-signals1.49.0 packages (note that the dev build does not depend on them, and the version number in the package name, a normally uncommon thing…)however, when I tried to install those via apt-get install libboost-filesystem1.49.0 libboost-signals1.49.0, I gotPaket libboost-filesystem1.49.0 ist nicht verfügbar, wird aber von einem anderen Paketreferenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöstwurde oder nur aus einer anderen Quelle verfügbar ist.Paket libboost-signals1.49.0 ist nicht verfügbar, wird aber von einem anderen Paketreferenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöstwurde oder nur aus einer anderen Quelle verfügbar ist.E: Paket »libboost-filesystem1.49.0« hat keinen InstallationskandidatenE: Paket »libboost-signals1.49.0« hat keinen Installationskandidatenthat says that those 2 packages are referenced by a package, but are unavailable and cannot be installedI’ve returned to the ubuntu 12.04 packages, since those workI can play now Quote Link to comment Share on other sites More sharing options...
myconid Posted September 19, 2012 Report Share Posted September 19, 2012 That's my fault. WIP code. Odd thing is that the sky manager is calling stuff related to .tga files, even though none of the sky images are tga files. Do you have any weird mods installed? Make sure you completely clear your cache, too. Quote Link to comment Share on other sites More sharing options...
luziferius Posted September 19, 2012 Author Report Share Posted September 19, 2012 (edited) that was the first thing i had donepurged everything user-related(.cache, .config, .local, etc) i could find (except for the feedback user ID)no mods or something installedthen the only real issue is that the release package depends on non-existing packages(at least that is what my system tells me, but idk why no-one else noticed that; I assume that it is a bug on my side)Odd thing is that the sky manager is calling stuff related to .tga files, even though none of the sky images are tga files.that seems to be an interesting catch… Edited September 19, 2012 by luziferius Quote Link to comment Share on other sites More sharing options...
myconid Posted September 19, 2012 Report Share Posted September 19, 2012 Maybe one of your sky textures in binaries/data/mods/public/art/textures/skies/ is corrupt. Pull that folder again from SVN and try again.As for the package problem, you should post it in a different thread. 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.