Author Topic: Segmentation Fault on install in FC5  (Read 5490 times)

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #30 on: April 20, 2006, 12:04:43 am »
Nice job finding that. :)

nightmarcus

  • Traveller
  • *
  • Posts: 24
    • View Profile
(No subject)
« Reply #31 on: April 21, 2006, 12:17:24 pm »
I know you\'ve already been thanked, but not by me, lol.  Thank you,  you are a godsend.

1Samildanach

  • Traveller
  • *
  • Posts: 34
    • View Profile
Re: Solution
« Reply #32 on: April 29, 2006, 09:45:47 am »
You are right, it is kernel related problem. The installer is UPX-packed executable and it needs permission to execute code stored in stack area.

As root use command:

sysctl kernel.exec-shield=1

(I think echo \"1\" > /proc/sys/kernel/exec-shield would work too)

then run Planeshift installer.


The second one worked for me. The first one didn't. Thank you :).

Geri

  • Wayfarer
  • *
  • Posts: 9
  • a.k.a. Dandra Enlite & Minix Tombro
    • View Profile
    • German PlaneShift Community
Re: Solution
« Reply #33 on: November 06, 2008, 04:15:27 pm »
Unfortunately, neither worked on my Fedora 9.91 (a.k.a. F10 Beta). When I ran  PlaneShift-v0.4.2-x86.bin  I got:  PROT_EXEC|PROT_WRITE failed.

sardit's  chcon...  was not appropriate for me, since I do not have  /nvidia/  in  /usr/lib/xorg/modules/extensions/.

On the Fedora Desktop I tried:  System  --> Administration  --> SELinux Management  --> Boolean  --> Module: global  --> „Allow unconfined executables to map a memory region as both executable and writable” and the PS-Installer started.

P.S.: I ignored: „this is dangerous and the executable should be reported in bugzilla:-X
« Last Edit: November 06, 2008, 04:21:01 pm by Geri »