I too have an annoying AGS crash when trying to open scripts

Started by rich, Thu 07/04/2005 10:55:13

Previous topic - Next topic

rich

I believe my game has been corrupted somehow because 90% of the time when I try to open a script, Global, Header or room, I get the following Fatal Crash error:

(Exception 0x00000000 at EIP = 0x00000000, AGSEDIT v2.70.594, SIP=26)

Yes, I'm using the new 2.7Prefinal2.

I was having no problems until about half an hour ago when I was trying to add an inventory interaction in a room when you click on a hotspot with that inventory. Well, it didn't work the way I wanted, but then when I tried to OPEN my Global Script, the system crashed. Well, I kept re-opening AGS and then open the Global Script and it would almost always crash.

If I open another game, it will always open its scripts fine! In fact, if I open another game, open its script, then open my game, I can usually open my script once. If I try to save with an error, I can usally open my script once. Well, I know my script is fine because I can dump it to a .txt and it's all there. I can build and play the game fine. Everything is there, but this crashing is making it very difficult to continue working. Any help would be appreciated.

Thank you!
Rich
I'm so excited!

SSH

12

Pumaman

If you could upload the game files (particularly ac2game.dta and editor.dat) for me to take a look at then that would be very useful -- I'd really like to track down this problem.

rich

Sorry, now my newbieness to AGS will shine...

Where is the best place to upload the files, or should I e-mail them to Chris directly?

To be honest, I'd rather not have the public looking at my game yet at this time, but I will do whatever must be done.

Thank you so much for the help and support,
Rich
I'm so excited!

strazer

First, try zipping the files and look at the file size.
If it isn't too big (< 1MB I would guess) you can e-mail it, but if it is larger, upload it somewhere and pm him the link.

RickJ

rich,

Try going back to RC3 version to see if that works.  I am having the same problem, and most recently the crash occured when opening a game and then immediately editing the Global Script.   I went back to RC3 and everything worked just fine.  Also save your editor.dat and backup_*.* files in another directory for safe keeping.  You may be able to recover some of your work. 





strazer

But keep a backup of your current non-working files so CJ can investigate the problem!

Pumaman

Quote from: rich on Fri 08/04/2005 03:17:52
Where is the best place to upload the files, or should I e-mail them to Chris directly?

As strazer says, if the file is relatively small then please e-mail it directly to me. If it's bigger than a megabyte or so, and you have some webspace to upload it to, then please do so and send me an e-mail or private message with the link.


Since you and RickJ have both experienced this problem there's definitely something wrong, and I'd really like to be able to replicate it and fix it before releasing 2.7

Pumaman

Thanks for sending it.

Unfortunately, I'm able to open the global script, script header and room script fine with no crashes at all.

Is it just the global script that causes the problem, or does the crash also happen with the script header and/or room script?

This is turning into a most bizarre issue.

When you do open the script successfully, can you go into the script editor File, Preferences dialog and un-tick all the options, and see if that stops the problem happening?

rich

Hmm... when it does happen, it happens opening any script, be it the global script, header script or a room script.

I just tried it again on my computer and everything worked fine... at first. Then I closed AGS, re-opened it, and the problem occured again, and the program ended. Then I opened it again and it worked okay again. I made changes and it worked ok. Exited and it worked okay. Hmmm... I'm sorry I can't give you more about it. It's always the problem QA, is it's so easy to reproduce at first, and then show it to the developer and the bug stops happening. (I've done a lot of QA for a living.)

I'll fuss with it more tonight and see what else I can give in the way of describing how this happens.

Rich
I'm so excited!

rich

Okay, I've tried various things, and at least I can rule some stuff out:

It started occuring a couple days ago, on a laptop I was borrowing, and AGS and the game files were on a external harddrive. I thought it might have been one of those things, but now it's back on my desktop computer, on the internal drive and I'm still getting the crash.

I believe I was wrong about the room script editor. It seems like I actually can open the room scripts without a problem. It is the Global Script and Header Script that are causing the problem. Well, it is definitely a situation where when it rains it pours. If everything is working fine, I can keep opening and closing the script. I can keep closing out of AGS and reopening it, and it's fine. But when it starts crashing, it keeps crashing, everytime I open AGS and then one of the two scripts it crashes. I do any editing, open a script, it will crash. Hmmm... like I said, I will keep looking into exactly what I'm doing when it crashes or not.

Thanks,
Rich

EDIT: Btw, I unticked all of the options in the Preference dialog, but that didn't help at all. Also, if I switch to using another program to edit the Script, such as notepad, I have no problems. But I like your editor so much, that I'd rather not do that.
I'm so excited!

Pumaman

Thanks for the info. Could you please try out pre-final 3 and see if it helps at all - I have identified a possible memory overrun error in that version, and fixed it.

RickJ

OK, I just tried Prefinal 3 and it seems to have cured my problem.  I'll let you know tomorrow after I do  mor testing.  Thanks.

rich

I have been using PreFinal3 for the last two days, and I haven't had the problem again yet! I'll continue using it and be sure to let you know if I encounter it again.
I'm so excited!

SMF spam blocked by CleanTalk