Crashes upon entering specifically the Archives - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html) +--- Forum: Technical Support - Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-31.html) +---- Forum: Linux - ATDD (https://www.frictionalgames.com/forum/forum-32.html) +---- Thread: Crashes upon entering specifically the Archives (/thread-3903.html) |
RE: Crashes upon entering specifically the Archives - Oblidor - 09-15-2010 (09-14-2010, 01:03 PM)Urkle Wrote: You'd need to do a chmod 777 Amnesia and then run the game.. it'll generate a core file.. It's been a LONG time since a core file was generated as "core" they are now generated as "core.####" where the # is the process ID. Actually not in Ubuntu. In Ubuntu you need to do: echo "1" > /proc/sys/kernel/core_uses_pid as root first. When I look at my core dump I see: Code: warning: Can't read pathname for load map: Input/output error. Second run of the progam I got this: Code: warning: Can't read pathname for load map: Input/output error. RE: Crashes upon entering specifically the Archives - Urkle - 09-15-2010 can you provide a "thread apply all bt" output of those two core dumps? (there are multiple threads going on). And that's useful to know about Ubuntu (and about the settting:-D) RE: Crashes upon entering specifically the Archives - Oblidor - 09-15-2010 (09-15-2010, 05:24 PM)Urkle Wrote: can you provide a "thread apply all bt" output of those two core dumps? (there are multiple threads going on). I think I might have found the problem!!! It seems like it our dear crappoware pulseaudio that is causing crashes. After I choose "Alsa on default" I haven't had a crash. I'll test it more to verify. here is the bt: Code: Thread 3 (Thread 1788): RE: Crashes upon entering specifically the Archives - Oblidor - 09-15-2010 (09-15-2010, 06:33 PM)Oblidor Wrote: I think I might have found the problem!!! It seems like it our dear crappoware pulseaudio that is causing crashes. After I choose "Alsa on default" I haven't had a crash. I'll test it more to verify. Actually, after rebooting the computer the crashes started again. But I managed to play further in the Archives now. Man! This game is scaring the crap out of me... RE: Crashes upon entering specifically the Archives - Urkle - 09-15-2010 From the backtrackes you sent, it looks like it's crashing in the system pthread library. RE: Crashes upon entering specifically the Archives - Oblidor - 09-16-2010 (09-15-2010, 11:54 PM)Urkle Wrote: From the backtrackes you sent, it looks like it's crashing in the system pthread library. yes. The game only crashes when I want to continue a story. It hasn't crashed while playing again. HMM! I noticed that I have both 64-bit and 32-bit version of libc6. I thought let's see what needs the 32-bit version. It turns out that: xorg-driver-fglrx, fglrx, and fglrx-amdcccle packages (and others) would be uninstalled if I uninstall the libc6-i386. Could this be a problem? I mean that the ATI driver uses 32 bit library? I installed the 32 bit version of Amnesia and this works fine as others have said. I guess it has to do with that a different pthread library is used. RE: Crashes upon entering specifically the Archives - Urkle - 09-16-2010 my guess is it's probably something with the 64bit build of angelscript and it's use of pthread that is causing the issue.. so I'm going to focus there. RE: Crashes upon entering specifically the Archives - Gert - 09-20-2010 (09-16-2010, 02:17 AM)Urkle Wrote: my guess is it's probably something with the 64bit build of angelscript and it's use of pthread that is causing the issue.. so I'm going to focus there. After reading this I build a shared library of the latest version of angelscript (2.19.2), put it into lib64 and lo and behold, using LD_PRELOAD=lib64/libangelscript-2.19.so ./Amnesia.bin64 I was able to load a save game that would otherwise crash the program. However, when I was doing "save and exit" I got another save game that would crash with this pre-load but not when pre-loading a shared build of angelscript-2.18.2. The save game resulting from the next save would then again load only with angelscript 2.19.2 pre-loaded. Crazy stuff. Without preload Amnesia would always crash when loading one of these save games. Hope that helps. RE: Crashes upon entering specifically the Archives - Urkle - 09-21-2010 This crash is next on my hit list.. after fixing several others. Included in the game is angelscript 2.16.3 so I'll have to check through the diffs to see what magical fixes are in newer versions. And due to Angelscript's lack of binary compatibility (it's designed to be statically included) you can't really just swap out new versions like that. Most likely why you had the odd issues. RE: Crashes upon entering specifically the Archives - JSW - 09-26-2010 I'm getting the same problem on Ubuntu 10.04 32-bit. I've tried both PulseAudio and ALSA and I'm getting the same problem. I'm using the built-in sound hardware of an Asus P5B motherboard (shows up in the options as an Intel HDA AD198x.) I'm also running a Geforce 9800GT and have the game installed to /usr/local/games. I ran the installation program under sudo but I'm running the game itself as a regular user. When I run it through a console, I get the following output: Code: bt_audio_service_open: connect() failed: Connection refused (111) |