AGS 3.1.1: Exception when running compiled game with digital music

Started by Crimson Wizard, Thu 08/01/2009 15:07:41

Previous topic - Next topic

Crimson Wizard

Good time of the day to everyone.
I met this problem when launching my game in compiled form with digital music, game crashes and following error message appears:

---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occurred in ACWIN.EXE at EIP = 0x004623C0 ; program pointer is +207, ACI version 3.11.1057, gtags (0,1)

It does not happen when I run game in debug mode, and since I believe it uses raw music files then, this all happens only when music package (*.vox) is being used.
Digital music consist of couple of MP3 files. I am using Windows Vista 32bit.
I do not know what else information I need to report; error message noted I may be asked to upload crash dump file, I have one, but currently I do not see the way I can upload it :)

Pumaman

Does it crash at startup or when you try and play music mid-way thorugh the game?

If you could upload the crash dump file, that would be appreciated. If you don't have any web space to upload it to, zip it up and try uploading here (I think this still works):
http://www.americangirlscouts.org/agsuploads/

Crimson Wizard

It crashes anytime music from vox package is about to play. I tried both setting startup room music or playing music from room script after some delay, same results. It only works if I put MP3 file into Compiled folder and pay it using PlayMP3File function.


Crash dump:
http://www.fotomaterial.narod.ru/_temp/CrashInfo.3.11.1057.zip
(you will be redirected to another page to confirm you want to download the file; everything is in russian there, but you just need to find same link)

Pumaman

Hmm, thanks... I can't reproduce this problem.

Would you be able to upload the compiled game, or the MP3 file that is causing the problem?

Crimson Wizard

Looks like this is not needed; I investigated problem futher and finally managed to detect reason of the problem. It appears that this only happens when the path to compiled game includes non-latin characters.
That is, if path has only strict latin characters it works and play music normally, but if there's some folder named in other (cyrillic in my case) it crashes. This does not depend on game (I tried creating new game from Default template) and on music type (tried different mp3s, oggs, wavs).

Also, I think this did not happen in AGS 3.0.

Pumaman

Hmm, that's interesting. I think that's still a bug.

Can you post an example of a folder name that crashes it? I've tried things like é and ñ but I assume they count as Latin characters... in fact, I'm not sure if my version of Windows will allow other character sets...

Crimson Wizard

Well, "Иван" for instance (that's my user name in Windows), or "Мои документы" (= My Documents). I just do not know if copying this from forum thread to your machine will keep these characters as they are.

Pumaman

Interesting, when I rename the folder to contain those characters, the game just refuses to start. I'd expect that, since AGS doesn't handle unicode and those are extended non-ASCII characters. Strange that for you it's starting up and then crashing, though...

Trent R

Perhaps that has to do with a different OS? I believe that having multiple languages in XP can be a pain (at least for the English version that I once had) but much easier for Vista.

But I don't know what OS you have (I assume Crimson has XP because it is 'My' Documents)

~Trent
PS-My bro and I had Japanese installed on my old comp, and that was a pain....
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

Crimson Wizard

Quote from: Trent R on Mon 12/01/2009 00:15:43
But I don't know what OS you have (I assume Crimson has XP because it is 'My' Documents)

Huh, no, I was talking about Vista, it's just that memorized that "My Documents" from earlier Win versions I used for so many years :)
Actual path was like:

C:\Users\Иван\Documents\AGS\MyGame (or whatever).

By the way, I tried starting the game on another machine that has XP installed (reproducing similar condition), and I got absolutely same error.

Pumaman

Hmm, odd. I think this is something that needs to be resolved, and AGS should detect the problem and at least give the player a decent error message. Strange that I can't reproduce it (I'm using Vista also).

Crimson Wizard

Heh, if AGS was open source I could try build it and run with debugger :) but it is not.
So, can I help you somehow else in this, like providing more information about something?

Trent R

Quote from: Crimson Wizard on Mon 12/01/2009 12:11:12
Huh, no, I was talking about Vista, it's just that memorized that "My Documents" from earlier Win versions I used for so many years :)
Haha :)


Alright, sorry my previous comment didn't help. If I can get around to it, maybe I'll try to reproduce it with Japanese text. May take a few days (that XP comp is at my bro's apartment).


~Trent
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

Crimson Wizard

More info: I found myself able to avoid this crash by setting compatibility with Windows 98 mode for game executable.

Pumaman

Interesting. Well, I'll spend some more time on it at some point and see if I can work out a fix for it.

SMF spam blocked by CleanTalk