protonscr

Amnesia crash on x86_64

steamclosed reviewed3rd party game
ValveSoftware/steam-for-linux#399 · opened 2012-12-26 by schrotthaufen · updated 2024-06-02 · 6 comments · github
Sschrotthaufen 2012-12-26 github

As soon as the menu is being loaded the crash happens in
<_ZN3hpl16iParticleEmitter11GetMaterialEv+24>: mov rax, QWORD PTR [rdx+rax*8]
Both rdx and rax are NULL
The calling function is hpl::iParticleEmitter::GetMaterial() ()

If 32bit compatibility libraries are installed setting LD_LIBRARY_PATH="~/.local/share/Steam/SteamApps/common/Amnesia The D
ark Descent/libs" and running Amnesia.bin (the 32bit binary) it works as intended.

Here is a workaround https://gist.github.com/c6dccd2b730b08c5ef2f
Unless the libraries were added and/or modified by valve this should also be reported upstream.

MMrSchism 2012-12-26 github

Please include additional information as per https://github.com/ValveSoftware/steam-for-linux

Sschrotthaufen 2012-12-26 github

Steps to reproduse: Start the game, hit ESC a couple of times to skip the intros and gamma slider, wait a few seconds, get segfault as reward.
There is absolutely no shell output besides "Segmentation fault"

Processor Information:
Vendor: GenuineIntel
Speed: 1601 Mhz
2 logical processors
2 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Supported
SSE42: Unsupported

Network Information:
Network Speed:

Operating System Version:
Linux (64 bit)
Kernel Name: Linux
Kernel Version: 3.6.10-1-ARCH
X Server vendor: The X.Org Foundation
X Server release: 11301000

Video Card:
Driver: Intel Open Source Technology Center Mesa DRI Mobile Intel® GM45 Express Chipset x86/MMX/SSE2

Driver Version:  2.1 Mesa 9.0.1
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID:  0x8086
DeviceID:  0x2a42
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1280 x 800
Desktop Resolution: 1280 x 800
Primary Display Size: 10.28" x 6.42"  (12.09" diag)
                                        26.1cm x 16.3cm  (30.7cm diag)
Primary VRAM Not Detected

Sound card:
Audio device: Conexant CX20561 (Hermosa)

Memory:
RAM: 3852 Mb

Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 131419 Mb
Largest Free Hard Disk Block: 12154 Mb

Installed software:

Recent Failure Reports:

Aatorkhov 2013-01-11 github

I have the same issue and workaround worked for me.

Ggdrewb-valve maintainer 2013-01-19 github

This bug was closed because the issue concerns the game and not the Steam client. Please contact the game developer on their official website with this information.

SShotweb 2024-03-29 github

How do you use the workaround? I'm not a linux sysadmin that instinctively knows what to do with those things

Sschrotthaufen 2024-06-02 github

How do you use the workaround? I'm not a linux sysadmin that instinctively knows what to do with those things

I don't have Steam installed on Linux anymore, and it's been over a decade since I've posted this issue -> I have no idea where the file run_steam.sh is supposed to be. Presumably inside the game directory.
Assuming you find the file in question, you download my patch, and apply it with patch < run_steam.sh.patch.
Here's a concise guide to patch, and diff.
Please note: Since this fix hasn't been adopted upstream, you might need to apply the patch every time Amnesia gets an update.

Nothing extracted yet.