Author Topic: Problems launching PlaneShift ;Segmentation fault  (Read 1982 times)

Kibby

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Problems launching PlaneShift ;Segmentation fault
« on: October 04, 2010, 11:46:39 am »
Hi there,

After successfully installing PlaneShift 32bit version on Ubuntu 10.04, I launch the game and the program comes up for about 1 second without showing anything but a window with a black background. So I sudo ran it through the terminal and got the following error message. The WARNING's came up in yellow text and the ERROR's came up in red text.

Code: [Select]
WARNING: could not load plugin 'crystalspace.syntax.loader.service.text'
ERROR: Couldn't load plugin with class 'crystalspace.syntax.loader.service.text'!
WARNING: failed to initialize plugin 'crystalspace.graphics3d.shadercompiler.xmlshader'
WARNING: failed to initialize plugin 'crystalspace.graphics3d.shadercompiler.weaver'
WARNING: could not load plugin 'crystalspace.syntax.loader.service.text'
ERROR: Couldn't load plugin with class 'crystalspace.syntax.loader.service.text'!
WARNING: failed to initialize plugin 'crystalspace.graphics3d.shadercompiler.xmlshader'
WARNING: could not load plugin 'crystalspace.level.loader'
WARNING: could not load plugin 'crystalspace.level.loader'
WARNING: could not load plugin 'crystalspace.level.loader'
ERROR: Couldn't load plugin with class 'crystalspace.level.loader'!
WARNING: Can not load default shader vars, no iLoader available
Opening GLX2D
ATTENTION: default value of option force_s3tc_enable overridden by environment.
Checking for updates to the updater: Creating Context
Video driver GL/X version (direct renderer)
Visual ID: 0x00000021, 24bit TrueColor
R8:G8:B8:A8,
level 0, double buffered
WARNING: could not load plugin 'crystalspace.syntax.loader.service.text'
ERROR: Couldn't load plugin with class 'crystalspace.syntax.loader.service.text'!
NOTIFY: OpenGL renderer: Mesa DRI R300 (RV350 4153) 20090101 x86/MMX/SSE2 TCL DRI2 (vendor: DRI R300 Project) version 1.5 Mesa 7.7.1
NOTIFY: Using windowed mode at resolution 1024x768.
NOTIFY: Pixel format: Color: 24 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 0 AccumAlpha: 0 MultiSamples: 0
NOTIFY: Multisample: disabled
NOTIFY: Using VBO with 64 MB of VBO memory
Allocating 256 x 256 radeon RBO (pitch 256)
Default shader /shader/std_lighting.xml not available
Default shader /shader/std_lighting_portal.xml not available
WARNING: could not load plugin 'crystalspace.renderloop.step.generic.type'
Failed to load plugin crystalspace.renderloop.step.generic.type; pandemonium will ensue.
WARNING: could not load plugin 'crystalspace.rendermanager.unshadowed'
No rendermanager set!
Mounting skin: /planeshift/art/pslaunch.zip
Texture Manager parsing /paws/launcher/imagelist.xml
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/top_left_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/top_right_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/bottom_left_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/bottom_right_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/left_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/right_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/top_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/bottom_1.png<
DEBUG: Initializing OpenAL sound system
DEBUG: Retrieving available devices.
Segmentation
and here is the error log

Code: [Select]
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/top_left_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/top_right_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/bottom_left_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/bottom_right_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/left_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/right_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/top_1.png<
Mon Oct  4 19:30:44 2010, <src/common/paws/pawsimagedrawable.cpp:66 PreparePixmap SEVERE>
Mon Oct  4 19:30:44 2010, Could not open image: >/paws/base/maps/leather/bottom_1.png

Any help/suggestions would be greatly appreciated and also my computer does meet the minimum system requirements.
Thanks

RlyDontKnow

  • Associate Developer
  • Hydlaa Citizen
  • *
  • Posts: 403
    • View Profile
Re: Problems launching PlaneShift ;Segmentation fault
« Reply #1 on: October 04, 2010, 02:29:34 pm »
maybe get a backtrace using gdb?
but looks like your openal isn't configured properly, so I'd say check /etc/alsoftrc and ~/.alsoftrc that the default device is set properly and actually available

Kibby

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Re: Problems launching PlaneShift ;Segmentation fault
« Reply #2 on: October 06, 2010, 08:06:53 am »
ok thanks for ur suggestion, I'll see wat I can do.

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Problems launching PlaneShift ;Segmentation fault
« Reply #3 on: December 12, 2010, 07:00:38 am »
PlaneShift used to work fine for me on Debian testing 32 bit. After switching to Debian testing x86_64 it stopped working in full screen mode! (I'm using the same video card though - Geforce 6200).

Related error output is as follows:

Code: [Select]
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  129 (XFree86-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  Value in failed request:  0x4000002
  Serial number of failed request:  411
  Current serial number in output stream:  415
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
Segmentation fault

(Resolution was set to 1024x768 and it used to work perfectly with 32 bit Nvidia driver. But on 64 it just refuses to work). What can be the problem?
« Last Edit: December 12, 2010, 12:50:52 pm by Gilrond »

Gilrond

  • Hydlaa Notable
  • *
  • Posts: 764
    • View Profile
Re: Problems launching PlaneShift ;Segmentation fault
« Reply #4 on: December 12, 2010, 08:14:13 am »
Hmm. I think I found a workaround - switching the X to required resolution beforehand, and running psclient explicitly works OK. I'm not sure why it can't switch the resolution by itself though... Should I file a bug about it?