Frictional Games Forum (read-only)
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)

Pages: 1 2 3 4


Crashes upon entering specifically the Archives - takyoji - 09-08-2010

Everything has been working fine, with the exception of relatively chaotic physics calculation (as it seems), and the whole application completely dying upon going into Archives. Went through the place as usual, to the main hall, went to the lab, tinkered with various things in there, went to the refinery area (and got blocked), went to the lab, then tried entering the wine cellar (but door locked), then tried entering the Archives room. Load screen shows, few seconds, application dies. Each time I recontinue the game, it dies when trying to enter the Archives room.

Game was installed to /usr/games/

Ubuntu 10.04 64-bit
NVidia GeForce 8800GT
4GB RAM

And via terminal, I have an error of: Amnesia.bin64: /builddir/core2/sources/impl/tinyXml/tinyxml.cpp:1102: virtual void TiXmlDocument:Tonguerint(FILE*, int) const: Assertion `cfile' failed.


RE: Crashes upon entering specifically the Archives - Thomas - 09-08-2010

Hi,

The problem seems to be that the game tries to write to file (in install dir) but cannot. Try to set so Amnesia can write to disk.


RE: Crashes upon entering specifically the Archives - takyoji - 09-08-2010

Seems to have resolved the issue, by providing sufficient writing permissions.


RE: Crashes upon entering specifically the Archives - RlyDontKnow - 09-08-2010

I'm crashing upon entering the very same area, however I installed to $HOME and checked permissions are right.
on top of that it's not crashing upon writing a file, but on reading it (see attached gdb log)

any recommendations?

EDIT: note that I didn't run the installer as root, either Wink


RE: Crashes upon entering specifically the Archives - Joseph Curwen - 09-08-2010

@takyoji
Had same problem. But instead of running amnesia with root privileges you should try to install it to your home directory until this issue might be fixed.
Hint: Don't run the installer with 'sudo ./amnesia_tdd_1.0.sh', leave away the sudo command. I forgot to do so, installed to my home dir and wondered why the game still crashed. Took me quit some time to figure out that the write permissions were still set to root.


RE: Crashes upon entering specifically the Archives - RlyDontKnow - 09-08-2010

seems the problem solved itself.
I restarted the game and now I've been able to sucessfully enter the archives without any issues. Maybe it's been some corrupted save game or something like that?

EDIT: seems it's been only a short fix - it's crashing again, this time in the laboratory


RE: Crashes upon entering specifically the Archives - takyoji - 09-09-2010

(09-08-2010, 07:18 PM)Joseph Curwen Wrote: @takyoji
Had same problem. But instead of running amnesia with root privileges you should try to install it to your home directory until this issue might be fixed.
Hint: Don't run the installer with 'sudo ./amnesia_tdd_1.0.sh', leave away the sudo command. I forgot to do so, installed to my home dir and wondered why the game still crashed. Took me quit some time to figure out that the write permissions were still set to root.
I changed file ownership of every file within /usr/games/Amnesia recursively to my user account; so no, I don't run the game at all with superuser privileges ever. And as implied, after changing file ownership, it works.


RE: Crashes upon entering specifically the Archives - RlyDontKnow - 09-09-2010

seems using the openal version shipped with the game instead of my own did the trick for me - quite odd, though, as my openal version works fine in other games


RE: Crashes upon entering specifically the Archives - valczir - 09-09-2010

Had the same issue here and changing the file ownership worked fine. The installer really should be modified to create the game directory with ownership root:games. Apparently, write access is granted to group but not all, so setting the group to something that the gaming users are part of (in most cases, games) seems to solve it readily enough.

If you get this issue, do the following (assuming you have installed to /opt/Amnesia, as I have):

Code:
# chown -R root:games /opt/Amnesia

Replace /opt/Amnesia with wherever you installed the game.

And solved.


RE: Crashes upon entering specifically the Archives - zak - 09-09-2010

(09-09-2010, 06:21 AM)valczir Wrote: Had the same issue here and changing the file ownership worked fine. The installer really should be modified to create the game directory with ownership root:games. Apparently, write access is granted to group but not all, so setting the group to something that the gaming users are part of (in most cases, games) seems to solve it readily enough.
I think the game should be modified so that it does not need to have write permission in the game data directory. For writing, there is ~/.frictionalgames/.
But I guess this will be implemented in the next patch.