Grimrock.exe stopped working

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Kelnaath
Posts: 3
Joined: Sun Sep 16, 2012 7:55 pm

Grimrock.exe stopped working

Post by Kelnaath »

Each time when i'm making levels, my editor crashes with the message: Grimrock.exe stopped working.
This always happens when i'm 15 to 20 minutes in. I tried reproducing the crash but so far it seems completely time based as it even happens
when i just leave the editor open and go do something else.
papazombie
Posts: 17
Joined: Sat Sep 15, 2012 1:00 am

Re: Grimrock.exe stopped working

Post by papazombie »

I have same issue; every 15 minutes aproximately the editor crashes ;)
Aazlan
Posts: 13
Joined: Thu Sep 13, 2012 6:59 pm

Re: Grimrock.exe stopped working

Post by Aazlan »

Also experiencing this.
User avatar
Montis
Posts: 340
Joined: Sun Apr 15, 2012 1:25 am
Location: Grimrock II 2nd playthrough (hard/oldschool)

Re: Grimrock.exe stopped working

Post by Montis »

maybe you have too much stuff going on in your levels and the editor runs out of memory in the preview? maybe stop the preview when you're doing something else
When destiny calls, the chosen have no choice.

My completed dungeon (LoG1): Hypercube
User avatar
Leki
Posts: 550
Joined: Wed Sep 12, 2012 3:49 pm

Re: Grimrock.exe stopped working

Post by Leki »

I am not sure abou that. It's question of memory i guess, but its not depends on dungeon size. You can start new project with starting room and after some time it will crash. My workstation - notebook Sony (nVidia GT540M, W7-64, 6 RAM, i7-2670 @2,2) is ok (but I used this one for only 2-3 hours), but my small notebook HP Pavilion dm1(Intel 4500HD, W7-32, 3 RAM, C2D @1,3) and my Desktop (Ati HD6970, W7-64, 4 RAM, C2D @3,2) crash 1-3x per hour, does not matter how big dungeon is. Game is ok. I can play without issues.
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Grimrock.exe stopped working

Post by petri »

Hmm, we have been unable to reproduce the crash so far after several hours of testing.

Couple of questions, would help us tracking this down:
- Does the crash happen even if you just create a new dungeon, start preview and leave it running?
- Is the preview window open or closed while it crashes?
- Is the editor window minimized or on-screen when it crashes?
- Could you leave Windows Task Manager open and see if the memory usage of Grimrock.exe grows?
- What is the largest memory usage before crash according to Task Manager?

Thanks!
User avatar
Shroom
Posts: 98
Joined: Tue Mar 27, 2012 6:37 pm
Location: UK

Re: Grimrock.exe stopped working

Post by Shroom »

- Does the crash happen even if you just create a new dungeon, start preview and leave it running?
Loaded a dungeon, played a bit in the preview

- Is the preview window open or closed while it crashes?
open - slightly bigger than it started, but layout fairly close to the starting setup

- Is the editor window minimized or on-screen when it crashes?
open and on screen

- Could you leave Windows Task Manager open and see if the memory usage of Grimrock.exe grows?
it was not changing much at all

- What is the largest memory usage before crash according to Task Manager?
745 Mb

I am running Windows 7 ultimate - 64 bit. 6gb ram on a 460Ti. Processor is an old quad core q6600

The many other times it has happened, I was just using the editor to create a dungeon - but this is the first time I have had task manager running after seeing this post.
User avatar
Shroom
Posts: 98
Joined: Tue Mar 27, 2012 6:37 pm
Location: UK

Re: Grimrock.exe stopped working

Post by Shroom »

I actually got a memory error this time when i didnt close the program and left it for a while, i got another pop up saying it had stopped working - maybe another thread causing the problem?

Here is the details anyway

Problem signature:
Problem Event Name: APPCRASH
Application Name: grimrock.exe
Application Version: 0.0.0.0
Application Timestamp: 504f405e
Fault Module Name: grimrock.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 504f405e
Exception Code: c0000005
Exception Offset: 000ba387
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 2057
Additional Information 1: 65f3
Additional Information 2: 65f3eff78b7940cd156c66f1b2beda25
Additional Information 3: fc6c
Additional Information 4: fc6c1da9852e0e801d4c6c814ca5570a
Kelnaath
Posts: 3
Joined: Sun Sep 16, 2012 7:55 pm

Re: Grimrock.exe stopped working

Post by Kelnaath »

specs:( Processor :Intel Core 2 Quad Q6600 @ 2400MHz, NVidia GTX460, 4GB DDR2 Ram)

- Does the crash happen even if you just create a new dungeon, start preview and leave it running?
Leaving a new dungeon open in preview mode seems to work fine. had it running for one hour and no crash.
i slowly started adding stuff to the dungeon and it is still working fine.

As soon as i loaded the dungeon i was working on it crashed after several minutes.
Im putting my scripts from the dungeon which makes the editor crash at the bottom of the post as it might be related.

- Is the preview window open or closed while it crashes?
the editor crashes when either preview mode is running or closed.

- Is the editor window minimized or on-screen when it crashes?
It crashes both when minimized and when on-screen.

- Could you leave Windows Task Manager open and see if the memory usage of Grimrock.exe grows?
i kept an eye out on the process memory, if i press play and leave it running it seems to be stable. However the process seems to get bigger each time i press the play button.
i got it to increase by 100,000 kb by just spamming play.

- What is the largest memory usage before crash according to Task Manager?
595.684 kb

script:

function checkItemAltar()

if altar_2:getItemCount() >= 0
then

dungeon_door_wooden_1:toggle()

else
dungeon_door_wooden_1:toggle() <= i just realised that this piece of code might be the culprit,because the altar has 1 item by default which causes the else to constantly be called. i'm testing it without the else as i write.
end
end
User avatar
Leki
Posts: 550
Joined: Wed Sep 12, 2012 3:49 pm

Re: Grimrock.exe stopped working

Post by Leki »

my test tracking crash:
- start 500 000kB and grow very fast to 517
- editor start: 111 860 kB
- load mod: 582 154 kB and slowly growing (584 after cca 10sec etc), then some smal numbers +/-
- start preview: 603 392 kB and some small numbers +/-, stop preview in 2 sec
- start preview again: 611 364 kB and some small numbers +/-, stop preview in 2 sec
- play again: 619 416 kB...
- died in preview (monster killed me): 620 828 kB +/- small numbers
- got message by steam (friend) - Shift TAb and Back
- then close project: 625 245 kB and some small numbers for cca1 min - it was stable! without changes of numbers!
- after cca 1 min from 625 245 kB to 416 212 kB
- I waited for cca 2 mins - nothing hapens, number is stable
- open project: 628, 629, 630 in cca 1 minute, small numbers +/-, it(s around 629 500kB now
- play preview: 638-641 in few sec, then smal numbers around 640 +/-
- im dead again, stop preview, moving starting location to another place
- play again: I walk around, kill some monsters (K), open some doors (Z)
- memory growed to 645, 650, 655 in cca 1 minute
- then crash around 660 I guess

one more try in simillar way (steam info about friends online showed, no messages this time)
- crash memory 699 178 kB

editor: window, no editing, no adding items or wall, only what i described.
additional info: it crashes also if PC is offline

its not a problem of my PC its around +/- 2,5 from 4GB, CPU 60-70%...
I'm the Gate I'm the Key.
Dawn of Lore
Post Reply