Segmentation fault after run the game (Fedora 16 x64 bits)

Linux support forum for Eschalon: Book I
Post Reply
Dhuend
Initiate
Posts: 6
Joined: July 3rd, 2010, 7:37 am
Location: São Paulo, Brazil
Contact:

Segmentation fault after run the game (Fedora 16 x64 bits)

Post by Dhuend » July 3rd, 2012, 3:45 pm

I have just installed Fedora 64 and fully updated it. After that, I installed EB1 and when I run ./eschalon_book_1 it gives me the following error:
$ ./eschalon_book_1
Setting sound driver: Default
Segmentation fault (core dumped)
No window is opened, just that message and I am back to the terminal prompt.

I tried editing the eschalon.cfg file to many combinations:
setting sound to "0" or "1" (default) and "2" -- no success
setting "16" and "32" color depth -- no success
setting between windowed and full screen -- no success

Also tried to change my X resolution to 800x600 and other lower res, but the game shows the same segfault message without success.

My system is a Intel i7 2600, 8 Gb RAM, Geforce GTX 500 Ti (with last updated drivers from NVIDIA website, driver v. 295.59). Installed system is a Fedora 16 x64 bits, kernel 3.4.2-1.fc16.x86_64.

After reading this post, and trying to set the sound to "0" in the config file, I get no message of "Setting Sound driver: Default", but still get the segfault. So I belive it is an issue with my graphics driver or something else. Unfortunately I've the lastest graphic drivers.

I'd like to add that the game (same tarball file) runs perfectly on my laptop (HP Pavilion DV5020us) which is using Fedora 10 (32 bits).

Any ideas?
-- Dhuend --

User avatar
SpottedShroom
Captain Magnate
Captain Magnate
Posts: 1365
Joined: June 4th, 2010, 6:18 pm

Re: Segmentation fault after run the game (Fedora 16 x64 bit

Post by SpottedShroom » July 3rd, 2012, 8:32 pm

Can you run it through gdb? Type "gdb ./eschalon_book_1" then "run" then "bt full" and post the output. Also, please run "ldd ./eschalon_book_1" and post the output. Thanks!

Dhuend
Initiate
Posts: 6
Joined: July 3rd, 2010, 7:37 am
Location: São Paulo, Brazil
Contact:

Re: Segmentation fault after run the game (Fedora 16 x64 bit

Post by Dhuend » July 4th, 2012, 3:29 pm

Hi SpottedShroom, thanks for replying.

Here is the output for "gdb ./eschalon_book_1" and "run":

Code: Select all

$ gdb ./eschalon_book_1 

GNU gdb (GDB) Fedora (7.3.50.20110722-13.fc16)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/rduarte/Jogos/Eschalon_Book_1/eschalon_book_1...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/rduarte/Jogos/Eschalon_Book_1/eschalon_book_1 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0xf03afb40 (LWP 5934)]
[New Thread 0xefbaeb40 (LWP 5935)]
[New Thread 0xef3adb40 (LWP 5936)]
[New Thread 0xeebacb40 (LWP 5937)]
[New Thread 0xee3abb40 (LWP 5938)]
[New Thread 0xedbaab40 (LWP 5939)]
[New Thread 0xed3a9b40 (LWP 5940)]
[New Thread 0xecba8b40 (LWP 5941)]

Program received signal SIGSEGV, Segmentation fault.
0x4ceffef5 in __strstr_sse42 () from /lib/libc.so.6
Missing separate debuginfos, use: debuginfo-install compat-libstdc++-33-3.2.3-68.1.i686 expat-2.1.0-1.fc16.i686 glibc-2.14.90-24.fc16.7.i686 libX11-1.4.3-1.fc16.i686 libXau-1.0.6-2.fc15.i686 libXdamage-1.1.3-2.fc15.i686 libXext-1.3.0-1.fc16.i686 libXfixes-5.0-1.fc16.i686 libXxf86vm-1.1.1-2.fc15.i686 libdrm-2.4.33-1.fc16.i686 libffi-3.0.10-1.fc16.i686 libgcc-4.6.3-2.fc16.i686 libselinux-2.1.6-6.fc16.i686 libstdc++-4.6.3-2.fc16.i686 libxcb-1.7-3.fc16.i686 llvm-libs-2.9-10.fc16.i686 mesa-dri-drivers-7.11.2-3.fc16.i686 mesa-libGL-7.11.2-3.fc16.i686 mesa-libGLU-7.11.2-3.fc16.i686
(gdb)
And after that I ran the "bt full" command:

Code: Select all

(gdb) bt full

#0  0x4ceffef5 in __strstr_sse42 () from /lib/libc.so.6
No symbol table info available.
#1  0x080abf69 in ?? ()
No symbol table info available.
#2  0x080ac060 in ?? ()
No symbol table info available.
#3  0x080ac3d0 in ?? ()
No symbol table info available.
#4  0x0810f12f in ?? ()
No symbol table info available.
#5  0x0810e240 in ?? ()
No symbol table info available.
#6  0x08113ead in ?? ()
No symbol table info available.
#7  0x081142c5 in ?? ()
No symbol table info available.
#8  0x08102fc2 in ?? ()
No symbol table info available.
#9  0x080b49a7 in ?? ()
No symbol table info available.
#10 0x080b1419 in ?? ()
No symbol table info available.
#11 0x0804b5c8 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#12 0x4cdde6b3 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#13 0x0804b451 in ?? ()
No symbol table info available.
Backtrace stopped: Not enough registers or memory available to unwind further
(gdb) 
Finally the result for "ldd ./eschalon_book_1"

Code: Select all

$ ldd ./eschalon_book_1 

	linux-gate.so.1 =>  (0xf77d0000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x4d2be000)
	libGL.so.1 => /usr/lib/libGL.so.1 (0xf7727000)
	libGLU.so.1 => /usr/lib/libGLU.so.1 (0xf76b2000)
	libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xf76ad000)
	libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xf75f3000)
	libm.so.6 => /lib/libm.so.6 (0x4cfad000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x4cf75000)
	libc.so.6 => /lib/libc.so.6 (0x4cdc5000)
	libdl.so.2 => /lib/libdl.so.2 (0x4cf92000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x4d21b000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4d1b9000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xf75df000)
	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xf75dc000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xf75d7000)
	libdrm.so.2 => /usr/lib/libdrm.so.2 (0xf75ca000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf74dd000)
	/lib/ld-linux.so.2 (0x4cda0000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x4d179000)
	librt.so.1 => /lib/librt.so.1 (0x4cfa1000)
Any idea? Thanks :)
-- Dhuend --

Dhuend
Initiate
Posts: 6
Joined: July 3rd, 2010, 7:37 am
Location: São Paulo, Brazil
Contact:

Re: Segmentation fault after run the game (Fedora 16 x64 bit

Post by Dhuend » July 4th, 2012, 8:52 pm

I solved the problem!

I think the 32 bit graphic drivers weren't installed in my system, only the 64 bits NVIDIA (version 295.59), so I got the segmentation fault error running Eschalon Book1.

Then I tried to install these drivers:

Code: Select all

yum install xorg-x11-drv-nvidia-libs.i686
... and Eschalon Book 1 runs! :D


Unfortunately, now it runs but no sound :(
I tried to change the eschalon.cfg from Default to OpenAL but no success. I will try to fix this new problem now.
-- Dhuend --

Dhuend
Initiate
Posts: 6
Joined: July 3rd, 2010, 7:37 am
Location: São Paulo, Brazil
Contact:

Re: Segmentation fault after run the game (Fedora 16 x64 bit

Post by Dhuend » July 4th, 2012, 9:20 pm

I just fixed my sound problem too. I wrote the solution as a reply to a sound-problems post. Link is here.
-- Dhuend --

User avatar
SpottedShroom
Captain Magnate
Captain Magnate
Posts: 1365
Joined: June 4th, 2010, 6:18 pm

Re: Segmentation fault after run the game (Fedora 16 x64 bit

Post by SpottedShroom » July 5th, 2012, 12:54 pm

Great! I'm glad you got that all sorted out. Enjoy Book I!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests