Page 3 of 5

Re: Grimrock.exe stopped working

Posted: Sun Sep 23, 2012 11:20 am
by aaneton
I can confirm I have same problem. Editor crash even if I leave it idle and have not loaded/done anything, it seems like memory usage is steadly increasing constantly.

I'm using Win 7 64-bit, AMD Phenom IIx4 CPU, 4gb ram, nvidia geforce 460GTX.

Re: Grimrock.exe stopped working

Posted: Sun Sep 23, 2012 1:03 pm
by cromcrom
Same problem still here. I launch my dungeon, close the project, and editor will crash after about 15 minutes...
Timer coding is pretty stressful ^^

Re: Grimrock.exe stopped working

Posted: Sun Sep 23, 2012 2:49 pm
by Neikun
If it helps, I haven't experienced this crash at all, and I work with the editor for 4+ hours at times.

Re: Grimrock.exe stopped working

Posted: Sun Sep 23, 2012 9:54 pm
by petri
aaneton wrote:I can confirm I have same problem. Editor crash even if I leave it idle and have not loaded/done anything, it seems like memory usage is steadly increasing constantly.

I'm using Win 7 64-bit, AMD Phenom IIx4 CPU, 4gb ram, nvidia geforce 460GTX.
Very strange, can you actually see the memory usage increasing in Task Manager?

Re: Grimrock.exe stopped working

Posted: Mon Sep 24, 2012 10:31 am
by aaneton
petri wrote:
aaneton wrote:I can confirm I have same problem. Editor crash even if I leave it idle and have not loaded/done anything, it seems like memory usage is steadly increasing constantly.

I'm using Win 7 64-bit, AMD Phenom IIx4 CPU, 4gb ram, nvidia geforce 460GTX.
Very strange, can you actually see the memory usage increasing in Task Manager?
Maybe not, I looked more into the problem and while memory usage is increasing for a while it does actually drop back from time to time when idle. So I think I was wrong.
The application doesn crash however like a clockwork after about 15minutes.

Re: Grimrock.exe stopped working

Posted: Mon Sep 24, 2012 12:20 pm
by JohnWordsworth
I just wanted to add that I get this problem after about 30 minutes of having the Dungeon Editor running. All I have to do to reproduce the bug is Run Grimrock -> Dungeon Editor -> Load a Dungeon -> Wait. I tend to do that while working on the Assets, and then after about 30 minutes of so, the editor has crashed. Note that this happens if I have the preview panel running but it also happens when I haven't used the preview feature in the session at all. Some information that might be useful:

System Specs: Windows 7 64-bit, i7-2600K (3.4Ghz), 16Gb Ram, NVidia GeForce GTX 570.

Error Information (from Windows Event Log):
Faulting application name: grimrock.exe, version: 0.0.0.0, time stamp: 0x50587c6b
Faulting module name: XAudio2_7.dll_unloaded, version: 0.0.0.0, time stamp: 0x4c0641e5
Exception code: 0xc0000005
Fault offset: 0x6588a5e0
Faulting process id: 0x21c8
Faulting application start time: 0x01cd9a3ac13a2fca
Faulting application path: D:\Games\Steam\steamapps\common\Legend of Grimrock\grimrock.exe
Faulting module path: XAudio2_7.dll
Report Id: d004fdc5-0630-11e2-9018-f5b6c098bb9e

The problem always seem to lie in XAudio2_7.dll (according to the Windows Log anyway). Perhaps as I'm not doing anything to play sounds, it decides it doesn't need the module any more and unloads it from memory? Or something strange like that!

Re: Grimrock.exe stopped working

Posted: Mon Sep 24, 2012 5:26 pm
by petri
I have no idea why the XAudio dll gets unloaded, but I got some ideas how to maybe workaround this. I'll do some testing tomorrow...

Re: Grimrock.exe stopped working

Posted: Mon Sep 24, 2012 5:53 pm
by Darklynx
petri wrote:I have no idea why the XAudio dll gets unloaded, but I got some ideas how to maybe workaround this. I'll do some testing tomorrow...
Thank you very much :)

Re: Grimrock.exe stopped working

Posted: Mon Sep 24, 2012 6:30 pm
by Edsploration
Found out a tidbit more about the problem's behavior.
1) Load the Dungeon Editor, wait => It's okay! Will not crash!
2) Load the Dungeon Editor, load a dungeon, wait => Crash
3) Load the Dungeon Editor, load a dungeon, wait a bit, unload the dungeon, wait => Crash

It seems to crash some time after a dungeon is loaded, regardless of whether it is currently loaded or not. I have to say I'm surprised to find that behavior. It's too bad I can't even unload the dungeon every now and then to dodge the problem.
But I'm super thankful/hopeful to have petri looking into it! You are the 1% of community support! :D

Re: Grimrock.exe stopped working

Posted: Mon Sep 24, 2012 6:34 pm
by petri
It's quite difficult to debug this problem because so far we haven't been able to reproduce the issue. But lets see, we might be a little wiser tomorrow..