Game Development Community

Problems Running 1.1.1 Debug

by Unk · in Torque Game Builder · 08/10/2006 (5:53 pm) · 1 replies

I compiled a 1.1.1 Debug build without any warnings or errors but when I run the Debug executable it runs fine for a second then produces produces a 'TGB_Debug.exe has encountered a problem' message.

When I run the debug build in the debugger I get this exception:

"First-chance exception at 0x7c90eb74 in TGB_DEBUG.exe: 0xC0000008: An invalid handle was specified."

If I step over this specific error in the debugger the build seems to run. My release build is running without errors.

FYI: I am experiecing this behaviour with a clean install directory so it is not a problem specific to my data.

Below is my callstack:

-Unk

#1
08/10/2006 (5:53 pm)
kernel32.dll!7c80b57c() 	
 	ntdll.dll!7c90d592() 	
 	kernel32.dll!7c809b8b() 	
 	dcsws2.dll!1000104b() 	
 	dcsws2.dll!1000539d() 	
 	ntdll.dll!7c9011a7() 	
 	ntdll.dll!7c91cbab() 	
 	ntdll.dll!7c91c94d() 	
 	ntdll.dll!7c91d6d2() 	
 	ntdll.dll!7c91d9cb() 	
 	ntdll.dll!7c91c8e4() 	
 	ntdll.dll!7c916178() 	
 	ntdll.dll!7c90fb71() 	
 	ntdll.dll!7c915a00() 	
 	ntdll.dll!7c915a65() 	
 	ntdll.dll!7c9131dc() 	
 	ntdll.dll!7c913212() 	
>	TGB_DEBUG.exe!CodeBlock::exec(unsigned int ip=1228584, const char * functionName=0x001626c0, Namespace * thisNamespace=0x0015bc80, unsigned int argc=0, const char * * argv=0x71ac1b95, bool noCalls=true, const char * packageName=0x71ac1bc1, int setFrame=1907101768)  Line 1200	C++
 	ws2_32.dll!71ab74f1() 	
 	TGB_DEBUG.exe!Memory::alloc(unsigned int size=16376, bool array=true, const char * fileName=0x00b1f9f8, const unsigned int line=1376256)  Line 1020	C++
 	TGB_DEBUG.exe!operator new[](unsigned int size=16376, const char * fileName=0x00b1f9f8, const unsigned int line=42)  Line 1246	C++
 	TGB_DEBUG.exe!DataChunker::DataBlock::DataBlock(int size=16376)  Line 42	C++
 	TGB_DEBUG.exe!DataChunker::alloc(int size=2)  Line 30	C++
 	ws2_32.dll!71ab3be1() 	
 	TGB_DEBUG.exe!Net::openPort(int port=0)  Line 409	C++
 	TGB_DEBUG.exe!csetNetPort(SimObject * __formal=0x00000000, int argc=2, const char * * argv=0x00bebcb0)  Line 61	C++
 	TGB_DEBUG.exe!CodeBlock::exec(unsigned int ip=126, const char * functionName=0x018c5f28, Namespace * thisNamespace=0x01836324, unsigned int argc=0, const char * * argv=0x00bebcb0, bool noCalls=false, const char * packageName=0x00000000, int setFrame=-1)  Line 1069	C++
 	TGB_DEBUG.exe!CodeBlock::exec(unsigned int ip=76, const char * functionName=0x018676b8, Namespace * thisNamespace=0x0183642c, unsigned int argc=0, const char * * argv=0x00bebcb0, bool noCalls=false, const char * packageName=0x018c5f44, int setFrame=-1)  Line 995	C++
 	TGB_DEBUG.exe!CodeBlock::exec(unsigned int ip=604, const char * functionName=0x018676b8, Namespace * thisNamespace=0x014dfbfc, unsigned int argc=0, const char * * argv=0x00bebcb0, bool noCalls=false, const char * packageName=0x018c567c, int setFrame=-1)  Line 995	C++
 	TGB_DEBUG.exe!CodeBlock::exec(unsigned int ip=1241, const char * functionName=0x01867634, Namespace * thisNamespace=0x00000000, unsigned int argc=0, const char * * argv=0x00000000, bool noCalls=false, const char * packageName=0x00000000, int setFrame=-1)  Line 995	C++
 	TGB_DEBUG.exe!CodeBlock::compileExec(const char * fileName=0x01867634, const char * string=0x018ae650, bool noCalls=false, int setFrame=-1)  Line 545	C++
 	TGB_DEBUG.exe!Con::evaluate(const char * string=0x018ae650, bool echo=false, const char * fileName=0x01867634)  Line 853	C++
 	TGB_DEBUG.exe!runEntryScript(int argc=1, const char * * argv=0x01510d2c)  Line 231	C++
 	TGB_DEBUG.exe!initGame(int argc=1, const char * * argv=0x01510d2c)  Line 265	C++
 	TGB_DEBUG.exe!DemoGame::main(int argc=1, const char * * argv=0x01510d2c)  Line 322	C++
 	TGB_DEBUG.exe!run(int argc=1, const char * * argv=0x01510d2c)  Line 1423	C++
 	TGB_DEBUG.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * __formal=0x00000000, char * lpszCmdLine=0x00151f13, HINSTANCE__ * __formal=0x00000000)  Line 1522	C++
 	TGB_DEBUG.exe!__tmainCRTStartup()  Line 315	C
 	kernel32.dll!7c816fd7() 	
 	TGB_DEBUG.exe!cfirstWord(SimObject * __formal=0x004b0063, int argc=7929957, const char * * argv=0x006f0054)  Line 551	C++