Summary: | Planeshift segfaults on startup | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Adam <adam> |
Component: | [OLD] Games | Assignee: | Philip Walls (RETIRED) <malverian> |
Status: | RESOLVED WONTFIX | ||
Severity: | critical | CC: | kalium, moloh, sgtphou |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Adam
2005-05-22 12:56:52 UTC
I saw the same ... it happens that the file is not present in /opt/planeshift/data. I did "touch config/gldrivers.xml" and it finds the file (so paths are correct). But since the file has no content it still segaults. I searched in cvs if the file is present ... it isn't, not even in Attic. I'm using a ATi Radeon 9700 Pro with DRI drivers (don't know if that matters, but I saw things run on nvidia that didn't run on ATi). i can run game with CRYSTAL=/opt/crystal/bin/ or CRYSTAL=. from planeshift folder, not CRYSTAL=/opt/crystal/ as default after crystalspace installation. But pssetup segfaults all the time... i said about segfault of /opt/planeshift/pssetup to make it work You must change /opt/planeshift/pssetup.cfg line: System.PlugIns.iImageIO = crystalspace.graphic.image.io.multiplex to line: System.PlugIns.iImageIO = crystalspace.graphic.image.io.multiplexer and it works... note about CRYSTAL variable is same for setup... Can sb. change ebuild, or package contents to add definition of CRYSTAL variable(with config error maybe same solution) to starter script in /usr/games/bin/planeshift* ? and thanks for this ebuild! I'm getting nearly the same output as in the original report (line 8 instead of line 5). /opt/planeshift/pssetup.cfg already uses crystalspace.graphic.image.io.multiplexer and changing it back to crystalspace.graphic.image.io.multiplex makes no difference. CRYSTAL=/opt/crystal/bin hasn't helped, either. Comment about pssetup.cfg is from planeshift forums (it was bug in game makers package). I've found it there. There is also problem with some texture that will crash game randomly, it should be deleted (more info on planeshift forums, Platyna posts in linux client problems section). For me Your problem with line 8, not 5 can be completely different from this one in bug raport. But i'am not expert in crystalspace problems. I found out that it is an ATi specific problem. I ran it in gdb and it segfaulted. The backtrace showed me "0xb74ebe74 in _mesa_test_os_sse_exception_support () from /usr/lib/modules/dri/r200_dri.so", which is quite obvious a bug in DRI's r200 support (with xorg-x11-6.8.99.14). Can someone confirm this? Or get it running with fglrx instead of DRI? (I'd have to downgrade my xorg-x11 to use fglrx, which I dislike) i run fglrx driver and have this segfault... for me it's crystal problem. I run nvidia, and I also have the problem, so I don't think it'd be ATi. Or at least, *my* problem isn't ATi. I'm getting same error on radeon driver (xorg) also line 8, sigsegv and this error shows up when choosing character for new player running psclient on gdb ends prematurely with SIGFPE from radeon_dri.so, Arithmetic exception, but I think it's not related to the first one I attached gdb to running psclient and got some more info about my segfault: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1211459392 (LWP 9269)] 0xad9a5336 in CalBoundingBox::computePoints () from /usr/lib/libcal3d.so.11 finally I repaired this by reemerging cal3d: # CFLAGS="-march=i686" CXXFLAGS="-march=i686" emerge cal3d -march=p4 seams to break things, I've had same error with one of dependency ebuilds for dosbox maybe that line 4 segfault is something simillar, anyone with this problem - please start psclient (remember to set planeshift flags) and than run gdb and try attach <psclient-pid>, then continue, after that backtrace I tried all from above: CRYSTAL=/opt/crystal/bin/ System.PlugIns.iImageIO = crystalspace.graphic.image.io.multiplexer (unchanged) CFLAGS="-march=i386" CXXFLAGS=${CFLAGS} emerge --oneshot cal3d crystalspace planeshift openal jam cel I get this error now: $planeshift-updater Opening GLX2D Creating Context Video driver GL/X version (indirect renderer) Indirect rendering may indicate a flawed OpenGL setup if you run on a local X server. Visual ID: 0x00000022, 24bit TrueColor R8:G8:B8:A0, level 0, double buffered WARNING: Could not open driver database file '/config/gldrivers.xml' NOTIFY: OpenGL renderer: Mesa GLX Indirect (vendor: Mesa project: www.mesa3d.org) version 1.2 (1.5 Mesa 6.2.1) NOTIFY: Using windowed mode at resolution 640x480. NOTIFY: Pixel format: Color: 24 Alpha: 0 Depth: 16 Stencil: 0 AccumColor: 24 AccumAlpha: 0 MultiSamples: 0 WARNING: Shader std_lighting.xml not available Failure imminent! /usr/games/bin/planeshift-updater: line 8: 9247 Segmentation fault ./updater $@ As you can see I am using no OpenGL card at all. (Intel onBoard with 8 MB of shared memory) I'm using Mesa that is included in xorg for software rendering. I've tried using the binaries from www.planeshift.it - they are working fine. I will try USE="debug" emerge planeshift and look for more information Regards to Comment #11 : You might also nead to use FEATURES="-strip" (or maybe it was "nostript", i forget), so that portage does not strip debugging symbols from the binary. ok. Now, I am stupid. #) At the end of 'emerge planshift' it says: "Run planeshift-updater -auto" Well, I did not use the -auto switch, but this is needed. So I recompiled it without any debug options and with full optimizations and ran planeshift-updater -auto. Now it works fine. I found it in /opt and it is all in the games group. sorry for that last comment, it was supposed to go in the other planeshift bug. ;-) Planeshift source builds have been masked and are pending removal from portage tree. |