Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: tabletopj on Fri 23/11/2012 02:34:26

Title: Bug report in Gemini Rue - replicated on 2 computer systems
Post by: tabletopj on Fri 23/11/2012 02:34:26
I'm sad to say this game-ending bug repeated itself on 2 computers using 2 different operating systems.  Both occurred after successfully completing Delta 6's shooting tutorial, after the speaker congratulates you for your shooting and you are supposed to receive a meal ticket.  The audio starts looping and the game closes itself with an illegal exception error.  I downloaded the game through Steam, but did not play it in Steam. 

My laptop running Ubuntu (and playing the game with Wine) comes up with this error, and so does a desktop computer running Windows 7.  The Windows computer has an Nvidia GeForce GTX 550 Ti.  The laptop has an Nvidia card as well.

I have changed DirectDraw/Direct3D and many other settings, and nothing works.  Can't play the rest of the game now.  :(

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x735C19CE ; program pointer is +157, ACI version 3.21.1115, gtags (60,7)

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.

in "GlobalScript.asc", line 782
from "room54.asc", line 701


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: Bug report in Gemini Rue - replicated on 2 computer systems
Post by: Crimson Wizard on Fri 23/11/2012 07:44:05
Program pointer +157 is in DisplaySpeech function, just before speech is being stopped. This, and also you mentioning about looping sound, gives me a thought this is problem with audio, rather than graphics.

Maybe you could upload a savegame made right before the crash so others could check if that happens for them too?
Title: Re: Bug report in Gemini Rue - replicated on 2 computer systems
Post by: JJS on Fri 23/11/2012 08:55:11
Not sure if looping sound really points to an audio related crash. If the engines main thread receives an exception the audio buffer will not be updated anymore (since the original engine is singlethreaded).
Title: Re: Bug report in Gemini Rue - replicated on 2 computer systems
Post by: tabletopj on Sat 24/11/2012 00:20:46
Here is one savegame.  This one may not work on Windows.  Let me know if it won't work.  http://speedy.sh/Kr9Yw/agssave.006
Title: Re: Bug report in Gemini Rue - replicated on 2 computer systems
Post by: Crimson Wizard on Sat 24/11/2012 00:37:31
GR I have has version 3.21.1111, while you are using 3.21.1115... was the Steam version of the game rebuilt on later AGS?
Or, maybe, you are running JJS's Linux port?

Engine version is very important thing to know.

And, no, it cannot be loaded on Windows, it's x2 larger than common GR savegame. I remember JJS once mentioned this behavior on 64-bit Linux systems, but I don't know if that's related.
Title: Re: Bug report in Gemini Rue - replicated on 2 computer systems
Post by: tabletopj on Sat 24/11/2012 03:46:25
I tried using my copy of Windows XP on Oracle VirtualBox and STILL got the same error.  :(

For this I used the savestates uploaded by Steam - http://www.davelgil.com/boe/grue/grue_saves.zip
I think the one closest to the gun test is #5; it's the one before the "Delta6 finished" save.

I think GR was updated by steam to a newer engine?  I could be wrong about that though.
Title: Re: Bug report in Gemini Rue - replicated on 2 computer systems
Post by: tabletopj on Sat 24/11/2012 07:36:46
Ok, letting you all know that I tried a non-Steam version, and it works just fine after the gun battles.  This looks like a Steam-only issue, even if you don't play the Steam game inside of the Steam application.
Title: Re: Bug report in Gemini Rue - replicated on 2 computer systems
Post by: JJS on Sat 24/11/2012 09:27:04
Quote from: Crimson Wizard on Sat 24/11/2012 00:37:31
GR I have has version 3.21.1111, while you are using 3.21.1115... was the Steam version of the game rebuilt on later AGS?
The Steam version is certainly different. It has achievements and it doesn't use the snowrain plugin.

Are you supposed to get an achievement at that point in the game? Do you get the same error when playing the game inside Steam?
Title: Re: Bug report in Gemini Rue - replicated on 2 computer systems
Post by: tabletopj on Sat 24/11/2012 16:55:04
That makes sense! The game has crashed in the same way before when I would have gotten an achievement (like doing a headshot on a Boryokudan).  It also crashes if I even try to look at achievements in the game menu.  I cannot play the game inside of Steam because of what is probably an annoying memory issue-- the sound is completely choppy, especially voices.

However, playing the non-Steam version has no issues at all.
Title: Re: Bug report in Gemini Rue - replicated on 2 computer systems
Post by: Mati256 on Sat 24/11/2012 23:24:02
You can get an stand alone version of Gemini Rue (together with other four games including Resonance and the Blackwell Bundle) at GOG. http://www.gog.com/pick_5_pay_10 for $10

It would mean buying the game again, but if you can't play the steam version, it's an alternative. Also, a great opportunity to get more games!
Title: Re: Bug report in Gemini Rue - replicated on 2 computer systems
Post by: Crimson Wizard on Sun 25/11/2012 17:55:35
Not sure it is relevant, I just had the game hang when calling for Giselle through maintenance door. As the speech ended, the sound looped endlessly... but as JJS mentioned, it means only that the game did halt. So, it's hard to say if that was same error. Game did not close though and I had to kill the process.
One more thing - I am running our development version of the engine.

E: this error seem to be occasional one, I was able to pass this moment on second attempt.