Soldak Entertainment Forums

Soldak Entertainment Forums (
-   Linux (
-   -   Segfault on Startup (with solution) (

OxOOO5cO77 03-14-2014 07:02 PM

Segfault on Startup (with solution)
Hi -

It's good to see a linux demo! Unfortunately, it was segfaulting for me right away. :(

You may remember that I was having similar problems running the windows version with wine (as documented in the thread "Crash on boot (Linux/Wine)")

The linux demo core dump provided the following backtrace

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xf75bfb45 in MixDirect_SSE () from /usr/lib32/
(gdb) bt
#0  0xf75bfb45 in MixDirect_SSE () from /usr/lib32/
#1  0xf75be143 in MixSource () from /usr/lib32/
#2  0xf75b53ee in aluMixData () from /usr/lib32/
#3  0xf75c50dc in PulseProc () from /usr/lib32/
#4  0xf75b9ad0 in StarterFunc () from /usr/lib32/
#5  0xf738df33 in start_thread () from /lib32/
#6  0xf7495a7e in clone () from /lib32/

A quick search indicates that it's likely unaligned (or improperly aligned) memory.

Rebuilding OpenAL without SSE support allows me to get into the game with sound. I played through a couple systems, up to about level 3, with no further issue.

My relevant system info:
Linux 3.12.13-gentoo #1 SMP Mon Mar 3 22:12:26 PST 2014 x86_64 Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz GenuineIntel GNU/Linux

Hope this helps someone (or points to a legit problem!)

Thanks again for an awesome game. :)

All times are GMT -4. The time now is 08:29 PM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright 2007 - 2019 Soldak Entertainment, Inc.