Segmentation Fault during character creation

Linux support forum for Eschalon: Book I
Post Reply
mtdew
Initiate
Posts: 5
Joined: February 13th, 2014, 8:33 pm

Segmentation Fault during character creation

Post by mtdew » February 13th, 2014, 11:19 pm

I am running Fedora 20 x64. When I start a new game I am creating a character, but when I go to click the next button I get a segmentation fault.

I have attached a gdb and bt full output and a ldd output.

gdb ./Eschalon\ Book\ I
GNU gdb (GDB) Fedora 7.6.50.20130731-19.fc20
Copyright (C) 2013 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
..
Reading symbols from /home/bergmaj/Eschalon Book I 1.06/Eschalon Book I...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/bergmaj/Eschalon Book I 1.06/Eschalon Book I
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0xf30323bd in ?? ()
Missing separate debuginfos, use: debuginfo-install expat-2.1.0-7.fc20.i686 freetype-2.5.0-4.fc20.i686 glibc-2.18-12.fc20.i686 libX11-1.6.1-1.fc20.i686 libXau-1.0.8-2.fc20.i686 libXcursor-1.1.14-2.fc20.i686 libXdamage-1.1.4-4.fc20.i686 libXext-1.3.2-2.fc20.i686 libXfixes-5.0.1-2.fc20.i686 libXrender-0.9.8-2.fc20.i686 libXxf86vm-1.1.3-2.fc20.i686 libdrm-2.4.50-1.fc20.i686 libffi-3.0.13-5.fc20.i686 libgcc-4.8.2-7.fc20.i686 libpng-1.6.3-3.fc20.i686 libselinux-2.2.1-6.fc20.i686 libstdc++-4.8.2-7.fc20.i686 libxcb-1.9.1-3.fc20.i686 llvm-libs-3.3-4.fc20.i686 mesa-dri-drivers-9.2.5-1.20131220.fc20.i686 mesa-libGL-9.2.5-1.20131220.fc20.i686 mesa-libGLU-9.0.0-4.fc20.i686 mesa-libglapi-9.2.5-1.20131220.fc20.i686 pcre-8.33-4.fc20.i686 xz-libs-5.1.2-6alpha.fc20.i686 zlib-1.2.8-3.fc20.i686
(gdb) bt full
#0 0xf30323bd in ?? ()
No symbol table info available.
Cannot access memory at address 0x14
(gdb) quit
A debugging session is active.

Inferior 1 [process 5936] will be killed.

Quit anyway? (y or n) y
[bergmaj@jason Eschalon Book I 1.06]$ ldd ./Eschalon\ Book\ I
linux-gate.so.1 => (0xf77a1000)
libX11.so.6 => /lib/libX11.so.6 (0x42f55000)
libXxf86vm.so.1 => /lib/libXxf86vm.so.1 (0x431d8000)
libGL.so.1 => /lib/libGL.so.1 (0x4277f000)
libGLU.so.1 => /lib/libGLU.so.1 (0xf76d8000)
libfreetype.so.6 => /lib/libfreetype.so.6 (0x430f1000)
libstdc++.so.6 => /lib/libstdc++.so.6 (0x42ddf000)
libm.so.6 => /lib/libm.so.6 (0x42beb000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x42c58000)
libpthread.so.0 => /lib/libpthread.so.0 (0x42a94000)
libc.so.6 => /lib/libc.so.6 (0x428d4000)
libdl.so.2 => /lib/libdl.so.2 (0x42ab1000)
libxcb.so.1 => /lib/libxcb.so.1 (0x42db9000)
libXext.so.6 => /lib/libXext.so.6 (0x432ac000)
libglapi.so.0 => /lib/libglapi.so.0 (0x427fc000)
libXdamage.so.1 => /lib/libXdamage.so.1 (0x433f9000)
libXfixes.so.3 => /lib/libXfixes.so.3 (0x433ff000)
libX11-xcb.so.1 => /lib/libX11-xcb.so.1 (0x432c1000)
libxcb-glx.so.0 => /lib/libxcb-glx.so.0 (0x4338f000)
libxcb-dri2.so.0 => /lib/libxcb-dri2.so.0 (0x4331e000)
libdrm.so.2 => /lib/libdrm.so.2 (0x4329c000)
libselinux.so.1 => /lib/libselinux.so.1 (0x4254d000)
libz.so.1 => /lib/libz.so.1 (0x42c3f000)
libpng16.so.16 => /lib/libpng16.so.16 (0x43099000)
/lib/ld-linux.so.2 (0x428b0000)
libXau.so.6 => /lib/libXau.so.6 (0x43093000)
libpcre.so.1 => /lib/libpcre.so.1 (0x42573000)
liblzma.so.5 => /lib/liblzma.so.5 (0x42c80000)

Thanks.

mtdew
Initiate
Posts: 5
Joined: February 13th, 2014, 8:33 pm

Re: Segmentation Fault during character creation

Post by mtdew » February 17th, 2014, 8:34 pm

This happens when I push the "arrow" button. Either at character creation OR at a new level.

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

Re: Segmentation Fault during character creation

Post by SpottedShroom » February 18th, 2014, 11:57 am

I'm afraid I'm not able to reproduce this problem. On a fresh Fedora 20 VM,
I installed the i686 libraries necessary to run the game:

yum install glibc.i686 libX11.i686 libXxf86vm.i686 mesa-libGL.i686 freetype.i686 mesa-libGLU.i686

And then the game (demo, version 1.06) runs and plays with no problem.
Could you confirm which version of the game you're using, and where you
bought it from - e.g. Steam, GoG, the Basilisk web site, etc.

Could you also let me know which versions of the linked libraries you're
running? Run this:

rpm -qf `ldd Eschalon\ Book\ I\ Demo |perl -i -ne '/=> (.*?) / && print "$1\n"'`|sort|uniq

Here's mine:

freetype-2.5.0-4.fc20.i686
glibc-2.18-12.fc20.i686
libdrm-2.4.50-1.fc20.i686
libgcc-4.8.2-7.fc20.i686
libpng-1.6.3-3.fc20.i686
libselinux-2.2.1-6.fc20.i686
libstdc++-4.8.2-7.fc20.i686
libX11-1.6.1-1.fc20.i686
libXau-1.0.8-2.fc20.i686
libxcb-1.9.1-3.fc20.i686
libXdamage-1.1.4-4.fc20.i686
libXext-1.3.2-2.fc20.i686
libXfixes-5.0.1-2.fc20.i686
libXxf86vm-1.1.3-2.fc20.i686
mesa-libGL-9.2.5-1.20131220.fc20.i686
mesa-libglapi-9.2.5-1.20131220.fc20.i686
mesa-libGLU-9.0.0-4.fc20.i686
pcre-8.33-4.fc20.i686
xz-libs-5.1.2-6alpha.fc20.i686
zlib-1.2.8-3.fc20.i686

mtdew
Initiate
Posts: 5
Joined: February 13th, 2014, 8:33 pm

Re: Segmentation Fault during character creation

Post by mtdew » February 18th, 2014, 11:58 pm

yum install glibc.i686 libX11.i686 libXxf86vm.i686 mesa-libGL.i686 freetype.i686 mesa-libGLU.i686
Loaded plugins: langpacks, refresh-packagekit
Package glibc-2.18-12.fc20.i686 already installed and latest version
Package libX11-1.6.1-1.fc20.i686 already installed and latest version
Package libXxf86vm-1.1.3-2.fc20.i686 already installed and latest version
Package mesa-libGL-9.2.5-1.20131220.fc20.i686 already installed and latest version
Package freetype-2.5.0-4.fc20.i686 already installed and latest version
Package mesa-libGLU-9.0.0-4.fc20.i686 already installed and latest version
Nothing to do

Game was bought from the Basilisk web site. Version 1.06

rpm -qf `ldd Eschalon\ Book\ I |perl -i -ne '/=> (.*?) / && print "$1\n"'`|sort|uniq
-i used with no filenames on the command line, reading from STDIN.
freetype-2.5.0-4.fc20.i686
glibc-2.18-12.fc20.i686
libdrm-2.4.50-1.fc20.i686
libgcc-4.8.2-7.fc20.i686
libpng-1.6.3-3.fc20.i686
libselinux-2.2.1-6.fc20.i686
libstdc++-4.8.2-7.fc20.i686
libX11-1.6.1-1.fc20.i686
libXau-1.0.8-2.fc20.i686
libxcb-1.9.1-3.fc20.i686
libXdamage-1.1.4-4.fc20.i686
libXext-1.3.2-2.fc20.i686
libXfixes-5.0.1-2.fc20.i686
libXxf86vm-1.1.3-2.fc20.i686
mesa-libGL-9.2.5-1.20131220.fc20.i686
mesa-libglapi-9.2.5-1.20131220.fc20.i686
mesa-libGLU-9.0.0-4.fc20.i686
pcre-8.33-4.fc20.i686
xz-libs-5.1.2-6alpha.fc20.i686
zlib-1.2.8-3.fc20.i686

Here is what you requested :)

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

Re: Segmentation Fault during character creation

Post by SpottedShroom » February 19th, 2014, 11:54 am

Darn, nothing useful there. Maybe you could try installing the debug packages as gdb suggested and running another backtrace? It would be helpful to know which library you're crashing in.

Oh, and since I was using a VM for this test, I found it easier to launch the game through a remove X11 session than to run it on the VM's X server. I'll try it the other way and see if I can reproduce.

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

Re: Segmentation Fault during character creation

Post by SpottedShroom » February 19th, 2014, 12:23 pm

I tried from the VM's own X server, and still can't reproduce your crash. Two other thoughts: have you tried with no audio? And could you try using the non-accelerated svga X driver, just to rule out display driver problems?

mtdew
Initiate
Posts: 5
Joined: February 13th, 2014, 8:33 pm

Re: Segmentation Fault during character creation

Post by mtdew » February 19th, 2014, 2:07 pm

I also have the "no audio" issue :(

I am using the nouveau driver. How do I use another video driver? I don't want to "crash" my system :)

Also tried to install the debug programs....
debuginfo-install expat-2.1.0-7.fc20.i686 freetype-2.5.0-4.fc20.i686 glibc-2.18-12.fc20.i686 libX11-1.6.1-1.fc20.i686 libXau-1.0.8-2.fc20.i686 libXcursor-1.1.14-2.fc20.i686 libXdamage-1.1.4-4.fc20.i686 libXext-1.3.2-2.fc20.i686 libXfixes-5.0.1-2.fc20.i686 libXrender-0.9.8-2.fc20.i686 libXxf86vm-1.1.3-2.fc20.i686 libdrm-2.4.50-1.fc20.i686 libffi-3.0.13-5.fc20.i686 libgcc-4.8.2-7.fc20.i686 libpng-1.6.3-3.fc20.i686 libselinux-2.2.1-6.fc20.i686 libstdc++-4.8.2-7.fc20.i686 libxcb-1.9.1-3.fc20.i686 llvm-libs-3.3-4.fc20.i686 mesa-dri-drivers-9.2.5-1.20131220.fc20.i686 mesa-libGL-9.2.5-1.20131220.fc20.i686 mesa-libGLU-9.0.0-4.fc20.i686 mesa-libglapi-9.2.5-1.20131220.fc20.i686 pcre-8.33-4.fc20.i686 xz-libs-5.1.2-6alpha.fc20.i686 zlib-1.2.8-3.fc20.i686
Loaded plugins: langpacks, refresh-packagekit
enabling fedora-debuginfo
enabling rpmfusion-free-updates-debuginfo
enabling rpmfusion-nonfree-updates-debuginfo
enabling rpmfusion-free-debuginfo
enabling rpmfusion-nonfree-debuginfo
enabling updates-debuginfo
Could not find debuginfo for main pkg: expat-2.1.0-7.fc20.i686
Could not find debuginfo pkg for dependency package glibc-2.18-12.fc20.i686
Could not find debuginfo for main pkg: freetype-2.5.0-4.fc20.i686
Could not find debuginfo pkg for dependency package 2:libpng-1.6.3-3.fc20.i686
Could not find debuginfo pkg for dependency package zlib-1.2.8-3.fc20.i686
Could not find debuginfo pkg for dependency package nss-softokn-freebl-3.15.4-1.fc20.i686
Could not find debuginfo for main pkg: libX11-1.6.1-1.fc20.i686
Could not find debuginfo pkg for dependency package libxcb-1.9.1-3.fc20.i686
Could not find debuginfo for main pkg: libXau-1.0.8-2.fc20.i686
Could not find debuginfo for main pkg: libXcursor-1.1.14-2.fc20.i686
Could not find debuginfo pkg for dependency package libXfixes-5.0.1-2.fc20.i686
Could not find debuginfo pkg for dependency package libXrender-0.9.8-2.fc20.i686
Could not find debuginfo for main pkg: libXdamage-1.1.4-4.fc20.i686
Could not find debuginfo for main pkg: libXext-1.3.2-2.fc20.i686
Could not find debuginfo for main pkg: libXxf86vm-1.1.3-2.fc20.i686
Could not find debuginfo for main pkg: libdrm-2.4.50-1.fc20.i686
Could not find debuginfo pkg for dependency package libpciaccess-0.13.2-1.fc20.i686
Could not find debuginfo for main pkg: libffi-3.0.13-5.fc20.i686
Could not find debuginfo for main pkg: libgcc-4.8.2-7.fc20.i686
Could not find debuginfo for main pkg: libselinux-2.2.1-6.fc20.i686
Could not find debuginfo pkg for dependency package xz-libs-5.1.2-6alpha.fc20.i686
Could not find debuginfo pkg for dependency package pcre-8.33-4.fc20.i686
Could not find debuginfo for main pkg: libstdc++-4.8.2-7.fc20.i686
Could not find debuginfo for main pkg: llvm-libs-3.3-4.fc20.i686
Could not find debuginfo for main pkg: mesa-dri-drivers-9.2.5-1.20131220.fc20.i686
Could not find debuginfo pkg for dependency package elfutils-libelf-0.158-1.fc20.i686
Could not find debuginfo for main pkg: mesa-libGL-9.2.5-1.20131220.fc20.i686
Could not find debuginfo pkg for dependency package mesa-libglapi-9.2.5-1.20131220.fc20.i686
Could not find debuginfo for main pkg: mesa-libGLU-9.0.0-4.fc20.i686
No debuginfo packages available to install

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

Re: Segmentation Fault during character creation

Post by SpottedShroom » February 19th, 2014, 5:21 pm

mtdew wrote:I also have the "no audio" issue :(
This one I can probably help with: have you tried running the game through padsp?

Code: Select all

padsp ./Eschalon\ Book\ I
I am using the nouveau driver. How do I use another video driver? I don't want to "crash" my system :)
You should be able to try this safely by removing the nouveau driver:

Code: Select all

rpm -e xorg-x11-drv-nouveau
Then restart X (or just reboot), test, and re-install:

Code: Select all

yum install xorg-x11-drv-nouveau
Also tried to install the debug programs....
Yeah, I'm having this problem, too. After doing some reading it looks like Fedora simply doesn't support installing debuginfo packages for anything but your primary architecture. I guess we'll have to live without it for troubleshooting.

mtdew
Initiate
Posts: 5
Joined: February 13th, 2014, 8:33 pm

Re: Segmentation Fault during character creation

Post by mtdew » February 19th, 2014, 9:16 pm

padsp ./Eschalon\ Book\ I
ERROR: ld.so: object '/usr/lib64/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded: ignored.

Test without nouveau driver....
(core dumped)

Reinstalled driver....now back to original problem.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest