Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Icey on Sun 26/06/2011 16:55:21

Title: AGS cannot continue, this exception was fatal.
Post by: Icey on Sun 26/06/2011 16:55:21
---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x1000193C ; program pointer is +6, ACI version 3.21.1115, gtags (28,0)

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: AGS cannot continue, this exception was fatal.
Post by: Khris on Sun 26/06/2011 17:32:49
Quote from: Studio E3 on Sun 26/06/2011 16:55:21remember what you were doing at the time and post the details on the AGS Technical Forum

How do you keep failing at following simple instructions? ::)
Title: Re: AGS cannot continue, this exception was fatal.
Post by: Icey on Sun 26/06/2011 22:22:57
Opps, I am so used to posting here for any problems I have.
Title: Re: AGS cannot continue, this exception was fatal.
Post by: Khris on Sun 26/06/2011 22:27:24
Ok, so what about this part:

Quote from: Studio E3 on Sun 26/06/2011 16:55:21remember what you were doing at the time and post the details
Title: Re: AGS cannot continue, this exception was fatal.
Post by: Icey on Mon 27/06/2011 01:16:09
Ok ok, I just skipped over that and read the error part. Here is the break down then. I'd click this object that is supposed to send the player to another room. I get the error when I click that object.

That's it. I don't know why it's doing this now.
Title: Re: AGS cannot continue, this exception was fatal.
Post by: Khris on Mon 27/06/2011 01:20:27
Try "Rebuild all files".

Also, how about posting the code and mentioning the function? You know, more INFO.
If you want to be treated like a normal person, why do you have to make it so damn hard for us?
Title: Re: AGS cannot continue, this exception was fatal.
Post by: Icey on Mon 27/06/2011 01:47:27
Ok I will try that.

And because it's fun. Just kidding, I thought it was something one of you guys could have just seen and knew what it was right off the back. This problem only occurs now and then.
Title: Re: AGS cannot continue, this exception was fatal.
Post by: suicidal pencil on Mon 27/06/2011 08:51:39
Quote from: Studio E3 on Mon 27/06/2011 01:47:27
I thought it was something one of you guys could have just seen and knew what it was right off the back...

Well you see, that's the problem in the first place. No two computers are the exact same (except when you compare brand new computers before retail sale, but even then...) so information contained within the error report generated by your computer probably will not be the same as one generated by someone else. The only thing this error tells me is that AGS had a memory error.

Plus, there can be more then one reason that you got a particular error. That's why the specific details of what you were doing, the code that caused the error, which build of AGS you're using, what your computer is, etc. is so important. What if you were using AGS 3.1.2 on Ubuntu, or AGS 2.71 on Mac (and the error didn't helpfully put in the version number or OS)? It's usually assumed that people are using Windows XP/Vista/Seven & the latest stable build of AGS, so if you weren't using Windows or were using an earlier AGS build and you didn't mention it, the help we would give is potentially useless  ;)

Now having said that, I do recall seeing this error before (in an older build of AGS...3.1 I think) and I'm pretty sure it involved an object in some way, but I don't remember specifics or how I solved it  :(

Based on the information you've given, this seems a likely candidate to what happened.
Quote from: http://searchwinit.techtarget.com/definition/illegal-operation...An illegal operation may mean a bug in the application program (or occasionally in the operating system) or it may be the result of a combination of unusual circumstances that the program and operating system could or did not anticipate. In the latter case, the problem may not be repeated or may be intermittent.

I also did a bit of searching around the forum for the same problem (which is a good habit to get into to diagnose problems  ;) ) and it looks like this error stems from something not being loaded into memory (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=27515.0) or not existing at all (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=7502.0). These are of older versions so they might not reflect the problem you are currently having, but it is insight  ;)
Title: Re: AGS cannot continue, this exception was fatal.
Post by: Khris on Mon 27/06/2011 10:48:44
At least the error itself does mention the AGS version (3.21.1115).

Still waiting for the code.
Title: Re: AGS cannot continue, this exception was fatal.
Post by: Calin Leafshade on Mon 27/06/2011 13:58:32
umm we *have* the source code now. Someone could look up the EIP and see where the engine is crashing.
Title: Re: AGS cannot continue, this exception was fatal.
Post by: Icey on Mon 27/06/2011 16:48:07

function oObject9_Interact()
{
   party.TweenPosition(0.1, 0, 199, eEaseInEaseOutTween, eBlockTween);

   Dave.ChangeRoom(11, 164, 138);
}