superluser
Member
Posts: 143
Threads: 3
Joined: Jul 2010
Reputation:
0
|
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.
Had the same issue.
Fixed the same way (on Gentoo).
|
|
09-09-2010, 02:36 PM |
|
Urkle
FG - Associate
Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation:
21
|
RE: Crashes upon entering specifically the Archives
are you getting the same error on the console?
Do you mind enabling core dumping and getting a stack trace?
ulimit -c unlimited
./Amnesia.bin64
ls core.*
gdb ./Amnesia.bin64 core.####
Then once in GDB run this
thread apply all bt
and paste the contents here.
Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
|
|
09-09-2010, 03:51 PM |
|
zak
Junior Member
Posts: 44
Threads: 4
Joined: Aug 2009
Reputation:
0
|
RE: Crashes upon entering specifically the Archives
Hi Urkle,
I tried this, installed gdb, set 'ulimit -c unlimited', ran Amnesia.bin64 and reproduced the error. Unfortunately no coredump was written. (Looked in homedir, .frictionalgames-dir and Amnesia-dir).
Setting write permissions just to /opt/Amnesia wasn't enough. (The coredump was not written there then, too.) I had to 'chmod a+rw -R' the whole directory tree. Then I could enter the Archives.
Now - after removing write permissions again - I cannot even reproduce the error (at least at the Archives-door). I saved again in the Entrance Hall, restarted and entered without any problems. Maybe this gives a clue?
If there's anything I can try, just tell me.
|
|
09-09-2010, 07:33 PM |
|
Andre
Junior Member
Posts: 6
Threads: 2
Joined: Oct 2009
Reputation:
0
|
RE: Crashes upon entering specifically the Archives
just had same problem - hope it will be fixed by a patch..
|
|
09-11-2010, 06:07 PM |
|
Urkle
FG - Associate
Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation:
21
|
RE: Crashes upon entering specifically the Archives
I believe I have narrowed down what is causing the crash and made several fixes that will appear in a patch.
Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
|
|
09-11-2010, 07:09 PM |
|
Oblidor
Junior Member
Posts: 23
Threads: 2
Joined: Sep 2010
Reputation:
0
|
RE: Crashes upon entering specifically the Archives
(09-11-2010, 07:09 PM)Urkle Wrote: I believe I have narrowed down what is causing the crash and made several fixes that will appear in a patch.
Good. I also have crash problems. The strange thing is that Amnesia seems to change the write permissions. I had installed it in a directory that I have all rights too. I set all files writeable and I ran the game as myself. After it started I saved and exited. Later when I wanted to play it again I only got crashes. Then I ran it with sudo and it worked. After exiting again it was crashing when I ran it as sudo or user. I then made all files writeable again and it worked. Then I came to the Archive and now it crashes whatever I do.
I'll wait for the patch I have the three other Penumbra games to play also, so I'll try out overture now
Keep up the excellent work.
System: ubuntu 10.04, 64-bit, ATI Radeon 4870
|
|
09-13-2010, 09:22 AM |
|
Urkle
FG - Associate
Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation:
21
|
RE: Crashes upon entering specifically the Archives
Really... strange.. I'll check how the cache files are being generated as I believe that is the cause of this mess.
Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
|
|
09-13-2010, 02:46 PM |
|
ladoga
Junior Member
Posts: 7
Threads: 0
Joined: Aug 2010
Reputation:
0
|
RE: Crashes upon entering specifically the Archives
same problem here
Amnesia.bin: /builddir/core2/sources/impl/tinyXml/tinyxml.cpp:1102: virtual void TiXmlDocument::Print(FILE*, int) const: Assertion `cfile' failed.
If I understood right, maybe cache files could be just generated in ~/.frictionalgames/Amnesia ?
I'll use permissions change to user as workaround for now.
|
|
09-13-2010, 04:10 PM |
|
Oblidor
Junior Member
Posts: 23
Threads: 2
Joined: Sep 2010
Reputation:
0
|
RE: Crashes upon entering specifically the Archives
(09-13-2010, 02:46 PM)Urkle Wrote: Really... strange.. I'll check how the cache files are being generated as I believe that is the cause of this mess.
After some more testing yesterday I'm not sure that Amnesia changes the permissions, but perhaps it does on cache files?
I have the problem that I cannot start the game two times in a row as a user. I have to switch back and forth between user and root.
Also I experienced that the game crashed as it was starting up (before profile selection) and when I started it again (right away without doing anything else) it worked fine. I find that strange.
About generating core files. Isn't it a problem that there is a directory called core? I don't get any core files after doing ulimit -c unlimited ...
|
|
09-14-2010, 11:05 AM |
|
Urkle
FG - Associate
Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation:
21
|
RE: Crashes upon entering specifically the Archives
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.
There seems to be some oddities going on as the cache files are not supposed to be regenerated.
Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
|
|
09-14-2010, 01:03 PM |
|
|