Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: theatrx on Sun 22/01/2006 22:14:09

Title: Illegal exception when importing font (SOLVED)
Post by: theatrx on Sun 22/01/2006 22:14:09
I got this message today:

Quote
Illegal exception
--
An exception 0x0000005 occured in ACWIN.EXE at EIP = 0x0043796B ; program pointer is +379, ACI version 2.71.894, gtags (513,2)

It says this exception was fatal but the engine doesn't crash... hmmm. So what's up?

Steve

Title: Re: Unknown Error Message
Post by: Pumaman on Sun 22/01/2006 22:22:55
What were you doing when you received the message? Does it happen every time you do whatever it is that you were doing?

It looks like a crash rendering the GUIs... do any of your GUIs have missing or dodgy graphics?
Title: Re: Unknown Error Message
Post by: theatrx on Sun 22/01/2006 23:32:05
I tried to load a ttf font which didn't work.  I deleted the font and I still get this error.  I've since deleted the GUI that I was working on and I still get the error.  That's probably why it says fatal but it's not.  So, how do I get rid of the message... What's still there that I'm not seeing?

Thanks
Steve

Edit:

Today I tried to load a new font and got this message
then the program closed down:

http://theatrx.8m.com/Error%20Message%202.jpg

It's getting curiouser and curiouser.
Title: Re: Illegal exception
Post by: strazer on Mon 23/01/2006 09:39:42
Please post error messages in clear text so they show up in the forum search!
Title: Re: Illegal exception
Post by: theatrx on Mon 23/01/2006 14:51:48
Sorry. 

Typing error messages has always been a bit daunting.

The error message reads:

An exception 0xC0000005 ocured in ACWIN.EXE at EIP =
0x0043796B;program pointer is +379,ACI version 2.71.894,
gtags (513,2)

AGS cannot continue, this exception was fatal. 
Please note down the numbers above, remember what you were
doing at the time and notify CJ on the Tech forum.

Although it says it's fatal... the program does not crash.

Title: Re: Illegal exception
Post by: TerranRich on Mon 23/01/2006 17:15:13
(For future reference, in Windows you can just press Ctrl-C on the message window to copy all text.)
Title: Re: Illegal exception
Post by: theatrx on Mon 23/01/2006 17:22:16
I tried that.  It didn't work.  I had to printscreen to get a copy of it... Don't know why that happened either.  Usually it does work.  Hmmm... Maybe I've got bugs... but I checked that too and I'm fine.

Edit by strazer:

No need to quote the post directly above you! :P
Title: Re: Illegal exception
Post by: Pumaman on Mon 23/01/2006 20:23:00
How many custom fonts do you have?

If you back up your game, then try the "Revert to defaults" button on the Fonts pane, does that sort it out?
Title: Re: Illegal exception
Post by: theatrx on Mon 23/01/2006 20:30:53
No.  I tried that yesterday.  As I say, it says it's a fatal exception but the program doesn't crash so something is sort of fixed.  But, if I try to  import any fonts,  the program crashes... It doesn't like ttf fonts at all.  Steve

Edit by strazer:

No need to quote the post directly above you!  >:(
Title: Re: Illegal exception
Post by: Gilbert on Mon 23/01/2006 20:32:47
What language are the fonts in?

Title: Re: Illegal exception
Post by: theatrx on Tue 24/01/2006 00:06:14
Well... the font typed in English but seen in Egyptian hieroglyphs.Ã,  So an A on the keyboard is an arm.

I can't do this?Ã,  I hope I can.
Title: Re: Illegal exception
Post by: Pumaman on Tue 24/01/2006 19:16:34
Are you saying the editor crashes when you import the font, or the game engine crashes when you try and test the game?

Could you upload one of these font files that causes the problem?

If you import a standard font like Arial, does it still have a problem?
Title: Re: Illegal exception
Post by: theatrx on Tue 24/01/2006 21:18:02
It seems to have fixed itself.  It wouldn't let me import any kind of font and then all of a sudden it would and everything works fine again.  Thanks for the help though.  I wish I knew why it stopped working and started again though.  Hmmm.