Author Topic: Segmentation fault (core dumped) when installing Planeshift  (Read 1063 times)

flaminblue

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Segmentation fault (core dumped) when installing Planeshift
« on: January 03, 2007, 06:20:09 pm »
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~

Jenya

  • Traveller
  • *
  • Posts: 28
    • View Profile
Re: Segmentation fault (core dumped) when installing Planeshift
« Reply #1 on: January 06, 2007, 09:01:25 pm »
Check the file's md5 signature by running md5sum PlaneShift_CBV0.3.017.bin.

The result should be: 894d599bb43838a57d8d45dd911a6bdd

Algar

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Segmentation fault (core dumped) when installing Planeshift
« Reply #2 on: January 21, 2007, 05: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.

Algar

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Segmentation fault (core dumped) when installing Planeshift
« Reply #3 on: January 21, 2007, 07:04:22 am »
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?


Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: Segmentation fault (core dumped) when installing Planeshift
« Reply #4 on: January 21, 2007, 10:53:48 am »
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)

Algar

  • Wayfarer
  • *
  • Posts: 6
    • View Profile
Re: Segmentation fault (core dumped) when installing Planeshift
« Reply #5 on: January 22, 2007, 09:17:20 am »
ia32 was already installed.
I have compiled all the project without problems and it runs very well.

Thank you.

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: Segmentation fault (core dumped) when installing Planeshift
« Reply #6 on: January 22, 2007, 05:05:44 pm »
Ok, great :)

Squatt

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Re: Segmentation fault (core dumped) when installing Planeshift
« Reply #7 on: February 13, 2007, 03: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

Bodacher

  • Traveller
  • *
  • Posts: 44
    • View Profile
Re: Segmentation fault (core dumped) when installing Planeshift
« Reply #8 on: February 13, 2007, 05: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.
« Last Edit: February 13, 2007, 05:41:39 pm by Bodacher »