Created attachment 165603 [details]
Output of ktrace / kdump
When trying to run the 64bit X-Plane installer it ends with a segfault.
System is a 10.2-STABLE with the linux64.ko module loaded and the nvidia driver installed. 64bit libraries for the driver are in place.
Now i have run ktrace / kdump. For the results see the attachment
(In reply to Stefan Rumetshofer from comment #0)
Stefan, can you, please, update to the latest stable/10 (you need at least r294135) and rebuild and reinstall linux64.ko and usr.bin/kdump, then do
kdump -HAR -m 128 over ktrace.out
your dump looks odd:)
Created attachment 165770 [details]
Output of kdump (rev. 294277)
(In reply to Dmitry Chagin from comment #2)
After updating to rev. 294277 i rebuilt world and kernel and loaded the linux64.ko. The output is in the attachment.
(In reply to Stefan Rumetshofer from comment #4)
Thank you, now I see where the problem is:
820 100219 X-Plane 10 Installe 0.000006 CALL L64 linux_arch_prctl(0x1002,0x21cf5a0)
820 100219 X-Plane 10 Installe 0.000002 RET L64 linux_arch_prctl 0
seems that SET_FS failed
(In reply to Dmitry Chagin from comment #5)
Any chance to fix it?
After some testing with the great help from Dmitri it seems that the problem comes from the nvidia driver respectively the 64bit libs. Dmitri and i also tested the installer with the intel HD 3000 and the intel driver, and with this configuration the program doesn't segfault. On my system it quits because of to less VRAM but on Dmitris system the installer is executed.
Now i dont know if this problem affects only this installer or other programs too.
For bugs that match the following
- Status Is In progress
- Untouched since 2018-01-01.
- Affects Base System OR Documentation
Reset to open status.
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.
Stefan, can you still reproduce it?
Since i switched from NVIDIA to AMD i can not reproduce this problem. With the Radeon the installer runs fine.
Now i am on 12.1-RELEASE with the drm-kmod package and linux-c7. Also there is a newer version of X-Plane. It's been a while since i tried this version. Afair the installer also runs fine but the simulator itself does'nt run.
OpenGL with Nvidia used to be broken due to bug #206711. I don't remember whether that issue appeared as a segfault, though. For the game proper see bug #174933, comment #4.
I suggest closing this bug with Overcome by Events.