PlaneShift

Support => Linux Specific Issues => Topic started by: flaminblue on January 04, 2007, 12:20:09 am

Title: Segmentation fault (core dumped) when installing Planeshift
Post by: flaminblue on January 04, 2007, 12:20:09 am
Hi all  :thumbup:

I am using Ubuntu Linux and downloaded PlaneShift_CBV0.3.017.bin from PLaneshift official site
When I try to execute the bin file, it shows:

Quote
./PlaneShift_CBV0.3.017.bin
Segmentation fault (core dumped)

At first I thought something went wrong with the bin file while I am downloading it and redownloaded another time, but still facing the same error.

Would like to play the game very much, please give me some advice on how can I due with this error

Thanks~
Title: Re: Segmentation fault (core dumped) when installing Planeshift
Post by: Jenya on January 07, 2007, 03:01:25 am
Check the file's md5 signature by running md5sum PlaneShift_CBV0.3.017.bin.

The result should be: 894d599bb43838a57d8d45dd911a6bdd
Title: Re: Segmentation fault (core dumped) when installing Planeshift
Post by: Algar on January 21, 2007, 11:54:46 am
Hi

  I have the same error (Segmentation fault) under Debian etch with an amd64.  :@#\
  The md5sum is OK.

  Any ideas?

  Thx in advance.
Title: Re: Segmentation fault (core dumped) when installing Planeshift
Post by: Algar on January 21, 2007, 01:04:22 pm
Running:

 $ld PlaneShift_CBV0.3.017.bin
  ld: aviso: la arquitectura i386 del fichero de entrada `PlaneShift_CBV0.3.017.bin' es incompatible con la salida i386:x86-64
  ld: aviso: no se puede encontrar el símbolo de entrada _start; no se establece la dirección de inicio

 This means:
 ld: warning: the i386 architecture of the input file 'PlaneShift_CBV0.3.017.bin' is no compatible with the output i386:x86-64
 ld: warning: impossible to find the input symbol _start; the init direction has not been established.

So, has this version amd64 support like it says?

Title: Re: Segmentation fault (core dumped) when installing Planeshift
Post by: Xordan on January 21, 2007, 04:53:48 pm
Umm, why are you running ld on a binary file? ld is a linker, for linking object files into an executable. In this case, you've specified a 32-bit input but left the default output as 64-bit ;)

Your problem is probably that you're running a pure64 system, and don't have the required 32-bit emulation libs installed. (apt-get install ia32-libs)
Title: Re: Segmentation fault (core dumped) when installing Planeshift
Post by: Algar on January 22, 2007, 03:17:20 pm
ia32 was already installed.
I have compiled all the project without problems and it runs very well.

Thank you.
Title: Re: Segmentation fault (core dumped) when installing Planeshift
Post by: Xordan on January 22, 2007, 11:05:44 pm
Ok, great :)
Title: Re: Segmentation fault (core dumped) when installing Planeshift
Post by: Squatt on February 13, 2007, 09:34:47 pm
Hello,

I had the same issue, but I solved it without compiling the entire game.
In a shell, run :

export GTK_PATH=/usr/lib32/gtk-2.0
export PANGO_RC_FILE=/etc/pango32/pangorc
export GDK_PIXBUF_MODULE_FILE=/etc/gtk-2.0/gdk-pixbuf.loaders.32
./PlaneShift_CBV0.3.018.bin


Hope it helps.

Bye
Title: Re: Segmentation fault (core dumped) when installing Planeshift
Post by: Bodacher on February 13, 2007, 11:30:13 pm
For the first time in two years, I also had a segfault with the latest Linux graphical installer. ( I have not changed my distro since .017 so not sure what's causing this new problem).
Running the installer in text mode worked for me however and the game runs fine as usual...thanks once more Xordan!

Give it a try....
you@yourdesktop:~$ ./Planeshift_CBV0.3.018.bin --mode text

Edit: Oops, just realized this is an old post, but in case any one else has had trouble with the latest version of the installer I'll let it stand.