Critical Error...

Custom dungeons for RTC
Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Saumun
High Lord
Posts: 2238
Joined: Fri Feb 20, 2009 3:03 am
Location: The Ether

Critical Error...

Post by Saumun »

I'm getting an access violation exception when i try to test an old half completed dungeon. The file won't open.
Could anyone tell me specifically what this diag report points to?

RTC (V0.49) Diagnostic file - Thu Sep 12 16:11:03 2013

Error:
an access violation exception.

Stack Dump:
RTC.LD();
RTC.InitSecondary();
RTC.ProgStateIntroContinue2();
RTC.DoFrame(int 7);
RTC.WinMain();

I thought at first that it was related to a bitmap issue. Without going into detail, i lost a few bitmaps and had to redo them. However, i have now fixed all these issues (at least i think i have), but still cannot test the dungeon.
I should point out that i have not used RTC for a long time, and am admittedly very rusty.

Thanks...
“Grynix Ernum Quey Ki Skebow Rednim U Os Dey Wefna Enocarn Aquantana” - Anon
User avatar
terkio
Mon Master
Posts: 937
Joined: Tue Jul 10, 2012 8:24 pm

Re: Critical Error...

Post by terkio »

Who knows what these RTC.functions() are related to, the source is not available.
A version issue, I guess. RTC 049 is the last version. What about the RTC version you used to do your half completed dungeon ?

BTW, I enjoyed your "Dark Reign" dungeon. No problem V049, here.
"You can be on the right track and still get hit by a train!" Alfred E. Neuman
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Re: Critical Error...

Post by beowuuf »

You can download up to 0.34. It might be worthwhile getting the version you first edited in, and then ensuring the dungeon loads.

If so, you can save the file in a few jumps to the latest version.
User avatar
Saumun
High Lord
Posts: 2238
Joined: Fri Feb 20, 2009 3:03 am
Location: The Ether

Re: Critical Error...

Post by Saumun »

Created in V0.49 and using V0.49.
Hmmmm... May have to go through it tile by tile.
Have not looked at it for a long time (until the last couple of days), but pretty sure it was working okay up until me accidentally wiping the bitmaps.

By the way... What exactly is an "access violation exception"?
“Grynix Ernum Quey Ki Skebow Rednim U Os Dey Wefna Enocarn Aquantana” - Anon
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Re: Critical Error...

Post by Paul Stevens »

"access violation exception"
The program attempted to reference memory that
belonged to another program. Very commonly a program
will attempt to reference memory address zero and the
operating system probably owns that memory.

This might happen, for example, if the program 'thought'
that there were 30 rows of cells on a level but only 29 rows
actually existed.
User avatar
Chaos-Shaman
High Lord
Posts: 2642
Joined: Wed May 03, 2006 7:26 pm
Location: The Gates of Hell

Re: Critical Error...

Post by Chaos-Shaman »

sometimes completely removing the files , the ones you fixed, and then resaving and adding(perhaps under different name) to RTC fixes that error. i've had it before. i am beginning to suspect that it is memory that will occasionally error, i only have 6 gigs, i can have gimp, rtc, rtceditor, IE, and other dos programs that may be open, i am wondering if the way memory is allocated is the problem. this is not my field of experience but i got a sneaking hunch that it is repsonsible for some of the errors.
keep your gor coin handy
User avatar
Paul Stevens
CSBwin Guru
Posts: 4318
Joined: Sun Apr 08, 2001 6:00 pm
Location: Madison, Wisconsin, USA

Re: Critical Error...

Post by Paul Stevens »

i am wondering if the way memory is allocated is the problem.
That would be the case only if your memory
is failing. Otherwise, a program is totally
ignorant of how memory is allocated.

OK....Before someone yells at me....there
might be complicated, rare exceptions but
that is not where one should begin the search
for a failure.
User avatar
terkio
Mon Master
Posts: 937
Joined: Tue Jul 10, 2012 8:24 pm

Re: Critical Error...

Post by terkio »

a program is totally ignorant of how memory is allocated
+1 Programs run in virtual memory.

Bad RAMs can make all sorts of sneaky troubles.
In case you have any doubt use Memtest86 ( it is available as a CD image. A handy bootable CD running the test stand alone ).
Run the test overnight.
"You can be on the right track and still get hit by a train!" Alfred E. Neuman
User avatar
Chaos-Shaman
High Lord
Posts: 2642
Joined: Wed May 03, 2006 7:26 pm
Location: The Gates of Hell

Re: Critical Error...

Post by Chaos-Shaman »

well, i did have a bad mem card and replaced it witht he same mem. i've not had a problem with my mem since i have tested the mem. also i am not the only one who gets the errors, this kinda eliminates the chances of having a defective mem card, although i will be buying new mem, 24 gigs. i just get a little frustrated not knowing why something will work 95% of the time, then ooops, there it is. i thought old dos programs hogged up mem, i just don't know :( i guess i will have to pray for GG to miraculously appear with some sort of fix for RTC. for the most part it is stable, just these random errors that pop up every so often. nothing that a save every once in a while won't cure.
keep your gor coin handy
User avatar
Saumun
High Lord
Posts: 2238
Joined: Fri Feb 20, 2009 3:03 am
Location: The Ether

Re: Critical Error...

Post by Saumun »

Turns out that the dungeon is not the problem...

I created a new dungeon which was just a few corridors with nothing in it.
I get the same error with this one when trying to test.
It also will not compile.
Already existing RTC files play just fine though.
I should probably point out that this was a fresh download of V0.49 after wiping my hard disk and reinstalling XP.
“Grynix Ernum Quey Ki Skebow Rednim U Os Dey Wefna Enocarn Aquantana” - Anon
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Re: Critical Error...

Post by beowuuf »

Make sure that one or more of your folders has not been marked as read only. RTC won't be able to alter save files and make new files, and may well just crash in consternation!
User avatar
Saumun
High Lord
Posts: 2238
Joined: Fri Feb 20, 2009 3:03 am
Location: The Ether

Re: Critical Error...

Post by Saumun »

Apologies for the double post...
Just Downloaded RTC again and it now works.
Happy Days!
If only i'd done that in the first place. Aaah... hindsight, etc.
“Grynix Ernum Quey Ki Skebow Rednim U Os Dey Wefna Enocarn Aquantana” - Anon
Post Reply