PlaneShift

Support => Technical Help: Problems BEFORE entering the game => Topic started by: autir on September 16, 2002, 02:18:03 pm

Title: Segmentation Fault
Post by: autir on September 16, 2002, 02:18:03 pm
Time of test: Mon Sep 16 15:11
    OS: Red Hat Linux 7.0
    Processor: Intel Celeron Tualatin 1300 Mhz
    RAM: 256 Mb
    Video Card: Manli Nvidia RIVA TNT2 M64
    Video Card Memory: 32 Mb
    PS Client Version: 1.004
    OpenGL or Safe Mode: Safe

    Description of the bug:
When I execute \"psclient\", the following happens:
[autir@sith devel]$ psclient
cli cli.c exams.txt exam.txt graphics huc ser ser.c Starting planeshift client
WARNING: cssgiimg, failed to load, because:
 /usr/local/crystal/cssgiimg.so: file not found
  /usr/local/crystal/lib/cssgiimg.so: file not found
  /usr/local/games/planeshift/cssgiimg.so: file not found
WARNING: could not load plugin \'crystalspace.graphic.image.io.sgi\'
WARNING: cswalimg, failed to load, because:
  /usr/local/crystal/cswalimg.so: file not found
  /usr/local/crystal/lib/cswalimg.so: file not found
  /usr/local/games/planeshift/cswalimg.so: file not found
WARNING: could not load plugin \'crystalspace.graphic.image.io.wal\'
WARNING: motion, failed to load, because:
    /usr/local/crystal/motion.so: file not found
    /usr/local/crystal/lib/motion.so: file not found
    /usr/local/games/planeshift/motion.so: file not found
WARNING: could not load plugin \'crystalspace.motion.manager.default\'
WARNING: sndmod, failed to load, because:
    /usr/local/crystal/sndmod.so: file not found
    /usr/local/crystal/lib/sndmod.so: file not found
    /usr/local/games/planeshift/sndmod.so: file not found
WARNING: could not load plugin \'crystalspace.sound.loader.mod\'
WARNING: sndogg, failed to load, because:
  /usr/local/crystal/sndogg.so: file not found
    /usr/local/crystal/lib/sndogg.so: file not found
    /usr/local/games/planeshift/sndogg.so: file not found
WARNING: could not load plugin \'crystalspace.sound.loader.ogg\'
Mount: $.$/ -> /planeshift/...ok!
Mount: $.$/art$/textures$/ -> /planeshift/textures/...ok!
Mount: ./art/world/dungeon.zip -> /planeshift/world/dungeon...ok!
Mount: ./art/world/roads38.zip -> /planeshift/world/roads38...ok!
Mount: /planeshift/world/ -> /this/art/world/...ok!
Mount: ./art/models.zip -> /planeshift/models/...ok!
planeshift.application.client: Planeshift Atomic Blue
planeshift.application.client: This game uses Crystal Space Engine created by Jorrit and others
planeshift.application.client: 0.95 rdev [Linux-X86-GCC]
planeshift.sound: Warning: Couldn\'t initialize soundplugin.
planeshift.application.client: Cannot initialize iSoundManager
crystalspace.font.csfont: Could not read font file /fonts/ttf/scurlock12.csf.
Detected res of 800x600, changing font
/usr/bin/psclient: line 13:  1093 Segmentation fault      ./bin/psclient-exec $@
[autir@sith devel]$

Note that the first output I receive is:
cli cli.c exams.txt exam.txt graphics huc ser ser.c
which are the names of the files in my current directory!
Any thoughts anybody???
Title: hmm...
Post by: autir on September 16, 2002, 03:37:49 pm
Well, I begun tinkering with the psclient.cfg file. It looks like I lack certain plugins like the Image Loader. I have downloaded all four .rpm files needed from the Planeshift homepage. Is it possible that my library is of an incorrect version?
Title:
Post by: Link on September 17, 2002, 01:26:58 am
Does the game stop there or does it continue to load?
Title:
Post by: autir on September 18, 2002, 03:56:42 pm
It stops right there. It creates a window which dies after 2-3 seconds.

I have tried everything: I downloaded the sources of Crystal Space along with all the other stuff it needs to compile (The ogg/vorbis sound libraries, the freetype font headers etc.) After two days of efforts, and after getting unable to get rid of the message \"iDialog: failed to initialise\", I quit.

A statically-linked binary would solve many problems. If this is impossible, at least a decent crystal-snapshot .rpm is mandatory.
Title:
Post by: VanadiumXero on September 22, 2002, 12:43:49 am
I ran into similar problems.  The game would load the title screen, but after I logged in, the screen would render and then the game would crash.  In my case, I believe that it had something to do with the sound renderer.  I edited my psclient.cfg and put the semicolon back in front of the line: System.PlugIns.iSoundRender = Crystalspace.sound.render.software

The game seems to work fine for me now.