Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Crashes upon entering specifically the Archives
takyoji Offline
Junior Member

Posts: 8
Threads: 2
Joined: Aug 2010
Reputation: 0
#1
Solved: 8 Years, 8 Months, 3 Weeks ago Crashes upon entering specifically the Archives

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.
09-08-2010, 09:17 AM
Find
Thomas Offline
Frictional Games

Posts: 2,634
Threads: 184
Joined: Apr 2006
Reputation: 68
#2
Solved: 8 Years, 8 Months, 3 Weeks ago RE: Crashes upon entering specifically the Archives

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.
(This post was last modified: 09-08-2010, 09:33 AM by Thomas.)
09-08-2010, 09:32 AM
Find
takyoji Offline
Junior Member

Posts: 8
Threads: 2
Joined: Aug 2010
Reputation: 0
#3
Solved: 8 Years, 8 Months, 3 Weeks ago RE: Crashes upon entering specifically the Archives

Seems to have resolved the issue, by providing sufficient writing permissions.
09-08-2010, 09:43 AM
Find
RlyDontKnow Offline
Junior Member

Posts: 4
Threads: 0
Joined: Sep 2010
Reputation: 0
#4
Solved: 8 Years, 8 Months, 3 Weeks ago RE: Crashes upon entering specifically the Archives

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


Attached Files
.log   debug.log (Size: 2.85 KB / Downloads: 191)
09-08-2010, 06:51 PM
Find
Joseph Curwen Offline
Member

Posts: 63
Threads: 8
Joined: Aug 2010
Reputation: 0
#5
Solved: 8 Years, 8 Months, 3 Weeks ago RE: Crashes upon entering specifically the Archives

@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.
09-08-2010, 07:18 PM
Find
RlyDontKnow Offline
Junior Member

Posts: 4
Threads: 0
Joined: Sep 2010
Reputation: 0
#6
Solved: 8 Years, 8 Months, 3 Weeks ago RE: Crashes upon entering specifically the Archives

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
09-08-2010, 08:00 PM
Find
takyoji Offline
Junior Member

Posts: 8
Threads: 2
Joined: Aug 2010
Reputation: 0
#7
Solved: 8 Years, 8 Months, 3 Weeks ago RE: Crashes upon entering specifically the Archives

(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.
09-09-2010, 04:24 AM
Find
RlyDontKnow Offline
Junior Member

Posts: 4
Threads: 0
Joined: Sep 2010
Reputation: 0
#8
Solved: 8 Years, 8 Months, 3 Weeks ago RE: Crashes upon entering specifically the Archives

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
09-09-2010, 04:35 AM
Find
valczir Offline
Junior Member

Posts: 2
Threads: 0
Joined: Sep 2010
Reputation: 0
#9
Solved: 8 Years, 8 Months, 3 Weeks ago RE: Crashes upon entering specifically the Archives

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):

# chown -R root:games /opt/Amnesia

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

And solved.
09-09-2010, 06:21 AM
Find
zak Offline
Junior Member

Posts: 44
Threads: 4
Joined: Aug 2009
Reputation: 0
#10
Solved: 8 Years, 8 Months, 3 Weeks ago RE: Crashes upon entering specifically the Archives

(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.
09-09-2010, 08:18 AM
Find




Users browsing this thread: 2 Guest(s)