Illegal exception in Al Emmo.

Started by Leo, Mon 25/06/2007 20:13:11

Previous topic - Next topic

Leo

In Saloon, after dialog with Rita I have the next message:

---------------------------
Illegal exception
---------------------------
An exception 0xC00000FD occured in ACWIN.EXE at EIP = 0x0042CB05 ; program pointer is +1004, ACI version 2.72.920, gtags (58,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.

in Room 124 script (line 411)


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

I receive it every time. The game can't continue.
It's full game. My computer is: P-IV-2,8 GHz, 1Gb RAM, GeForce 6600.
Versions of video drivers and DirectX - last available.

Tried the game on another computer- Athlon 3000+, 1Gb RAM, GeForce 6600 - same result.

Thank You.

Candle

#1
i would ask at their forums.
Never mind see you did.

Leo

That means, the game is dead? No way to repair?

strazer

First, ask the developers what the game is trying to do on "Room 124 script (line 411)".
Judging from previous threads, it's probably a problem with playing a video.

Are you able to see any videos at all in the game? The intro movie is a video, no? Does that work?

I don't know what version of AGS Al Emmo was compiled with, but try running it with the latest engine.

If all else fails, you may have to delete (better: rename) the problematic movie file. Find out which one it is by asking the developers about the script line above.

Shane 'ProgZmax' Stevens

Also, since you paid for it (that's an assumption) you are entitled to technical support from the Al Emmo team.  I'm sure if you contact them and it is a bug they will provide you with a fixed version.

Leo

The version of game engine is 2.72.920.0.
The intro movie and other movies are ok, but it's impossible to find actual move, that could'n be played, because all game files are packed.

AGD2

Room124 is the first comic cutscene, and it appears that the game is crashing at the following line (line 411):

Code: ags
mouse.DisableMode(eModeTalkto);


I'm really not sure why it would do that, which is why I suggested asking CJ here at the Tech forum.  We haven't had any other reports of this crash prior to this.

Leo


Privateer Puddin'

CJ checks the tech forums, he's been away at Brittens but I'm sure he'll get around to this thread.

Pumaman

Hmm that's strange, it's a stack overflow error which implies that something is getting stuck in a recursive loop. It's especially strange that you've had the problem on two computers but nobody else has reported the issue.

Is there anything in particular that you do just before the error happens, or are you just watching a cutscene?

Leo

I tried 2 variants:
1. just watch the scene and do nothing
2. skip dialogs by pressing Esc key.
The result is the same.
I can send a saved game just before the error to check it.

AGD2

Can you email the savegame to me at chris@himalayastudios.com

I'll see if it crashes on my side. If not I'll try to get passed the crash for you, save the game, and then send it back to you if you like.

jsczar

#12
Luckily I managed to complete the game with sheer persistence but I got at least a dozen "Illegal exception" crashes similar to the following along the way:
---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x004DF582 ; program pointer is +7, ACI version 2.72.920, gtags (26,4)

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.

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

I would also sometimes get crashes with less information, such as:
---------------------------
Error
---------------------------
Error: Access violation at 0x004275A0 (tried to read from 0xFFFFFFFF), program terminated.
---------------------------
OK   
---------------------------

I'm not really sure, but it seemed the crashes happened more frequently if I skipped dialog by clicking/hitting a key. If I restarted the game and just allowed the dialog to take its course, it seemed like it crashed less frequently. A crash also happened on occasion (of the latter kind I think) when saving... I was always able to restore from that save however, so it seems those crashes happened immediately after the save completed. I ran the game with default settings (fullscreen, subtitles + voice, etc) ... if it matters, I believe Al Emmo uses OGG for the audio.  Please let me know if I can help provide any more details to help track these errors down so they don't deter anyone from playing this game / using the AGS engine.

Edited by mod: Topics merged. But yes, read also the comments above.

Pumaman

If you're getting completely random crashes throughout the game, it usually indicates some sort of potential sound or graphics driver problem -- which means it's likely to be very tricky to track down. It might be useful to know which version of Windows you're using?

Additionally, there have been instances of people getting crashes with pirated hacked versions of the game, where the hackery has made the game unstable.

jsczar

#14
I'm using a relatively ordinary (cheap) Dell Dimension E510 with the preinstalled OEM version of Windows XP Home w/ SP2 (32bit) and 1GB RAM.  It has an ATI Radeon X600 256MB graphics card and the on-motherboard audio (SigmaTel HD Audio, some kind of AC'97 compatible chip).  The system was current with all updates from Windows Update (including any hardware drivers), but I honestly haven't checked for updated drivers from ATI or other component manufacturer sites in several months (I generally don't unless I run into a problem that points to a specific driver).
The Al Emmo version I'm running is a legally purchased and downloaded version from the TellTaleGames site, without any patches/hacks.  I'm running whatever the original game release version is (as far as I know there are no updates).
I was able to finish the game, so posting here is not for my benefit -- if it's a driver problem unique to my system then great(!), but I just want to be sure it's not something more people in general will run into either with the game or engine.  I'm willing to spend a modest amount of time to reproduce the crashes if that will help anyone -- let me know if there is some kind of debug logging I can turn on that will help narrow done the cause.

Edit:

Ok, I can recreate one crash fairly often in the same spot (sunscreen @ oasis quest series) ... here is one sample crash dialog:

QuoteIllegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x00474452 ; program pointer is +155, ACI version 2.72.920, gtags (37,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.

in Room 31 script (line 1306)

Also once it unexpectedly quit the game and I was back at desktop with no crash dialog at all (!) and another time I got this:

QuoteError
---------------------------
Error: Access violation at 0x00474450 (tried to read from 0xFFFFFFFF), program terminated.

I feel fairly confident now that I can get it to crash in one of the above ways again by using a save I have right before that point.  I'll also check with himalayastudios to see if they can provide some info on what happens in Room 31 script (line 1306).

Pumaman

Thanks for volunteering to help out. I guess one thing you could do is try disabling the sound and music in the Setup program, and then loading that save game again and see if it still crashes.

QuoteOk, I can recreate one crash fairly often in the same spot (sunscreen @ oasis quest series) ... here is one sample crash dialog:
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x00474452 ; program pointer is +155, ACI version 2.72.920, gtags (37,2)

Hmm, that indicates that it crashed just trying to display a line of character speech, which is a really basic function and not something I've seen happen before.

Do you get random crashes or problems with other games or applications? I think I remember somebody having similar problems and it turned out that their memory was overclocked or faulty or something and producing random errors.

jsczar

#16
In Sound options, the following were set by default:
Digital Sound: Default DirectSound Device
MIDI music: Win32 MIDI Mapper

I changed them to:
Digital Sound: Default WaveOut Device
MIDI music: Disable music

Also in the game, I changed the dialog setting from Voice + Text to Text only (no speech).  The result is that the only sound were sound effects.
I have not been able to reproduce any crashes since.  I then turned the Voice (speech) back on inside the game but still couldn't get it to crash so far.
I'll try some more later, but I suspect maybe it was the MIDI music that had something to do with my problems.  Maybe there is a driver issue that overwrote some memory, and at some point when another sound function is triggered it causes a crash.   If anyone has any ideas let me know but at least the above is a workaround for anyone that runs into this particular issue (and the game is still quite playable without the music).  I'm not sure if this is typical of all rooms in the game, but the rooms I've crashed in such as the oasis (Room 31?) and indian chief's tent etc, all have music + ambient background sound + speech during dialog (oasis has music + waterfall + ...).

Pumaman

Interesting, it does sound plausible that the sound or music driver was causing the problem. Do let us know if you discover anything further.

SMF spam blocked by CleanTalk