Immediate Segfault [Linux x86]

I get this after installing libpng3 on ubuntu

lucas@kid-c:~/Games/GSB$ ./GSB.bin.x86
*** glibc detected *** ./GSB.bin.x86: free(): invalid pointer: 0x0810c63c ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6ebc2)[0xb71f0bc2]
/lib/i386-linux-gnu/libc.so.6(+0x6f862)[0xb71f1862]
/lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0xb71f494d]
/lib/i386-linux-gnu/libc.so.6(_IO_free_backup_area+0x34)[0xb71eda74]
/lib/i386-linux-gnu/libc.so.6(__underflow+0x133)[0xb71edc43]
/lib/i386-linux-gnu/libc.so.6(+0x6b218)[0xb71ed218]
/lib/i386-linux-gnu/libc.so.6(_IO_sgetn+0x28)[0xb71edff8]
/lib/i386-linux-gnu/libc.so.6(fread+0x90)[0xb71e0f90]
/home/lucas/Games/GSB/lib/libvorbisfile.so.3(+0x1c51)[0xb747dc51]
/home/lucas/Games/GSB/lib/libvorbisfile.so.3(+0x3c6a)[0xb747fc6a]
/home/lucas/Games/GSB/lib/libvorbisfile.so.3(+0x417f)[0xb748017f]
/home/lucas/Games/GSB/lib/libvorbisfile.so.3(ov_open_callbacks+0x4c)[0xb7482cbc]
./GSB.bin.x86(_ZN14cOAL_OggStream14CreateFromFileERKSbIwSt11char_traitsIwESaIwEE+0xd0)[0x83a4cb0]
./GSB.bin.x86(_ZN11cOAL_Device10LoadStreamERKSbIwSt11char_traitsIwESaIwEE+0x5e)[0x839b19e]
./GSB.bin.x86(_ZN11cOAL_Device10LoadStreamERKSs+0x30)[0x839b2a0]
./GSB.bin.x86(_Z15OAL_Stream_LoadRKSs+0x21)[0x8390431]
./GSB.bin.x86(_ZN10GUI_Sounds10StartMusicESsb+0x16e)[0x8360a6e]
./GSB.bin.x86(_ZN10GUI_Sounds10InitialiseEv+0x19f)[0x836175f]
./GSB.bin.x86(_ZN4Game7InitAppEv+0x28e)[0x825866e]
./GSB.bin.x86(_Z7WinMainPvS_Pci+0x35)[0x82e23a5]
./GSB.bin.x86(main+0x3a)[0x8385e5a]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb719b113]
======= Memory map: ========
08048000-0849b000 r-xp 00000000 08:05 8266199    /home/lucas/Games/GSB/GSB.bin.x86
0849b000-084a2000 rw-p 00453000 08:05 8266199    /home/lucas/Games/GSB/GSB.bin.x86
084a2000-084ce000 rw-p 00000000 00:00 0 
088fc000-08e75000 rw-p 00000000 00:00 0          [heap]
aad00000-aad21000 rw-p 00000000 00:00 0 
aad21000-aae00000 ---p 00000000 00:00 0 
aae02000-aae03000 ---p 00000000 00:00 0 
aae03000-ab603000 rw-p 00000000 00:00 0 
ab603000-ab6ef000 r-xp 00000000 08:05 1966191    /usr/lib/i386-linux-gnu/libasound.so.2.0.0
ab6ef000-ab6f3000 r--p 000eb000 08:05 1966191    /usr/lib/i386-linux-gnu/libasound.so.2.0.0
ab6f3000-ab6f4000 rw-p 000ef000 08:05 1966191    /usr/lib/i386-linux-gnu/libasound.so.2.0.0
ab6f4000-af6f5000 rw-s 00000000 00:12 1120475    /run/shm/pulse-shm-1490622046
af6f5000-af6f6000 ---p 00000000 00:00 0 
af6f6000-afef6000 rw-p 00000000 00:00 0 
afef6000-b005c000 r-xp 00000000 08:05 1970324    /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
b005c000-b006d000 r--p 00165000 08:05 1970324    /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
b006d000-b006e000 rw-p 00176000 08:05 1970324    /usr/lib/i386-linux-gnu/libvorbisenc.so.2.0.8
b006e000-b00ba000 r-xp 00000000 08:05 1966193    /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
b00ba000-b00bb000 r--p 0004b000 08:05 1966193    /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
b00bb000-b00bc000 rw-p 0004c000 08:05 1966193    /usr/lib/i386-linux-gnu/libFLAC.so.8.2.0
b00bc000-b0108000 r-xp 00000000 08:05 1969975    /usr/lib/i386-linux-gnu/libpulse.so.0.13.4
b0108000-b0109000 r--p 0004b000 08:05 1969975    /usr/lib/i386-linux-gnu/libpulse.so.0.13.4
b0109000-b010a000 rw-p 0004c000 08:05 1969975    /usr/lib/i386-linux-gnu/libpulse.so.0.13.4
b0126000-b01b7000 rw-p 00000000 00:00 0 
b01b7000-b01b8000 rw-s 5baf6000 00:05 2515       /dev/dri/card0
b01b8000-b10bb000 rw-p 00000000 00:00 0 
b10bb000-b1ebb000 rw-s 5a7f6000 00:05 2515       /dev/dri/card0
b1ebb000-b2cbb000 rw-s 59216000 00:05 2515       /dev/dri/card0
b2cbb000-b3abb000 rw-s 57f16000 00:05 2515       /dev/dri/card0
b3abb000-b48bb000 rw-s 57116000 00:05 2515       /dev/dri/card0
b48f9000-b4964000 r-xp 00000000 08:05 1966195    /usr/lib/i386-linux-gnu/libsndfile.so.1.0.24
b4964000-b4965000 r--p 0006b000 08:05 1966195    /usr/lib/i386-linux-gnu/libsndfile.so.1.0.24
b4965000-b4966000 rw-p 0006c000 08:05 1966195    /usr/lib/i386-linux-gnu/libsndfile.so.1.0.24
b4966000-b4f3c000 rw-p 00000000 00:00 0 
b4f3c000-b50bc000 rw-s 5a616000 00:05 2515       /dev/dri/card0
b50bc000-b523c000 rw-s 56f96000 00:05 2515       /dev/dri/card0
b5248000-b525b000 r-xp 00000000 08:05 12723170   /lib/i386-linux-gnu/libresolv-2.13.so
b525b000-b525c000 r--p 00012000 08:05 12723170   /lib/i386-linux-gnu/libresolv-2.13.so
b525c000-b525d000 rw-p 00013000 08:05 12723170   /lib/i386-linux-gnu/libresolv-2.13.so
b525d000-b525f000 rw-p 00000000 00:00 0 
b525f000-b5274000 r-xp 00000000 08:05 12723161   /lib/i386-linux-gnu/libnsl-2.13.so
b5274000-b5275000 r--p 00015000 08:05 12723161   /lib/i386-linux-gnu/libnsl-2.13.so
b5275000-b5276000 rw-p 00016000 08:05 12723161   /lib/i386-linux-gnu/libnsl-2.13.so
b5276000-b5278000 rw-p 00000000 00:00 0 
b5278000-b52db000 r-xp 00000000 08:05 1970003    /usr/lib/i386-linux-gnu/libpulsecommon-1.0.so
b52db000-b52dc000 r--p 00062000 08:05 1970003    /usr/lib/i386-linux-gnu/libpulsecommon-1.0.so
b52dc000-b52dd000 rw-p 00063000 08:05 1970003    /usr/lib/i386-linux-gnu/libpulsecommon-1.0.so
b52dd000-b533d000 rw-s 5a796000 00:05 2515       /dev/dri/card0
b533d000-b5341000 rw-s 00000000 00:04 1120132    /drm mm object (deleted)
b5341000-b612e000 rw-p 00000000 00:00 0 
b612e000-b623a000 r-xp 00000000 08:05 3678753    /usr/lib/i386-linux-gnu/dri/libglsl.so
b623a000-b623f000 r--p 0010b000 08:05 3678753    /usr/lib/i386-linux-gnu/dri/libglsl.so
b623f000-b6241000 rw-p 00110000 08:05 3678753    /usr/lib/i386-linux-gnu/dri/libglsl.so
b6241000-b6242000 rw-p 00000000 00:00 0 
b6242000-b6470000 r-xp 00000000 08:05 3678756    /usr/lib/i386-linux-gnu/dri/libdricore.so
b6470000-b6471000 ---p 0022e000 08:05 3678756    /usr/lib/i386-linux-gnu/dri/libdricore.so
b6471000-b6477000 r--p 0022e000 08:05 3678756    /usr/lib/i386-linux-gnu/dri/libdricore.so
b6477000-b6479000 rw-p 00234000 08:05 3678756    /usr/lib/i386-linux-gnu/dri/libdricore.so
b6479000-b6489000 rw-p 00000000 00:00 0 
b6489000-b6545000 r-xp 00000000 08:05 3672957    /usr/lib/i386-linux-gnu/dri/i965_dri.so
b6545000-b6547000 r--p 000bc000 08:05 3672957    /usr/lib/i386-linux-gnu/dri/i965_dri.so
b6547000-b6549000 rw-p 000be000 08:05 3672957    /usr/lib/i386-linux-gnu/dri/i965_dri.so
b6549000-b654a000 rw-p 00000000 00:00 0 
b654a000-b654b000 ---p 00000000 00:00 0 
b654b000-b6d85000 rw-p 00000000 00:00 0 
b6d89000-b6dd0000 r-xp 00000000 08:05 12714008   /lib/i386-linux-gnu/libdbus-1.so.3.5.7
b6dd0000-b6dd1000 r--p 00046000 08:05 12714008   /lib/i386-linux-gnu/libdbus-1.so.3.5.7
b6dd1000-b6dd2000 rw-p 00047000 08:05 12714008   /lib/i386-linux-gnu/libdbus-1.so.3.5.7
b6dd2000-b6dda000 r-xp 00000000 08:05 1970094    /usr/lib/i386-linux-gnu/libpciaccess.so.0.10.8Aborted

works fine gentoo x86_64, just can’t hit the “V” key which is keeping me from inputting the multiplayer key :confused: (there’s another thread here, there’s a lot of us with this issue, seems the HIB4 keys aren’t valid)

for the other issues you guys are having though, maybe you’ve got a bad library dep? seems somewhat unlikely but i’d run ldd on the application and all the libraries in either the lib or lib64 folders of the install just to be sure.

I’m running a singlecore Athlon 64 3800+. I don’t think it has anything to do with that.

It really kinda sucks. I got in to the HB because I wanted a linux version of GSB, even though I’d already bought GSB through Steam (Steam through Wine sucks sometimes).

I have the same problem, running Ubuntu 11.10. The game immediately closes with a segfault, and with libpng3 installed it just hangs on the opening splash screen.

Unlikely, strace shows that the file is located at: ~/.positech/GSB/prefs.ini

See this thread from when I did it: positech.co.uk/forums/phpBB3/vie … 303#p53303

$ ldd GSB.bin.x86 linux-gate.so.1 => (0xb77b5000) libGL.so.1 => /usr/lib/nvidia-current/libGL.so.1 (0xb76d5000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb76bc000) librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb76b2000) libcurl.so.3 => /usr/local/games/GSB/./lib/libcurl.so.3 (0xb7681000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb7564000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb7554000) libXft.so.2 => /usr/lib/libXft.so.2 (0xb7540000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb750f000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb750b000) libSDL-1.2.so.0 => /usr/local/games/GSB/./lib/libSDL-1.2.so.0 (0xb7478000) libSDL_image-1.2.so.0 => /usr/local/games/GSB/./lib/libSDL_image-1.2.so.0 (0xb745d000) libpng12.so.0 => /lib/libpng12.so.0 (0xb7438000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7417000) libogg.so.0 => /usr/local/games/GSB/./lib/libogg.so.0 (0xb7411000) libvorbis.so.0 => /usr/local/games/GSB/./lib/libvorbis.so.0 (0xb73e8000) libvorbisfile.so.3 => /usr/local/games/GSB/./lib/libvorbisfile.so.3 (0xb73e0000) libopenal.so.1 => /usr/local/games/GSB/./lib/libopenal.so.1 (0xb7396000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb72a0000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7279000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb725a000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7100000) libGLcore.so.1 => /usr/lib/nvidia-current/libGLcore.so.1 (0xb5af0000) libnvidia-tls.so.1 => /usr/lib/nvidia-current/tls/libnvidia-tls.so.1 (0xb5aee000) /lib/ld-linux.so.2 (0xb77b6000) libidn.so.11 => /usr/lib/libidn.so.11 (0xb5abb000) libz.so.1 => /lib/libz.so.1 (0xb5aa6000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb5a8c000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb5a16000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb5a0c000) libexpat.so.1 => /lib/libexpat.so.1 (0xb59e4000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb59e0000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb59da000)
Not sure it’s a library problem though I have a feeling it’s some stupid config option in X where we just need to flip a single boolean.

cat /etc/issue

Ubuntu 10.04.3 LTS \n \l

uname -a

Linux *snip computer name* 2.6.32-36-generic-pae #79-Ubuntu SMP Tue Nov 8 23:25:26 UTC 2011 i686 GNU/Linux

Does cliff (the forum owner/developer) have anything to say about this issue? Perhaps any insight on what distro you used to test this?

I ldd-ed mine, and the only differences are libGL related (I have an ATI Radeon HD 4650 and I’m using the fglrx drivers).

2c2
< libGL.so.1 => /usr/lib/fglrx/libGL.so.1
---
> libGL.so.1 => /usr/lib/nvidia-current/libGL.so.1
23c23,24
< libatiuki.so.1 => /usr/lib/fglrx/libatiuki.so.1
---
> libGLcore.so.1 => /usr/lib/nvidia-current/libGLcore.so.1
> libnvidia-tls.so.1 => /usr/lib/nvidia-current/tls/libnvidia-tls.so.1

I was actually more interested in you running ldd on the .so files packaged with the game, making sure you have the deps for them, that would tell a lot more about how your system is set up. There seem to be a couple errors here but i’d put money on some of your errors being an incompatible version of openal or libvorbis, or maybe some daemon locking the audio device not allowing openal direct access? (could happen if you’re running pulseaudio and the packaged openal doesnt have pulseaudio support)

you could also, if you have those libs installed, make it use your system libs instead (though if different versions were used you could have issues)

I bought the game but in the end it did not work.
In gdb:

Program received signal SIGSEGV, Segmentation fault. 0x0838dc5d in D3DXCreateTextureFromFileEx(IDirect3DDevice9*, char const*, unsigned int, unsigned int, unsigned int, unsigned int, _D3DFORMAT, _D3DPOOL, unsigned int, unsigned int, unsigned int, void*, void*, IDirect3DTexture9**) ()

64 bit Gentoo. Can you make game on latest version of linux? (ubuntu or arch)
When I porting Vangers for unix I compile with latest library and all fine work on people. And what is porting with D3DXCreateTextureFromFileEx??? WTF?

Here’s mine. I have NO idea how to tell if this openal doesn’t have pulseaudio support. Going to try pasuspender with it now, then have to run to kiddo’s school recital. Everybody fix this while I’m gone, okay? (joking)

libcurl.so.3: linux-gate.so.1 => (0xb78a9000) libidn.so.11 => /usr/lib/libidn.so.11 (0xb7826000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7822000) libz.so.1 => /lib/libz.so.1 (0xb780c000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb76b2000) /lib/ld-linux.so.2 (0xb78aa000) libogg.so.0: linux-gate.so.1 => (0xb7794000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7615000) /lib/ld-linux.so.2 (0xb7795000) libopenal.so.1: linux-gate.so.1 => (0xb7820000) librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb77ad000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7794000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb778f000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7769000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb760f000) /lib/ld-linux.so.2 (0xb7821000) libSDL-1.2.so.0: linux-gate.so.1 => (0xb78a4000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb77cb000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb77c7000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb77ad000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7653000) /lib/ld-linux.so.2 (0xb78a5000) libSDL_image-1.2.so.0: linux-gate.so.1 => (0xb78bb000) libSDL-1.2.so.0 => /usr/local/lib/libSDL-1.2.so.0 (0xb77e9000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb77d0000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7675000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb764f000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb764b000) libdirectfb-1.2.so.0 => /usr/lib/libdirectfb-1.2.so.0 (0xb75d4000) libfusion-1.2.so.0 => /usr/lib/libfusion-1.2.so.0 (0xb75ca000) libdirect-1.2.so.0 => /usr/lib/libdirect-1.2.so.0 (0xb75b3000) /lib/ld-linux.so.2 (0xb78bc000) libvorbisfile.so.3: linux-gate.so.1 => (0xb7899000) libvorbis.so.0 => /usr/local/lib/libvorbis.so.0 (0xb7847000) libogg.so.0 => /usr/local/lib/libogg.so.0 (0xb7840000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb76e5000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb76bf000) /lib/ld-linux.so.2 (0xb789a000) libvorbis.so.0: linux-gate.so.1 => (0xb76fe000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb768f000) libogg.so.0 => /usr/local/lib/libogg.so.0 (0xb7688000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb752d000) /lib/ld-linux.so.2 (0xb76ff000)

libcurl.so.3:
	linux-gate.so.1 =>  (0xb7838000)
	libidn.so.11 => /usr/lib/libidn.so.11 (0xb77c1000)
	libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb77bd000)
	libz.so.1 => /lib/libz.so.1 (0xb77a7000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb764d000)
	/lib/ld-linux.so.2 (0xb7839000)
libogg.so.0:
	linux-gate.so.1 =>  (0xb77d6000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7663000)
	/lib/ld-linux.so.2 (0xb77d7000)
libopenal.so.1:
	linux-gate.so.1 =>  (0xb7704000)
	librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb769d000)
	libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7684000)
	libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb767f000)
	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7659000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb74ff000)
	/lib/ld-linux.so.2 (0xb7705000)
libSDL-1.2.so.0:
	linux-gate.so.1 =>  (0xb7864000)
	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7797000)
	libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7793000)
	libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7779000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb761f000)
	/lib/ld-linux.so.2 (0xb7865000)
libSDL_image-1.2.so.0:
	linux-gate.so.1 =>  (0xb771f000)
	libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7661000)
	libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7648000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb74ed000)
	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb74c7000)
	libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb74c3000)
	libpulse-simple.so.0 => /usr/lib/libpulse-simple.so.0 (0xb74be000)
	libpulse.so.0 => /usr/lib/libpulse.so.0 (0xb747c000)
	libdirectfb-1.2.so.0 => /usr/lib/libdirectfb-1.2.so.0 (0xb7404000)
	libfusion-1.2.so.0 => /usr/lib/libfusion-1.2.so.0 (0xb73fa000)
	libdirect-1.2.so.0 => /usr/lib/libdirect-1.2.so.0 (0xb73e4000)
	/lib/ld-linux.so.2 (0xb7720000)
	libpulsecommon-0.9.21.so => /usr/lib/libpulsecommon-0.9.21.so (0xb7399000)
	librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7390000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb7272000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0xb7259000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0xb7250000)
	libXtst.so.6 => /usr/lib/libXtst.so.6 (0xb724a000)
	libwrap.so.0 => /lib/libwrap.so.0 (0xb7241000)
	libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0xb71d8000)
	libdbus-1.so.3 => /lib/libdbus-1.so.3 (0xb719f000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7185000)
	libuuid.so.1 => /lib/libuuid.so.1 (0xb7180000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xb7170000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0xb7161000)
	libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb714a000)
	libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0xb70fd000)
	libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb7001000)
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb6fd8000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0xb6fd0000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb6fcc000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6fc6000)
libvorbisfile.so.3:
	linux-gate.so.1 =>  (0xb7756000)
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7711000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0xb770a000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb75af000)
	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7589000)
	/lib/ld-linux.so.2 (0xb7757000)
libvorbis.so.0:
	linux-gate.so.1 =>  (0xb78a2000)
	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb783f000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0xb7838000)
	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb76dd000)
	/lib/ld-linux.so.2 (0xb78a3000)

Solution for Ubuntu users!

As per instructions I have installed the libpng12-0, libjpeg62, and libpng3 packages. I started investigating the libs more and found that there is a dead link in the libs. This is an Ubuntu defect.

strace of GSB shows that it is detecting /usr/lib/libpng.so.3 correctly. However when you list out the directory contents for the lib.

$ ls -l /usr/lib/libpng.so.3
lrwxrwxrwx 1 root root 18 2011-12-15 09:37 /usr/lib/libpng.so.3 -> libpng12.so.0
$ ls -l /usr/lib/libpng12.so.0
ls: cannot access /usr/lib/libpng12.so.0: No such file or directory
$ locate libpng12.so.0
/lib/libpng12.so.0
/lib/libpng12.so.0.42.0

FIX:
So basically when I fixed the dead link then the game works!

sudo rm /usr/lib/libpng.so.3
sudo ln -s /lib/libpng12.so.0 /usr/lib/libpng.so.3

ALTERNATE FIX:
Another alternative if you don’t want to delete anything is to link libpng12 to /usr/lib.

sudo ln -s /lib/libpng12.so.0 /usr/lib/

Even with the above fix the game still has a hard time getting to the menu. You have to rename or remove the title music ./data/sounds/music/main_title.ogg and even when you get into the menu the game still Segfaults when you click on certain menu options. I still have to investigate all of the other libs to get this to properly work.

Hello all,

I am aware of the 32bit GSB issues… And am working on fixing the problem. Also I will be putting out an updated build shortly that resolves the following isssues.

  • unable to press “V” in the multiplayer key entry screen
  • the png and jpeg loading issues
  • an Actual README for the linux build (Oh, I shall be FLOGGED for that one)
  • hopefully a fix to the infinite loop while loading the main_title.ogg

And to answer some other questions… the libopenal.so.1 that is included DOES have pulse audio support. For those of you who have played Amnesia the Dark Descent, the libs included here are the SAME ones from Amnesia. (same build system too)

Very cool. Is this the same one that’s currently in the .deb on the HIB page? (Sometimes talking computers makes me feel like I’m in the Army again…) Version numbers on them would be great when we’re doing this kind of bugsquashing so we can all make sure we’re talking about the same thing…

Unfortunately I didn’t package up the deb and rpms. And from other reports it seems the deb has the “newer” binary.

The .deb is working swimmingly for me here so far. Have a bunch of …ew… “real” work to do, so haven’t tested extensively. Registered online, went past main screen and booted just fine, all the main buttons seem to work.

Just put your key in file .positech/GSB/web/gsbcd (and username in .positech/GSB/web/gsbcdu)

works for me (even galactic conquest campaign starts : )

(Ubuntu 11.10 64 gnome shell)

OK everybody… There is a new binary I just submitted that fixes a number of issues affecting 32bit builds and some newer distributions. It should hopefully be updated sometimes soon on the HIB site.

I don’t know exactly what version I have, but at some point, I downloaded both the tar and the deb and only the deb worked, that may be useful to someone.

No problems so far (an 1h session), looking good :slight_smile:

EDIT: Using 32bit Debian squeeze with NVIDIA.