MegaGlest Forum
Archives (read only) => Glest Advanced Engine => Bug reports => Topic started by: tomreyn on 6 July 2012, 15:43:30
-
After deleting my old 'build' directory, I built a fesh copy of 13db9cf today, renamed all my .ini files to *.orig and ran it. Unfortunately I did not get very far: I ended up with a black screen right after starting it up, and a frozen game which would not react to anything (tried Enter, Alt-Enter, Alt-F4, kill -1) but kill -9. It did write a gae-crash.txt file, though:
$ cat gae-crash.txt
Crash
Version: Advanced Engine 0.3.93+git_13db9cf 0.3-994-g13db9cf
Built: Fri Jul 6 13:25:42 CEST 2012
Time: Fri Jul 6 17:35:57 2012
Description: SIGSEGV: address not mapped to object
Address: 0x1b85000
Backtrace:
./build/source/game/glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0x1b7) [0x6bcc97]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f696fbc9cb0]
/usr/lib/x86_64-linux-gnu/libtxc_dxtn.so(rgb565_image+0x7d0) [0x7f69656c7e60]
/usr/lib/x86_64-linux-gnu/libtxc_dxtn.so(tx_compress_dxtn+0x329) [0x7f69656c8d29]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(_mesa_texstore_rgb_dxt1+0xf0) [0x7f6967e25150]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(+0xe15b0) [0x7f6967e435b0]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(_mesa_store_teximage2d+0xed) [0x7f6967e438bd]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(+0xcfd6b) [0x7f6967e31d6b]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(_mesa_TexImage2D+0x54) [0x7f6967e32364]
./build/source/game/glestadv(_ZN6Shared8Graphics2Gl11Texture2DGl4initENS0_7Texture6FilterEi+0x274) [0x6ad3e4]
./build/source/game/glestadv(_ZN6Shared8Graphics14TextureManager4initEv+0x43) [0x695123]
./build/source/game/glestadv(_ZN5Glest8Graphics8Renderer4initEv+0x255) [0x540a35]
./build/source/game/glestadv(_ZN5Glest7Widgets12WidgetWindowC1Ev+0xfcd) [0x64658d]
./build/source/game/glestadv(_ZN5Glest4Main7ProgramC2ERNS0_7CmdArgsE+0x1c) [0x56c93c]
./build/source/game/glestadv(_ZN5Glest4Main9glestMainEiPPc+0x2d8) [0x5671b8]
./build/source/game/glestadv(main+0x2d) [0x4b55fd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f696dde876d]
./build/source/game/glestadv() [0x4b8bb1]
=======================
I'm on (K)Ubuntu 12.04, using the default (open source) r300 (radeon) graphics drivers. More hardware details about this 'atibox' can be found in my forum signature below.
-
Looks like libtxc_dxtn crashes. Not sure how we trigger that. Try disabling texture compression with the following option in ~/.glestadv/glestadv.ini:
RenderCompressTextures=false
Add it if it's not there already.
I think they changed something in newer mesa versions (8.x) which breaks it for us. It worked for me before but doesn't anymore. I have a closer look this weekend.
-
Hmm, adding RenderCompressTextures=false doesn't seem to have helped much, the behaviour is, as far as I can tell, the same. Here's the latest crash log with a full rebuild of 0.3-994-g13db9cf:
Crash
Version: Advanced Engine 0.3.93+git_13db9cf 0.3-994-g13db9cf
Built: Tue Jul 10 19:45:49 CEST 2012
Time: Tue Jul 10 19:53:55 2012
Description: SIGSEGV: address not mapped to object
Address: 0x1ef3000
Backtrace:
./build/source/game/glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0x1b7) [0x6bcc97]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f38689aecb0]
/usr/lib/x86_64-linux-gnu/libtxc_dxtn.so(rgb565_image+0x7d0) [0x7f385e4ace60]
/usr/lib/x86_64-linux-gnu/libtxc_dxtn.so(tx_compress_dxtn+0x329) [0x7f385e4add29]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(_mesa_texstore_rgb_dxt1+0xf0) [0x7f3860c0a150]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(+0xe15b0) [0x7f3860c285b0]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(_mesa_store_teximage2d+0xed) [0x7f3860c288bd]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(+0xcfd6b) [0x7f3860c16d6b]
/usr/lib/x86_64-linux-gnu/dri/libdricore.so(_mesa_TexImage2D+0x54) [0x7f3860c17364]
./build/source/game/glestadv(_ZN6Shared8Graphics2Gl11Texture2DGl4initENS0_7Texture6FilterEi+0x274) [0x6ad3e4]
./build/source/game/glestadv(_ZN6Shared8Graphics14TextureManager4initEv+0x43) [0x695123]
./build/source/game/glestadv(_ZN5Glest8Graphics8Renderer4initEv+0x255) [0x540a35]
./build/source/game/glestadv(_ZN5Glest7Widgets12WidgetWindowC1Ev+0xfcd) [0x64658d]
./build/source/game/glestadv(_ZN5Glest4Main7ProgramC2ERNS0_7CmdArgsE+0x1c) [0x56c93c]
./build/source/game/glestadv(_ZN5Glest4Main9glestMainEiPPc+0x2d8) [0x5671b8]
./build/source/game/glestadv(main+0x2d) [0x4b55fd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f3866bcd76d]
./build/source/game/glestadv() [0x4b8bb1]
-
Just for referecne, I had previously discussed a similar or possibly the same issue (https://forum.megaglest.org/index.php?topic=7932.0).