Author Topic: Linux Version Crashes Before Startup  (Read 1352 times)

nightmarcus

  • Traveller
  • *
  • Posts: 24
    • View Profile
Linux Version Crashes Before Startup
« on: October 06, 2006, 08:29:27 am »
The older version of Planeshift worked fine for me on this PC with no issues.  I just did a completely clean install of the latest version, and nothing works "except" the uninstaller, :P.  The Updater, Game Client and Planeshift setup all crash.  I tried running the files from bash and all I got was the message, "Segmentation Fault" with all of them.  That was it.  As I said I ran the older version on this same computer in this same OS with no issues, so I'm not sure what happened.  Here are my system specs:

Operating System: Fedora Core 5 Linux
Kernel Version: 2.6.17-1.2187_FC5 i686
Window Manager: Gnome 2.14.3
Processor: 2.2 Ghz Intel Celeron
RAM: 1 GB DDR1
Graphics Card: 256 MB NVidia GeForce FX 5500

Would me installing it to /usr/games instead of the default /opt cause a problem?

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: Linux Version Crashes Before Startup
« Reply #1 on: October 06, 2006, 02:44:15 pm »
Try installing it to the same place you installed your last version. I'm not sure how the location could cause a segfault though. Maybe try installing the old version over the new one and running the updater from the console with the -auto arguement (./updater -auto).

garbald

  • Traveller
  • *
  • Posts: 16
    • View Profile
Re: Linux Version Crashes Before Startup
« Reply #2 on: October 09, 2006, 06:41:01 pm »
I experience the same problem. I even compiled a fresh LINUX version of the client from the sources. The effect is still that anything which needs graphics just immediately crashes without doing anything visible.

We both use the same graphics card and OS, so the problem can probably be found somewhere between the graphics card driver, the system libraries and PS. The crash occurs somewhere deep in the system's graphics libraries and occurs right after the start of the program, so it is probably during initialization.

If some kind soul can guide me a bit, I might be able to track the problem down a bit more. The crash happens deep inside system libraries that seem to have come with the NVIDIA driver, so there are no debugging symbols available for this part of the stack trace. On the other hand, perhaps a stack trace back to the PS client already might be of some help.

BTW I also performed a complete auto-update which ran to completion without any recognizable problems. :(
« Last Edit: October 09, 2006, 06:49:39 pm by garbald »

Peacer

  • Veteran
  • *
  • Posts: 1079
  • I've got balls of steel
    • View Profile
Re: Linux Version Crashes Before Startup
« Reply #3 on: October 11, 2006, 09:20:18 am »
The older version of Planeshift worked fine for me on this PC with no issues.  I just did a completely clean install of the latest version, and nothing works "except" the uninstaller, :P.  The Updater, Game Client and Planeshift setup all crash.  I tried running the files from bash and all I got was the message, "Segmentation Fault" with all of them.  That was it.  As I said I ran the older version on this same computer in this same OS with no issues, so I'm not sure what happened.  Here are my system specs:

Operating System: Fedora Core 5 Linux
Kernel Version: 2.6.17-1.2187_FC5 i686
Window Manager: Gnome 2.14.3
Processor: 2.2 Ghz Intel Celeron
RAM: 1 GB DDR1
Graphics Card: 256 MB NVidia GeForce FX 5500

Would me installing it to /usr/games instead of the default /opt cause a problem?

have you remembered making them executable? Usually only the uninstall script/binary is set like this as default (if i remember correctly)
The Guardians of Power

left the game, looking in now and then to check progress, if you want to contact me use the email attached to the msn contact on this forum account

nightmarcus

  • Traveller
  • *
  • Posts: 24
    • View Profile
Re: Linux Version Crashes Before Startup
« Reply #4 on: October 11, 2006, 11:05:39 pm »
The older version of Planeshift worked fine for me on this PC with no issues.  I just did a completely clean install of the latest version, and nothing works "except" the uninstaller, :P.  The Updater, Game Client and Planeshift setup all crash.  I tried running the files from bash and all I got was the message, "Segmentation Fault" with all of them.  That was it.  As I said I ran the older version on this same computer in this same OS with no issues, so I'm not sure what happened.  Here are my system specs:

Operating System: Fedora Core 5 Linux
Kernel Version: 2.6.17-1.2187_FC5 i686
Window Manager: Gnome 2.14.3
Processor: 2.2 Ghz Intel Celeron
RAM: 1 GB DDR1
Graphics Card: 256 MB NVidia GeForce FX 5500

Would me installing it to /usr/games instead of the default /opt cause a problem?

have you remembered making them executable? Usually only the uninstall script/binary is set like this as default (if i remember correctly)

I did a chmod -R a+rwx /usr/games so that should've taken care of it, but I'm pretty sure even if I hadn't it would have just said permission denied instead of spitting out a Segmentation fault.

nightmarcus

  • Traveller
  • *
  • Posts: 24
    • View Profile
Re: Linux Version Crashes Before Startup
« Reply #5 on: October 22, 2006, 04:10:54 am »
Just an update.  I got around to just re-installing my OS.  No problems, it was just really really cluttered, I wanted to switch back to KDE and didn't want to spend forever removing remnants of old Gnome stuff and installing things that I found missing, so I just did a re-install and installed KDE this time around.  Not sure what's different this time, same kernel, same hardware, same OS, but now the game runs perfectly, except for no sound, but it's starting up and connecting, so I'm happy.  There's probably a topic regarding this sound issue somewhere in the forum here, so hunting I shall go!

nightmarcus

  • Traveller
  • *
  • Posts: 24
    • View Profile
Re: Linux Version Crashes Before Startup
« Reply #6 on: October 22, 2006, 04:30:44 am »
Sound issue fixed, after reading a few topics I moved (didn't want to delete in case it didn't work) the libasound.so file out of /libs and sure enough after getting rid of that file, my sound kicked in and everything works without a hitch.

garbald

  • Traveller
  • *
  • Posts: 16
    • View Profile
Re: Linux Version Crashes Before Startup
« Reply #7 on: November 11, 2006, 01:24:51 pm »
What nightmarcus fixed with a reinstall I finally succeeded with a little more subtility ;)

The reason for the crash were libGL and libGLcore files and symbolic links that were left over from an earlier release of the Nvidia driver.

Between the last and the current driver release these libraries moved from the /usr/lib directory to /usr/lib/nvidia and the older libraries in /usr/lib were not removed during that update. Using the old libraries for the earlier driver with the new driver resulted in the crash during initialization. Simply removing the files and links for libGL and libGLcore in /usr/lib (which were not owned by a package anymore) fixed the problem. Linux has me back!

* garbald jumps up and down happily  ;D \\o// :thumbup: