Stack trace:
> IrCore.dll!asCScriptFunction::AddReferences() Line 661 + 0x26 bytes C++ IrCore.dll!asCCompiler::FinalizeFunction() Line 255 C++ IrCore.dll!asCCompiler::CompileFunction(asCBuilder * builder=0x08e23c68, asCScriptCode * script=0x08e33b90, sExplicitSignature * signature=0x00000000, asCScriptNode * func=0x08e8bcc8, asCScriptFunction * outFunc=0x0adb7040) Line 577 C++ IrCore.dll!asCBuilder::CompileFunctions() Line 637 C++ IrCore.dll!asCBuilder::Build() Line 201 C++ IrCore.dll!asCModule::Build() Line 205 + 0xb bytes C++ IrCore.dll!CScriptBuilder::Build() Line 446 + 0x17 bytes C++ IrCore.dll!CScriptBuilder::BuildModule() Line 80 C++ IrCore.dll!Irre::Stage::LoadScriptModule(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & module_name="Stage", const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & file="Stages/Menu/main.ang") Line 262 + 0xe bytes C++ IrCore.dll!Irre::Stage::LoadStage(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & name="Menu") Line 629 + 0xa1 bytes C++ IrCore.dll!Irre::System::InitializeSubsystems() Line 218 + 0x34 bytes C++
Autos as reported by visual studio:
- &byteCode 0x0adb70e0 {array=0x0ae18e20 length=0x00000066 maxLength=0x00000066 ...} asCArray<unsigned long> *
+ array 0x0ae18e20 unsigned long *
length 0x00000066 unsigned int
maxLength 0x00000066 unsigned int
+ buf 0x0adb70ec "ÍÍÍÍÍÍÍÍp†á
" char [8]
asBC_CALL 0x00000009 int
asBC_CALLINTF 0x0000008b int
- engine 0x08da8338 {isPrepared=true memoryMgr={...} initialContextStackSize=0x00000400 ...} asCScriptEngine *
+ asIScriptEngine {...} asIScriptEngine
isPrepared true bool
+ memoryMgr {cs={...} scriptNodePool={...} byteInstructionPool={...} } asCMemoryMgr
initialContextStackSize 0x00000400 int
+ defaultArrayObjectType 0x08dc0600 {name={...} nameSpace={...} size=0x00000000 ...} asCObjectType *
+ scriptTypeBehaviours {name={...} nameSpace={...} size=0xcdcdcdcd ...} asCObjectType
+ functionBehaviours {name={...} nameSpace={...} size=0xcdcdcdcd ...} asCObjectType
+ objectTypeBehaviours {name={...} nameSpace={...} size=0xcdcdcdcd ...} asCObjectType
+ globalPropertyBehaviours {name={...} nameSpace={...} size=0xcdcdcdcd ...} asCObjectType
+ registeredObjTypes {array=0x08df2ec0 length=0x0000001e maxLength=0x00000020 ...} asCArray<asCObjectType *>
+ registeredTypeDefs {array=0x00000000 length=0x00000000 maxLength=0x00000000 ...} asCArray<asCObjectType *>
+ registeredEnums {array=0x08defcc8 length=0x00000005 maxLength=0x00000008 ...} asCArray<asCObjectType *>
+ registeredGlobalProps {array=0x08e18290 length=0x00000004 maxLength=0x00000004 ...} asCArray<asCGlobalProperty *>
+ registeredGlobalFuncs {array=0x08e08b68 length=0x00000077 maxLength=0x00000080 ...} asCArray<asCScriptFunction *>
+ registeredFuncDefs {array=0x00000000 length=0x00000000 maxLength=0x00000000 ...} asCArray<asCScriptFunction *>
+ stringFactory 0x08dc6908 {refCount={...} gcFlag=false engine=0x08da8338 ...} asCScriptFunction *
configFailed false bool
+ objectTypes {array=0x08e0f200 length=0x00000023 maxLength=0x00000040 ...} asCArray<asCObjectType *>
+ templateSubTypes {array=0x08da88f8 length=0x00000001 maxLength=0x00000001 ...} asCArray<asCObjectType *>
+ templateTypes {array=0x0add2ea8 length=0x00000008 maxLength=0x00000008 ...} asCArray<asCObjectType *>
+ globalProperties {array=0x08e97b60 length=0x0000000c maxLength=0x00000010 ...} asCArray<asCGlobalProperty *>
+ freeGlobalPropertyIds {array=0x00000000 length=0x00000000 maxLength=0x00000000 ...} asCArray<int>
+ scriptFunctions {array=0x0add3aa0 length=0x00000488 maxLength=0x00000800 ...} asCArray<asCScriptFunction *>
+ freeScriptFunctionIds {array=0x00000000 length=0x00000000 maxLength=0x00000000 ...} asCArray<int>
+ signatureIds {array=0x0adaa2f8 length=0x000000a9 maxLength=0x00000100 ...} asCArray<asCScriptFunction *>
+ importedFunctions {array=0x00000000 length=0x00000000 maxLength=0x00000000 ...} asCArray<sBindInfo *>
+ freeImportedFunctionIdxs {array=0x00000000 length=0x00000000 maxLength=0x00000000 ...} asCArray<int>
+ refCount {value=0x00000004 } asCAtomic
+ scriptModules {array=0x08da89b0 length=0x00000001 maxLength=0x00000001 ...} asCArray<asCModule *>
+ lastModule 0x08e6b028 {name={...} engine=0x08da8338 builder=0x08e23c68 ...} asCModule *
isBuilding true bool
deferValidationOfTemplateTypes false bool
+ tok {engine=0x08da8338 alphaKeywordMap={...} nonAlphaKeywordMap={...} } asCTokenizer
+ classTypes {array=0x08e95800 length=0x00000019 maxLength=0x00000020 ...} asCArray<asCObjectType *>
+ templateInstanceTypes {array=0x0add2f08 length=0x00000008 maxLength=0x00000008 ...} asCArray<asCObjectType *>
+ funcDefs {array=0x08e960b8 length=0x00000003 maxLength=0x00000004 ...} asCArray<asCScriptFunction *>
+ scriptSectionNames {array=0x08e27588 length=0x00000016 maxLength=0x00000020 ...} asCArray<asCString *>
typeIdSeqNbr 0x00000038 int
+ mapTypeIdToDataType {root=0x08dd4410 dummy={...} count=0x00000038 } asCMap<int,asCDataType *>
+ gc {engine=0x08da8338 gcNewObjects={...} gcOldObjects={...} ...} asCGarbageCollector
+ defaultGroup {groupName={...} refCount=0x00000000 objTypes={...} ...} asCConfigGroup
+ configGroups {array=0x08da8bc8 length=0x00000001 maxLength=0x00000001 ...} asCArray<asCConfigGroup *>
+ currentGroup 0x08da8b44 {groupName={...} refCount=0x00000000 objTypes={...} ...} asCConfigGroup *
defaultAccessMask 0x00000001 unsigned long
+ defaultNamespace {length=0x00000000 dynamic=0xcdcdcd00 <Bad Ptr> local=0x08da8bdc "" } asCString
msgCallback true bool
+ msgCallbackFunc {func=0x101f0ac9 baseOffset=0x00000000 callConv=ICC_CDECL ...} asSSystemFunctionInterface
msgCallbackObj 0x00000000 void *
+ jitCompiler 0x00000000 asIJITCompiler *
+ stringConstants {array=0x0ae06b50 length=0x00000012 maxLength=0x00000020 ...} asCArray<asCString *>
+ stringToIdMap {root=0x0adf3000 dummy={...} count=0x00000012 } asCMap<asCStringPointer,int>
userData 0x08da8030 void *
cleanEngineFunc 0x00000000 void (asIScriptEngine *)*
cleanModuleFunc 0x00000000 void (asIScriptModule *)*
cleanContextFunc 0x00000000 void (asIScriptContext *)*
cleanFunctionFunc 0x00000000 void (asIScriptFunction *)*
cleanObjectTypeFunc 0x00000000 void (asIObjectType *)*
+ engineCritical {criticalSection={...} } asCThreadCriticalSection
+ ep {allowUnsafeReferences=false optimizeByteCode=true copyScriptSections=true ...} asCScriptEngine::<unnamed-type-ep>
- engine->scriptFunctions {array=0x0add3aa0 length=0x00000488 maxLength=0x00000800 ...} asCArray<asCScriptFunction *>
+ array 0x0add3aa0 asCScriptFunction * *
length 0x00000488 unsigned int
maxLength 0x00000800 unsigned int
+ buf 0x08da8948 "" char [8]
func 0x00000000 int
n 0x00000002 unsigned int
+ this 0x0adb7040 {refCount={...} gcFlag=true engine=0x08da8338 ...} asCScriptFunction * const






