Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Calin Leafshade on Sun 17/03/2013 19:21:04

Title: Intermittent Crash
Post by: Calin Leafshade on Sun 17/03/2013 19:21:04
I get the following crash every so often on room changes but i cant pin point the cause. Can one of the engine devs help?

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x004229AA ; program pointer is +72, ACI version 3.21.1115, gtags (4,0)

AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and post the details on the AGS Technical Forum.



Most versions of Windows allow you to press Ctrl+C now to copy this entire message to the clipboard for easy reporting.

An error file CrashInfo.dmp has been created. You may be asked to upload this file when reporting this problem on the AGS Forums. (code 0)
---------------------------
OK   
---------------------------
Title: Re: Intermittent Crash
Post by: Crimson Wizard on Sun 17/03/2013 19:44:44
The only thing I can tell is that program pointer +72 is at the end of update routine, just before FPS display is updated and music is polled.

To get more info one would need either run engine under debugger, or use crash dump (to use crash dump you need matching acwin.pdb, and since we don't have 3.2.1's pdb, you need to run the game with the engine, either compiled by yourself, or use any other custom compiled engine posted around).
Title: Re: Intermittent Crash
Post by: Calin Leafshade on Sun 17/03/2013 20:17:26
Hmm I may have done something in Lua that the engine didn't like.

I will continue investigating.
Title: Re: Intermittent Crash
Post by: Slasher on Sun 17/03/2013 20:43:08
AGS is a fickle thing sometimes.

I have had similar types of errors come up out of the blue. AGS never closed down and the error warning went away, I recompiled and the game was ok and ran. A dump crash file normally appeared in the folder.

Some strange things do happen.
Title: Re: Intermittent Crash
Post by: Crimson Wizard on Sun 17/03/2013 21:31:51
Thanks slasher, that was one a useful comment :).