Game Development Community

Unexpected Error (Send Error Report)

by Kyle Le Master · in Torque Game Engine · 03/13/2004 (8:49 pm) · 7 replies

Hey guys. I just bought the SDK and I have this wierd error. Once I copile I execute the game (I have made no modifications) and I receieve an Unexpected error message.

One the game begins loading it gets to the Loading Objects part when I got a message box reading:

Unhandeled Exception in torqueDemo_DEBUG.exe: 0xC0000005: Accsess Violation

The debug terminal displays this with a yellow error:

00400005 add byte ptr [eax],al

Please help! I just bought the engine and I am very dissapointed that it wont even work for me! Thanks.

Could this have to do with the command line thing you re suppose to install with Visual C++? Becuase I don't have that.

The debug tab says:

Loaded 'C:\WINDOWS\system32\rasadhlp.dll', no matching symbolic information found.
First-chance exception in torqueDemo_DEBUG.exe: 0xC0000005: Access Violation.
The program 'C:\torque\example\torqueDemo_DEBUG.exe' has exited with code 0 (0x0).

Note:
MS Visual C++ 6.0 (SP5)
Win XP Pro
AMD Atholon XP 2600
512 DDR
128 geForce

#1
03/13/2004 (9:09 pm)
What's your platform? Graphics card? What compiler are you using? Do any other games or applications fail to run for you? What's in the console.log?

Compiling in debug mode if you're using visual studio will give much more informative errors - try doing that and seeing where in the engine you're dying.
#2
03/13/2004 (9:10 pm)
Ah, you're psychic. Nice.

See my latter advice and the console.log info. Does the standard precompiled demo work for you?
#3
03/13/2004 (10:43 pm)
I hae the little Torque engine demo with the racer and FPS and it runs fine.

Must be something with a) my source code or b) my VS. Most likely the later. I am having no other issues with any software. Can you tell me how to show a console log? Oh, I am using Release_1_2_1 (I think, it's the most recent on the verisons tag list) if that is at all helpful.
#4
03/14/2004 (5:05 am)
The console.log file will be in the same location as your Torque_demo.exe. Open it with "notepad" and see what the last few entries are. If that doesn't make sense to you, post the last say 10 lines or so here and someone might be able to help you.

While you wait for that reply you could (in Microsoft Visual C++ 6.0)
1 - Do a "Build"-> "Rebuild All" Then run the TorqueDemo_debug.exe
or
2 - Compile the "Non-Debug Version" or "Release Version" and see if it has the same errors. You can do that by:
1 - Select "Build"->"Set Active Configuration..."
2 - Select the line with "Release" in it.
3 - Select "OK"
4 - Perform a Build->Rebuild All
This will create TorqueDemo.exe. Run that and see if it works.

Regards,
#5
03/14/2004 (1:45 pm)
Here is my console log:

www.cawindesign.com/console.txt

Take a look, there are a lot of "could not find <...>" in there.

I'll try suggestion, thanks.
#6
03/14/2004 (2:00 pm)
"Sending request for file" Would indicate that you are trying to connect to a server. Am I right?
#7
03/14/2004 (2:15 pm)
I find it interesting it crashes right after the control object is set.

You're sure you've changed nothing? Do a clean checkout from CVS and try recompiling.