PlaneShift
Support => Linux Specific Issues => Topic started by: Kundalf on July 08, 2006, 09:40:14 pm
-
Hi there
I have compiled everything from cal3d to PS without errors or warnings. But as soon as I want to connect to the server the game segfaults. In the console I can see, that a lot of plugins could not be loaded. Is this due to missing data/art or du to some compilation problem?
<src/common/paws/pawstexturemanager.cpp:371> CreateTexture:
Could not open image: >/paws/skin/backdrop/charborder.dds<
<src/common/paws/pawswidget.cpp:2482> SetMaskingImage:
Could not locate masking image charborder for widget PaperDollView
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=dermm),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=enkif),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=enkim),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=fynnwn),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=klyrosm),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=kran),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=stonebf),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=stonebm),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=ylianm),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=ynnwnm),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=carkarass),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=clacker),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=consumer),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=gobble),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=grendol),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=groffel),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=rat),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=rogue),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=tefusang),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=trepor),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=ulbernaut),plugin]
crystalspace.pluginmgr.loadplugin:
could not load plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'
crystalspace.maploader.parse.meshfact:
Error loading plugin 'crystalspace.mesh.loader.factory.sprite.cal3d'!
[node: library,meshfact(name=yulbar),plugin]
-
My first guess would be that you didn't export the CAL3D environment variable when configuring CS. The configure script didn't find cal3d libraries and the cal3d plugin wasn't built.
-
I have the same error after building from cvs/svn.
I exported the enviroment vars as written in that howto: http://planeshift.cvs.sourceforge.net/*checkout*/planeshift/planeshift/docs/compiling.html
The first time i tired to connect to a server I saw the "Create New Caracter" screen. But now it crashes
I repeated the configure parts of that howto, and rebuildet everything again, seems if i wrecked up the LD_LIBRARY_PATH.
But now the game doesn't even crash earlier when it tries to load during the slash screen.
console output:
DEBUG: Sound System Software Renderer Initializing...
crystalspace.canvas.glx2d:
Opening GLX2D
Creating Context
Entering fullscreen: win 1200, 800 to fs_mode 1280, 800
crystalspace.window.x.extf86vm:
FULL SCREEN: 1280, 800
crystalspace.canvas.glx2d:
Video driver GL/X version (direct renderer)
Visual ID: 0x00000027, 24bit TrueColor
R8:G8:B8:A8,
level 0, double buffered
crystalspace.canvas.openglcommon.driverdb:
Applied: Disable VBO for GNU/Linux ATI drivers
Applied: Broken ATI point sprites (ATI)
Applied: ATI: Can't handle compressed formats for RECT textures
Applied: ATI: RECT texture extension support apparently sucks
Applied: ATI: Use AFP for some 2D drawing
crystalspace.canvas.openglcommon:
OpenGL renderer: MOBILITY RADEON 9700 Generic (vendor: ATI Technologies
Inc.) version 2.0.5879 (8.26.18)
Using full screen mode at resolution 1200x800.
Pixel format: Color: 24 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 0
AccumAlpha: 0 MultiSamples: 0
Multisample: disabled
planeshift.application.client:
PlaneShift Crystal Blue
This game uses Crystal Space Engine created by Jorrit and others
0.99 r0 [Unix-x86-GCC]
All LOGS are off.
Mounting skin: /this/art/skins/default.zip
Mounting skin: /planeshift/art/skins/base/client_base.zip
psEngine initialized.
Using fontsize 17 for resolution 1200x800
*** glibc detected *** free(): invalid pointer: 0x084ceee0 ***
Abgebrochen
-
when you see that invalid pointer error try running this command before running planeshift:
export MALLOC_CHECK_=0
-
i allready did that, becouse i read about it in another thread.
the invalid pointer error then becomes an segfault, and the game dies at exactly the same point.
I tried to build PS from the newest cvs sources too, and the game crashes at eactly this spot.
Here the output i get from my current install (current cvs buils, not the revision from the howto):
DEBUG: Sound System Software Renderer Initializing...
planeshift.application.client:
PlaneShift Crystal Blue
This game uses Crystal Space Engine created by Jorrit and others
0.99 r0 [Unix-x86-GCC]
LOG_ANY flag deactivated.
LOG_WEATHER flag deactivated.
LOG_SPAWN flag deactivated.
[lots of other logs deactivated...]
LOG_DUELS flag deactivated.
All LOGS are off.
Mounting skin: /this/art/skins/default.zip
Mounting skin: /planeshift/art/skins/base/client_base.zip
psEngine initialized.
Using fontsize 16 for resolution 1024x768
Speicherzugriffsfehler
[/coded]
-
Could you satisfy my curiosity and tell, what version of gcc do You use ? I suspect that You are next one, which has problems with cal3d library (workaround for me is using gcc 4.x instead of 3.4).
-
I was using gcc 3.4 during my "trials". ;)
So you think using gcc 4.0 could help?
Thread-Modell: posix
gcc-Version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
{/code]
-
Give it a try if You can. Both 4.0.1 and 4.1.1 give me better results than 3.4.x. Be careful and don't mix libraries from gcc 3.x and 4.x in your system, use --enable-version-specific-libs (or something like this) when ./configuring gcc 4.x before compilation/installation.
-
mhh i planned to use a plain gcc 4.1.0 without any new libs.
My glibc (glibc-2.3.6-r4) etc should be recent enough to work with that.
Gentoo supports different slots for packages and this way I can use gcc 4.1.0 without the risk of damaging my system (or the need to rebuild it, with new glibc/gcc). ;)
-
looks exactly the same when using gcc 4.1.
glibc invalid pointer, and when disabling the MALLOC-Check it simply segfaults.
-
Stevit, I would advise you to try the combination of gcc-4.1.1 / glibc 2.4xx.
I compiled Planeshift successfully with gcc-4.1.1 and glibc-2.4 on AMD64 (devel archictecture ~AMD64)..
Use something like tcupdate script (you can find it on the gentoo forums) for updating the toolchain correctly.
Keli
-
mhhh... i don't know if ia am willed to take that time eating procedure for building planeshift. ;)
had hoped i could avoid this by just updating gcc and leave my toolchain as it is.
but thanks anyway. perhaps i'll give it a try ;)