Game Hangs on Title Screen (linux)

User avatar
urkle
Supreme Robot
Supreme Robot
Posts: 130
Joined: Thu Dec 15, 2011 2:27 pm
Contact:

Re: Game Hangs on Title Screen (linux)

Postby urkle » Thu Dec 15, 2011 3:13 pm

Alright, can you give run that thing through gdb and give me a backtrace?

Code: Select all

gdb ./GSB.bin.x86
(gdb) run
.. wait for crash ..
(gdb) thread apply all bt


you may want to edit your ~/.positech/GSB/prefs.ini to make GDB run in windowed mode when you do that. (windowed = 1 )
Developing away on one of
Mac Pro Dual 2Ghz, 14GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
_UsUrPeR_
Senior Line Worker
Senior Line Worker
Posts: 8
Joined: Thu Dec 15, 2011 3:01 am

Re: Game Hangs on Title Screen (linux)

Postby _UsUrPeR_ » Thu Dec 15, 2011 3:20 pm

Strangely enough, running with GDB, the game does not "crash". It freezes during the startup menu. I have to manually kill the process in order to get Xwindows control back.

Code: Select all

/usr/local/games/gsb# gdb ./GSB.bin.x86
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/games/gsb/GSB.bin.x86...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/local/games/gsb/GSB.bin.x86
[Thread debugging using libthread_db enabled]
[New Thread 0xb7c93b70 (LWP 5415)]
[New Thread 0xb6b07b70 (LWP 5416)]
[New Thread 0xaad05b70 (LWP 5418)]

Program received signal SIGSEGV, Segmentation fault.
0x00696fc6 in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) thread apply all bt
Cannot find new threads: generic error
dean36963
Junior Line Worker
Junior Line Worker
Posts: 4
Joined: Wed Dec 14, 2011 8:32 pm

Re: Game Hangs on Title Screen (linux)

Postby dean36963 » Thu Dec 15, 2011 3:28 pm

I have already checked the md5sum for the tar.gz I was using was correct:

Code: Select all

f71e9f3aeb2228a235c76dddbf45c94e

Sorry, but as the deb file was working for me I deleted it, so I'm unsure what the checksum is, but I assume it was right:

Code: Select all

a7bda6ba08825e0892a8a0d92cd0e33d
User avatar
urkle
Supreme Robot
Supreme Robot
Posts: 130
Joined: Thu Dec 15, 2011 2:27 pm
Contact:

Re: Game Hangs on Title Screen (linux)

Postby urkle » Thu Dec 15, 2011 3:31 pm

[quote="_UsUrPeR_"]Strangely enough, running with GDB, the game does not "crash". It freezes during the startup menu. I have to manually kill the process in order to get Xwindows control back.[/code]

Nice.. ok.. did you set it to windowed mode? make sure to edit the ~/.positech/GSB/prefs.ini and set it to windowed mode. Then use "CTRL-C" in the GDB window to interrupt the game and run the "thread apply all bt" from there.
Developing away on one of
Mac Pro Dual 2Ghz, 14GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
User avatar
urkle
Supreme Robot
Supreme Robot
Posts: 130
Joined: Thu Dec 15, 2011 2:27 pm
Contact:

Re: Game Hangs on Title Screen (linux)

Postby urkle » Thu Dec 15, 2011 3:32 pm

dean36963 wrote:I have already checked the md5sum for the tar.gz I was using was correct:

Code: Select all

f71e9f3aeb2228a235c76dddbf45c94e

Sorry, but as the deb file was working for me I deleted it, so I'm unsure what the checksum is, but I assume it was right:

Code: Select all

a7bda6ba08825e0892a8a0d92cd0e33d


Are those the md5 checksums of the tar.gz and deb files? or the "GSB.bin.x86" file within them? (I just wand the md5 of the GSB.bin.x86 file itself)
Developing away on one of
Mac Pro Dual 2Ghz, 14GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
User avatar
urkle
Supreme Robot
Supreme Robot
Posts: 130
Joined: Thu Dec 15, 2011 2:27 pm
Contact:

Re: Game Hangs on Title Screen (linux)

Postby urkle » Thu Dec 15, 2011 4:37 pm

Alright the issue is as I suspected.. Someone packaged the wrong binaries. I'm working on building some new binaries that fix some other issues and will get the up ASAP.
Developing away on one of
Mac Pro Dual 2Ghz, 14GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
User avatar
urkle
Supreme Robot
Supreme Robot
Posts: 130
Joined: Thu Dec 15, 2011 2:27 pm
Contact:

Re: Game Hangs on Title Screen (linux)

Postby urkle » Thu Dec 15, 2011 8:49 pm

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.
Developing away on one of
Mac Pro Dual 2Ghz, 14GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
_UsUrPeR_
Senior Line Worker
Senior Line Worker
Posts: 8
Joined: Thu Dec 15, 2011 3:01 am

Re: Game Hangs on Title Screen (linux)

Postby _UsUrPeR_ » Fri Dec 16, 2011 1:19 am

It should hopefully be updated sometimes soon on the HIB site.


When can we expect to be able to download this?
Dogun
Senior Line Worker
Senior Line Worker
Posts: 5
Joined: Tue Jun 08, 2010 3:58 am

Re: Game Hangs on Title Screen (linux)

Postby Dogun » Fri Dec 16, 2011 3:42 am

# md5sum GSB.bin.x86
e0b665ec7a4d89ec0009cb70df1066f3 GSB.bin.x86

This is the .deb release from humble bundle. I previously was using the .tar.gz humble bundle, and had issues.

Note that I have had to compile libpng12.so and libjpeg.so.62 and add them to the GSB launch script LD_LIBRARY_PATH in order to get stuff (mostly) working.

My recommendation is to also include libpng12 and libjpeg.so.62 in the 'libs' directory, in addition to the stuff you added for the .deb;I'm not sure this resolves everything, but it probably come close to resolving the library issues.

There are still unchecked library error conditions that need to be checked (see the thread apply all stack trace for example)
_UsUrPeR_
Senior Line Worker
Senior Line Worker
Posts: 8
Joined: Thu Dec 15, 2011 3:01 am

Re: Game Hangs on Title Screen (linux)

Postby _UsUrPeR_ » Fri Dec 16, 2011 8:52 pm

Still having problems after newest update.

Code: Select all

rm -rv /usr/local/games/GSB
rm -rv ~/.positech
cd ~/Downloads/
chmod +x ./GSB-1323988330.sh
./GSB-1323988330.sh


I installed it back in /usr/local/games

start program:

Code: Select all

./GSB.bin.x86
Segmentation fault


md5sum:

Code: Select all

~/Downloads$ md5sum ./GSB-1323988330.sh
077cb163aef1480e6ed8c367e2b0a74a  ./GSB-1323988330.sh
User avatar
urkle
Supreme Robot
Supreme Robot
Posts: 130
Joined: Thu Dec 15, 2011 2:27 pm
Contact:

Re: Game Hangs on Title Screen (linux)

Postby urkle » Fri Dec 16, 2011 10:58 pm

_UsUrPeR_ wrote:Still having problems after newest update.

I installed it back in /usr/local/games

should be no problem.. the game doesn't write to the game folder.

start program:

Code: Select all

./GSB.bin.x86
Segmentation fault



OK, can you get a stack trace of the game? (GDB).. This will probably require you running it in a window so you can switch over to GDB.

Also what resolution are you trying to run it at? (or rather what is your desktop set at). you can check your ~/.positech/GSB/prefs.ini to force set a resolution/windowed mode.
Developing away on one of
Mac Pro Dual 2Ghz, 14GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB

Return to “Linux Support”

Who is online

Users browsing this forum: No registered users and 6 guests