Runtime Errors from tutorial7 in Ogre

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

maxiwill
Just popping in
Just popping in
Posts: 10
Joined: Wed May 18, 2011 16:41

Runtime Errors from tutorial7 in Ogre

Postby maxiwill » Wed May 25, 2011 07:21

I have correctly compiled the Basic Tutorial 7 from ogre website

now I have a runtime error I don't know what to make of it (i'm running in debug mode btw)

(sorry the debug information is in chinese... I made the mistake of letting VS picked the default language when installing)

於 0x00f95501 的 BasicTutorial7.exe 中發生未處理的例外狀況: 0xC0000005: 讀取位置 0xccccccd0 時發生存取違規

and at the bottom of VS there's the Run Time call stacks info:

> CEGUIOgreRenderer_d.dll!00f95501()
[下面的框架可能錯誤及/或遺失,未載入 CEGUIOgreRenderer_d.dll 的符號] <---- it says it did not load the symbols from CEGUIOgreRenderer_d.dll
CEGUIOgreRenderer_d.dll!00f9548f()
CEGUIOgreRenderer_d.dll!00f90f11()
CEGUIOgreRenderer_d.dll!00f90558()
CEGUIOgreRenderer_d.dll!00f8fd7a()
CEGUIOgreRenderer_d.dll!00f8fc49()
CEGUIOgreRenderer_d.dll!00f8f0d4()
CEGUIOgreRenderer_d.dll!00fa82e2()

I gathered that one of the more possible reason for this is a misplaced CEGUIOgreRenderer_d.dll

so I checked the OgreSDK/bin/debug path and I "do" have 4 cegui dll's there :

CEGUIBase_d.dll
CEGUIExpatParser_d.dll
CEGUIFalagardWRBase_d.dll
CEGUIOgreRenderer_d.dll

Also, here is the CEGUI log in the same directory (OgreSDK/bin/debug)


25/05/2011 15:13:29 (Std) CEGUI::Logger singleton created. (01D49250)
25/05/2011 15:13:29 (Std)
25/05/2011 15:13:29 (Std) ********************************************************************************
25/05/2011 15:13:29 (Std) * Important: *
25/05/2011 15:13:29 (Std) * To get support at the CEGUI forums, you must post _at least_ the section *
25/05/2011 15:13:29 (Std) * of this log file indicated below. Failure to do this will result in no *
25/05/2011 15:13:29 (Std) * support being given; please do not waste our time. *
25/05/2011 15:13:29 (Std) ********************************************************************************
25/05/2011 15:13:29 (Std) ********************************************************************************
25/05/2011 15:13:29 (Std) * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
25/05/2011 15:13:29 (Std) ********************************************************************************
25/05/2011 15:13:29 (Std) ---- Version 0.7.5 (Build: Nov 19 2010 Debug Microsoft Windows MSVC++ 10.0 32 bit) ----
25/05/2011 15:13:29 (Std) ---- Renderer module is: CEGUI::OgreRenderer - Official OGRE based 2nd generation renderer module. ----
25/05/2011 15:13:29 (Std) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
25/05/2011 15:13:29 (Std) ---- Image Codec module is: OgreImageCodec - Integrated ImageCodec using the Ogre engine. ----
25/05/2011 15:13:29 (Std) ---- Scripting module is: None ----
25/05/2011 15:13:29 (Std) ********************************************************************************
25/05/2011 15:13:29 (Std) * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM -------- *
25/05/2011 15:13:29 (Std) ********************************************************************************
25/05/2011 15:13:29 (Std)
25/05/2011 15:13:29 (Std) ---- Begining CEGUI System initialisation ----
25/05/2011 15:13:29 (Std) CEGUI::ImagesetManager singleton created (01D30028)
25/05/2011 15:13:29 (Std) CEGUI::FontManager singleton created. (0515DC68)
25/05/2011 15:13:29 (Std) CEGUI::WindowFactoryManager singleton created
25/05/2011 15:13:29 (Std) CEGUI::WindowManager singleton created (0507E408)
25/05/2011 15:13:29 (Std) CEGUI::SchemeManager singleton created. (05112CF8)
25/05/2011 15:13:29 (Std) CEGUI::MouseCursor singleton created. (01D5F270)
25/05/2011 15:13:29 (Std) CEGUI::GlobalEventSet singleton created. (01D2D858)
25/05/2011 15:13:29 (Std) CEGUI::AnimationManager singleton created (05039998)
25/05/2011 15:13:29 (Std) CEGUI::WidgetLookManager singleton created. (05112EE8)
25/05/2011 15:13:29 (Std) CEGUI::WindowRendererManager singleton created (050C7488)
25/05/2011 15:13:29 (Std) CEGUI::RenderEffectManager singleton created (01D305D0)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'DefaultWindow' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'DefaultWindow' windows added. (0515DD70)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'DragContainer' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'DragContainer' windows added. (0510F900)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'ScrolledContainer' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'ScrolledContainer' windows added. (05174B68)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'ClippedContainer' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'ClippedContainer' windows added. (05174D28)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/Checkbox' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/Checkbox' windows added. (01D49F38)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/PushButton' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/PushButton' windows added. (01D4A0F8)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/RadioButton' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/RadioButton' windows added. (01D4A2B8)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/Combobox' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/Combobox' windows added. (01D4A478)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/ComboDropList' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/ComboDropList' windows added. (01D4A638)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/Editbox' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/Editbox' windows added. (01D4A7F8)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/FrameWindow' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/FrameWindow' windows added. (01D4A9B8)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/ItemEntry' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/ItemEntry' windows added. (01D4AB78)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/Listbox' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/Listbox' windows added. (05190028)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/ListHeader' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/ListHeader' windows added. (051901E8)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/ListHeaderSegment' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/ListHeaderSegment' windows added. (051903A8)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/Menubar' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/Menubar' windows added. (05190638)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/PopupMenu' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/PopupMenu' windows added. (051907F8)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/MenuItem' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/MenuItem' windows added. (051909B8)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/MultiColumnList' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/MultiColumnList' windows added. (05190B78)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/MultiLineEditbox' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/MultiLineEditbox' windows added. (05190D38)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/ProgressBar' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/ProgressBar' windows added. (05190EF8)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/ScrollablePane' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/ScrollablePane' windows added. (01D637F0)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/Scrollbar' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/Scrollbar' windows added. (01D639B0)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/Slider' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/Slider' windows added. (01D63B70)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/Spinner' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/Spinner' windows added. (01D63D30)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/TabButton' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/TabButton' windows added. (01D63EF0)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/TabControl' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/TabControl' windows added. (01D640B0)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/Thumb' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/Thumb' windows added. (01D64270)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/Titlebar' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/Titlebar' windows added. (01D64430)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/Tooltip' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/Tooltip' windows added. (01D646D8)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/ItemListbox' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/ItemListbox' windows added. (01D64898)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/GroupBox' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/GroupBox' windows added. (01D64A58)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'CEGUI/Tree' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'CEGUI/Tree' windows added. (01D475D0)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'HorizontalLayoutContainer' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'HorizontalLayoutContainer' windows added. (01D47790)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'VerticalLayoutContainer' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'VerticalLayoutContainer' windows added. (01D47950)
25/05/2011 15:13:29 (Std) Created WindowFactory for 'GridLayoutContainer' windows.
25/05/2011 15:13:29 (Std) WindowFactory for 'GridLayoutContainer' windows added. (01D47B10)
25/05/2011 15:13:29 (Std) Window type alias named 'DefaultGUISheet' added for window type 'DefaultWindow'.
25/05/2011 15:13:29 (Std) CEGUI::System singleton created. (01D3E310)
25/05/2011 15:13:29 (Std) ---- CEGUI System initialisation completed ----


And here's the VS Output log

'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\BasicTutorial7.exe',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\ntdll.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\kernel32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\OgreMain_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\user32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\gdi32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\msvcp100d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\msvcr100d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\ws2_32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\advapi32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\rpcrt4.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\secur32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\msvcrt.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\ws2help.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\OIS_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\dinput8.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\CEGUIBase_d.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\winmm.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\shlwapi.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\CEGUIOgreRenderer_d.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\imm32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\lpk.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\usp10.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\RenderSystem_Direct3D9_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\d3d9.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\d3d8thk.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\version.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DX9_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\uxtheme.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\RenderSystem_GL_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\glu32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\opengl32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\ddraw.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\dciman32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\msctf.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\msctfime.ime',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\ole32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\nvoglnt.dll',找不到或無法開啟 PDB 檔案
'Win32 執行緒' (0x1668) 執行緒以返回碼 0 (0x0) 結束。
'Win32 執行緒' (0x1254) 執行緒以返回碼 0 (0x0) 結束。
'Win32 執行緒' (0x16c8) 執行緒以返回碼 0 (0x0) 結束。
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\mcd32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\mcd32.dll'
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\Plugin_ParticleFX_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\Plugin_BSPSceneManager_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\Plugin_CgProgramManager_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\cg.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\Plugin_PCZSceneManager_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\Plugin_OctreeZone_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\Plugin_OctreeSceneManager_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
於 0x7c812aeb 的 BasicTutorial7.exe 中第一個可能發生的例外狀況: Microsoft C++ 在記憶體位置 0x0012e6f8,發生例外狀況: Ogre::InvalidParametersException
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
於 0x7c812aeb 的 BasicTutorial7.exe 中第一個可能發生的例外狀況: Microsoft C++ 在記憶體位置 0x0012b680,發生例外狀況: Ogre::InternalErrorException
於 0x7c812aeb 的 BasicTutorial7.exe 中第一個可能發生的例外狀況: Microsoft C++ 在記憶體位置 0x0012b680,發生例外狀況: Ogre::InternalErrorException
於 0x7c812aeb 的 BasicTutorial7.exe 中第一個可能發生的例外狀況: Microsoft C++ 在記憶體位置 0x0012b680,發生例外狀況: Ogre::InternalErrorException
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\CEGUIExpatParser_d.dll',找不到或無法開啟 PDB 檔案
於 0x00f95501 的 BasicTutorial7.exe 中第一個可能發生的例外狀況: 0xC0000005: 讀取位置 0xccccccd0 時發生存取違規
於 0x00f95501 的 BasicTutorial7.exe 中發生未處理的例外狀況: 0xC0000005: 讀取位置 0xccccccd0 時發生存取違規
'[5016] BasicTutorial7.exe: 原生' 程式以返回碼 0 (0x0) 結束。

I highlighted the things I think are relevant with bold letters

so here is what baffles me:

Question:

I think I have the right paths for resource files, and I have correctly placed dll's, there is no compile errors....

but upon run time the program cannot find the PDB files within the CEGUI dll's which IS IN C:\OgreBin1-7-1--2\sdk\bin\debug\ ( OgreSDK\bin\debug )

so what exactly am I missing here?

what are these cannot load PDB files anyways :shock:
Last edited by maxiwill on Wed May 25, 2011 07:30, edited 1 time in total.

MarkR
Quite a regular
Quite a regular
Posts: 64
Joined: Thu Jul 15, 2010 06:55

Re: Runtime Errors from tutorial7 in Ogre

Postby MarkR » Wed May 25, 2011 07:30

maxiwill wrote:it says it did not load the symbols from CEGUIOgreRenderer_d.dll


This means that the .PDB file wasn't found. Try to add the folder where the .PDB file exists to your symbol path.
This will allow you to see a better readable backtrace, probably you can find the error from there...

maxiwill
Just popping in
Just popping in
Posts: 10
Joined: Wed May 18, 2011 16:41

Re: Runtime Errors from tutorial7 in Ogre

Postby maxiwill » Wed May 25, 2011 07:39

okay....

so here's what I did, thanks for the reply btw :)

I copied the four CEGUI PDB's from C:\CEGUI-SDK-0.7.5-vc10\bin to OgreSDK\bin\debug, where the 4 dll's are

and now the VS Output is like this :

'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\BasicTutorial7.exe',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\ntdll.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\kernel32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\OgreMain_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\user32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\gdi32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\msvcp100d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\msvcr100d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\ws2_32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\advapi32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\rpcrt4.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\secur32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\msvcrt.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\ws2help.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\OIS_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\dinput8.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\CEGUIBase_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\winmm.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\shlwapi.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\CEGUIOgreRenderer_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\imm32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\lpk.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\usp10.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\RenderSystem_Direct3D9_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\d3d9.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\d3d8thk.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\version.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DX9_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\uxtheme.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\RenderSystem_GL_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\glu32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\opengl32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\ddraw.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\dciman32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\msctf.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\msctfime.ime',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\ole32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\nvoglnt.dll',找不到或無法開啟 PDB 檔案
'Win32 執行緒' (0x1194) 執行緒以返回碼 0 (0x0) 結束。
'Win32 執行緒' (0xbb8) 執行緒以返回碼 0 (0x0) 結束。
'Win32 執行緒' (0x538) 執行緒以返回碼 0 (0x0) 結束。
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\mcd32.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\mcd32.dll'
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\Plugin_ParticleFX_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\Plugin_BSPSceneManager_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\Plugin_CgProgramManager_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\cg.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\Plugin_PCZSceneManager_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\Plugin_OctreeZone_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\Plugin_OctreeSceneManager_d.dll',已載入符號
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
於 0x7c812aeb 的 BasicTutorial7.exe 中第一個可能發生的例外狀況: Microsoft C++ 在記憶體位置 0x0012e6f8,發生例外狀況: Ogre::InvalidParametersException
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
於 0x7c812aeb 的 BasicTutorial7.exe 中第一個可能發生的例外狀況: Microsoft C++ 在記憶體位置 0x0012b680,發生例外狀況: Ogre::InternalErrorException
於 0x7c812aeb 的 BasicTutorial7.exe 中第一個可能發生的例外狀況: Microsoft C++ 在記憶體位置 0x0012b680,發生例外狀況: Ogre::InternalErrorException
於 0x7c812aeb 的 BasicTutorial7.exe 中第一個可能發生的例外狀況: Microsoft C++ 在記憶體位置 0x0012b680,發生例外狀況: Ogre::InternalErrorException

'BasicTutorial7.exe': 已載入 'C:\WINDOWS\system32\D3DCompiler_43.dll',找不到或無法開啟 PDB 檔案
'BasicTutorial7.exe': 已卸載 'C:\WINDOWS\system32\D3DCompiler_43.dll'
'BasicTutorial7.exe': 已載入 'C:\OgreBin1-7-1--2\sdk\bin\debug\CEGUIExpatParser_d.dll',已載入符號
於 0x00f95501 (CEGUIOgreRenderer_d.dll) 的 BasicTutorial7.exe 中第一個可能發生的例外狀況: 0xC0000005: 讀取位置 0xccccccd0 時發生存取違規
於 0x00f95501 (CEGUIOgreRenderer_d.dll) 的 BasicTutorial7.exe 中發生未處理的例外狀況: 0xC0000005: 讀取位置 0xccccccd0 時發生存取違規

'[5516] BasicTutorial7.exe: 原生' 程式以返回碼 0 (0x0) 結束。




so there's this

於 0x00f95501 (CEGUIOgreRenderer_d.dll) 的 BasicTutorial7.exe 中第一個可能發生的例外狀況: 0xC0000005: 讀取位置 0xccccccd0 時發生存取違規
於 0x00f95501 (CEGUIOgreRenderer_d.dll) 的 BasicTutorial7.exe 中發生未處理的例外狀況: 0xC0000005: 讀取位置 0xccccccd0 時發生存取違規


which seems to be the problem

btw the chinese says there's something wrong upon accessing the memory address 0xccccccd0

so i'm still not getting it :/

maxiwill
Just popping in
Just popping in
Posts: 10
Joined: Wed May 18, 2011 16:41

Re: Runtime Errors from tutorial7 in Ogre

Postby maxiwill » Wed May 25, 2011 08:15

Here is the callstacks information during runtime


CEGUIOgreRenderer_d.dll!boost::detail::interlocked_read_acquire(volatile long * x) 行 27 + 0x3 位元組 C++
CEGUIOgreRenderer_d.dll!boost::detail::basic_recursive_mutex_impl<boost::detail::basic_timed_mutex>::try_recursive_lock(long current_thread_id) 行 79 + 0xc 位元組 C++
CEGUIOgreRenderer_d.dll!boost::detail::basic_recursive_mutex_impl<boost::detail::basic_timed_mutex>::lock() 行 49 + 0xc 位元組 C++
CEGUIOgreRenderer_d.dll!boost::unique_lock<boost::recursive_mutex>::lock() 行 350 C++
CEGUIOgreRenderer_d.dll!boost::unique_lock<boost::recursive_mutex>::unique_lock<boost::recursive_mutex>(boost::recursive_mutex & m_) 行 228 C++
CEGUIOgreRenderer_d.dll!Ogre::SharedPtr<Ogre::DataStream>::release() 行 209 C++
CEGUIOgreRenderer_d.dll!Ogre::SharedPtr<Ogre::DataStream>::~SharedPtr<Ogre::DataStream>() 行 156 C++
CEGUIOgreRenderer_d.dll!CEGUI::OgreResourceProvider::loadRawDataContainer(const CEGUI::String & filename, CEGUI::RawDataContainer & output, const CEGUI::String & resourceGroup) 行 76 + 0x1e 位元組 C++
CEGUIExpatParser_d.dll!CEGUI::ExpatParser::parseXMLFile(CEGUI::XMLHandler & handler, const CEGUI::String & filename, const CEGUI::String & __formal, const CEGUI::String & resourceGroup) 行 66 + 0x47 位元組 C++
CEGUIBase_d.dll!CEGUI::Scheme_xmlHandler::Scheme_xmlHandler(const CEGUI::String & filename, const CEGUI::String & resource_group) 行 71 + 0x6c 位元組 C++
> CEGUIBase_d.dll!CEGUI::NamedXMLResourceManager<CEGUI::Scheme,CEGUI::Scheme_xmlHandler>::create(const CEGUI::String & xml_filename, const CEGUI::String & resource_group, CEGUI::XMLResourceExistsAction action) 行 229 + 0x10 位元組 C++
BasicTutorial7.exe!BasicTutorial7::createScene() 行 43 + 0x7b 位元組 C++
BasicTutorial7.exe!BaseApplication::setup() 行 246 + 0xf 位元組 C++
BasicTutorial7.exe!BaseApplication::go() 行 215 + 0xf 位元組 C++
BasicTutorial7.exe!WinMain(HINSTANCE__ * hInst, HINSTANCE__ * __formal, char * strCmdLine, HINSTANCE__ * __formal) 行 246 + 0xb 位元組 C++
BasicTutorial7.exe!__tmainCRTStartup() 行 547 + 0x2c 位元組 C
BasicTutorial7.exe!WinMainCRTStartup() 行 371 C
kernel32.dll!7c817067()
[下面的框架可能錯誤及/或遺失,未載入 kernel32.dll 的符號]

Mystler
Just popping in
Just popping in
Posts: 2
Joined: Wed May 25, 2011 15:48

Re: Runtime Errors from tutorial7 in Ogre

Postby Mystler » Wed May 25, 2011 16:36

Hello,
I am also getting a Runtime Error when I try to run the Basic Tutorial 7 executable.

My Specs: Ogre 1.7.3 (compiled with VS10) and
CEGUI 0.7.5 (VS9 because there are no premake files for 10).
Using two different versions of VC is not the problem, i guess...

The tutorial project compiles without any problems but when I start it, after choosing the Renderer, i get a C++ Runtime Library error.
I also checked my ogre.log file but there are no errors or unexpected lines. Thus, I don't have any idea why it's not working at all.

Can anyone help me?

~Mystler

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Runtime Errors from tutorial7 in Ogre

Postby Kulik » Wed May 25, 2011 16:43

Mystler wrote:Using two different versions of VC is not the problem, i guess...


It is indeed a problem (different runtime), just migrate vc9 solution from premake to vc10 (opening it with vc2010 does the trick, it will prompt migration).

Mystler
Just popping in
Just popping in
Posts: 2
Joined: Wed May 25, 2011 15:48

Re: Runtime Errors from tutorial7 in Ogre

Postby Mystler » Thu May 26, 2011 15:35

Yaay, it worked! Thank you very much! :D

maxiwill
Just popping in
Just popping in
Posts: 10
Joined: Wed May 18, 2011 16:41

Re: Runtime Errors from tutorial7 in Ogre

Postby maxiwill » Tue May 31, 2011 10:49

Kulik wrote:
Mystler wrote:Using two different versions of VC is not the problem, i guess...


It is indeed a problem (different runtime), just migrate vc9 solution from premake to vc10 (opening it with vc2010 does the trick, it will prompt migration).


hi,

vc9 solution?

I don't see a vc9 solution anywhere, I can only see build_vs2003, build_vs2005, build_vs2008, but no build_vs2010 nor a vc9 solution

anywhere this is what I did so far

hope you can find time to help me with it :)



I downloaded the source of 0.7.5 and, I didnt see a vc9 solution in projects/premake

I tried to follow this http://www.cegui.org.uk/wiki/index.php/ ... reRenderer step by step

I think I didnt do anything wrong up to step 4, although just to be sure, can you post your config.lua for me?

On step 5, I checked the premake folder, and there's only build_vs2008 solution

So I opened vs2010 and converted the solution and compiled both CEGUIBase and CEGUIOgreRenderer both in debug and release and nothing wrong happened

So then I linked my basictutorial7 to the libs to cegui_source/lib, and header include path to cegui_source/cegui/include

nothing goes wrong when I compile basictutorial7, but it crashed during runtime, i think its very much like your experience


I also tried to use the precompiled SDK, and did everything on the tutorials and correctly compiled basictutorial 7 on Ogre's website

but upon running right after the config dialog, it crashes


I'm really frustrated with this :oops:

any help would be deeply appreciated

thanks

-Max

maxiwill
Just popping in
Just popping in
Posts: 10
Joined: Wed May 18, 2011 16:41

Re: Runtime Errors from tutorial7 in Ogre

Postby maxiwill » Tue May 31, 2011 11:15

oh

anyways

it just dawned on me that I simply forgot to copy the correct versions of dll's to ogre folder

:roll:

now its working :D

haingo
Just popping in
Just popping in
Posts: 4
Joined: Sun Jun 05, 2011 05:44

Re: Runtime Errors from tutorial7 in Ogre

Postby haingo » Sun Jun 05, 2011 05:52

What versions of dll?

I'm having exact same problem. The program crash at line

Code: Select all

CEGUI::System::getSingleton().setDefaultMouseCursor("TaharezLook", "MouseArrow");


and callstacks information produced is same as yours. CEGUI.log is exact same as yours too. I tried to rebuild Ogre and CEGUI several times but it's no use.

PS: Im using VC2008 Express, Ogre 1.7.3 and CEGUI 0.7.5

maxiwill
Just popping in
Just popping in
Posts: 10
Joined: Wed May 18, 2011 16:41

Re: Runtime Errors from tutorial7 in Ogre

Postby maxiwill » Sun Jun 05, 2011 12:00

After I compiled CEGUI successfully

I forgot to copy the dll's over to Ogre directory, so it was the old dll's that I got from CEGUI precompiled SDK, instead of the ones I compiled myself ( which I was intending on using)


Return to “Help”

Who is online

Users browsing this forum: No registered users and 28 guests