Segmentation Fault at launch time on 64-bit Kubuntu 12.04

Please post any bugs you find in this subforum - one bug per topic. This will make it easier for us to any issues. Thank you for your help!
Forum rules
Please post any bugs you find in this subforum - one bug per topic. This will make it easier for us to any issues. Thank you for your help!
ven42
Posts: 4
Joined: Sun Dec 06, 2015 10:35 pm

Segmentation Fault at launch time on 64-bit Kubuntu 12.04

Postby ven42 » Sun Dec 06, 2015 11:31 pm

Hi, again. I managed to get the Humble Store DEB version of Neverending Nightmares installed on a different computer from the one I was trying before, this time running an older Ubuntu version. Unfortunately, once I go to launch the game, it crashes with a segmentation fault.

Details:
Package version: neverending-nightmares_2.1.21034.deb
OS: Kubuntu 12.04 LTS 64-bit

If I launch the game from the menu item that the installer created, I see the "Infinitap Games" splash screen come up fullscreen for about five seconds, then it disappears and the program is no longer running.

If I try running the game from the command line, I can see that it crashes due to a segmentation fault:

Code: Select all

ven42@office:/opt/neverending-nightmares$ ./nightmare
Exception report: Unhandled signal: 11 (Segmentation fault)invalid digest: 2a 86 48 ce 3d 04 03 03
Error: Invalid X509 ASN.1 file (Unsupported digest)
invalid digest: 2a 86 48 ce 3d 04 03 03
Error: Invalid X509 ASN.1 file (Unsupported digest)
invalid digest: 2a 86 48 ce 3d 04 03 03
Error: Invalid X509 ASN.1 file (Unsupported digest)
invalid digest: 2a 86 48 ce 3d 04 03 03
Error: Invalid X509 ASN.1 file (Unsupported digest)
invalid digest: 2a 86 48 ce 3d 04 03 03
Error: Invalid X509 ASN.1 file (Unsupported digest)
invalid digest: 2a 86 48 ce 3d 04 03 03
Error: Invalid X509 ASN.1 file (Unsupported digest)
invalid digest: 2a 86 48 ce 3d 04 03 03
Error: Invalid X509 ASN.1 file (Unsupported digest)


As far as I can tell, I have all of the necessary dependencies installed to run the game:

Code: Select all

ven42@office:/opt/neverending-nightmares$ ldd nightmare
        linux-gate.so.1 =>  (0xf775d000)
        libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf7739000)
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf771e000)
        libidn.so.11 => /usr/lib/i386-linux-gnu/libidn.so.11 (0xf76e9000)
        libGL.so.1 => /usr/lib32/nvidia-340/libGL.so.1 (0xf75d2000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf75cd000)
        librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf75c4000)
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf74df000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf74b2000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7494000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf72eb000)
        /lib/ld-linux.so.2 (0xf775e000)
        libnvidia-tls.so.340.93 => /usr/lib32/nvidia-340/tls/libnvidia-tls.so.340.93 (0xf72e6000)
        libnvidia-glcore.so.340.93 => /usr/lib32/nvidia-340/libnvidia-glcore.so.340.93 (0xf4d52000)
        libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf4c1d000)
        libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf4c0b000)
        libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf4bea000)
        libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf4be6000)
        libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf4bdf000)


I ran things through gdb and got a backtrace for you, which I hope is helpful:

Code: Select all

ven42@office:/opt/neverending-nightmares$ gdb nightmare
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 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-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /opt/neverending-nightmares/nightmare...(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/neverending-nightmares/nightmare
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0xf5459b40 (LWP 6767)]

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x08055724 in Sound_InitInternal(SoundMode, SoundInitFlags, void*, unsigned int) ()
#2  0x080d7edc in Sound_Init(SoundMode, SoundInitFlags) ()
#3  0x0805f92a in Game::CreateEngineRemainder() ()
#4  0x08061904 in Game::CreateGameLoadRenderer() ()
#5  0x08061cfc in Game_Run(GameSettings const&) ()
#6  0x08052695 in GameMain(int, char const**) ()
#7  0x0804c36e in main ()
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb) quit


Any advice on where I can go from here to get the game running? Also, if you need more information from me, I'll be happy to oblige.

Thanks for any help you can offer me. I appreciate it.

User avatar
matt
Posts: 2312
Joined: Fri Oct 04, 2013 10:48 am

Re: Segmentation Fault at launch time on 64-bit Kubuntu 12.0

Postby matt » Fri Dec 18, 2015 4:01 pm

I will talk to our linux programmer as well, but in looking at the function, one of the main things it does is load the function pointers from the OpenAL-MOB so file, so perhaps there is an issue with your library path or the OpenAL-MOB so has gone missing?

Can you make sure the file is in the right place and all the library paths are correct? We use a fork of OpenAL-Soft, and while our fork is open source, I don't remember which version we use, so you'll need to use the so file we provide.

Thanks, and sorry for the trouble!
-Matt Gilgenbach
Lead Frightener at Infinitap Games

User avatar
matt
Posts: 2312
Joined: Fri Oct 04, 2013 10:48 am

Re: Segmentation Fault at launch time on 64-bit Kubuntu 12.0

Postby matt » Mon Dec 28, 2015 10:46 am

Can you run ldd on OpenAL-MOB.so to make sure you have all the dependencies?

Thanks!
-Matt Gilgenbach
Lead Frightener at Infinitap Games

ven42
Posts: 4
Joined: Sun Dec 06, 2015 10:35 pm

Re: Segmentation Fault at launch time on 64-bit Kubuntu 12.0

Postby ven42 » Sun Jan 17, 2016 3:37 pm

Just to update the publicly viewable information on this bug: Matt and I have been working over e-mail on this issue. He was kind enough to supply me with an updated DEB that solved the originally reported problem. Once he gets a chance, I imagine he'll also update the version available for download from the Humble Store.

Thanks to Matt and Infinitap Games for supporting Linux! It's much appreciated.

User avatar
matt
Posts: 2312
Joined: Fri Oct 04, 2013 10:48 am

Re: Segmentation Fault at launch time on 64-bit Kubuntu 12.0

Postby matt » Thu Jan 21, 2016 3:00 pm

The latest build is available on the Humble Store. Thank you to ven42 for helping us track down the issue! :)
-Matt Gilgenbach
Lead Frightener at Infinitap Games


Return to “Bugs”

Who is online

Users browsing this forum: No registered users and 2 guests