Basic01 tutorial error in OgreMain.dll

soulrider

07-11-2009 11:20:55

Hi all,

I have installed and configured python ogre, and I can run and view most of the demo's without issue, although some need a bit of editing. I have a problem that occurs however when following the basic tutorial app. Now I may have made an obvious mistake somewhere in my code that is generating the error, but at the moment I just can't see it.

First off I will post the Basic01 code as I have typed it:


import ogre.renderer.OGRE as ogre
import SampleFramework as sf

class TutorialApplication(sf.Application):

def _createScene(self):
sceneManager = self.sceneManager
sceneManager.ambientLight = ogre.ColourValue (1,1,1)

ent1 = sceneManager.createEntity ("Robot", "robot.mesh")
node1 = sceneManager.getRootSceneNode().createChildSceneNode ("RobotNode")
node1.attachObject (ent1)

if __name__ == '__main__':
ta = TutorialApplication()
ta.go()


When I attempt to run the program I get an access violation which generates the error below. I am not able to work out from this information what the error is:

Exception class: EAccessViolation
Exception message: Access violation at address 04FC5C71 in module 'OgreMain.dll'. Write of

address 00736470.
Exception address: 04FC5C71
------------------------------------------------------------------------------
PyScripter version : 1.9.9.7
Python DLL : python26.dll
Python Engine : peInternal
------------------------------------------------------------------------------
Stack list, generated 07/11/2009 12:07:16
(000D4C71){OgreMain.dll} [04FC5C71] Unknown function at

?allocateBytes@NedAllocPolicy@Ogre@@SAPAXIPBDH0@Z + $2401
(001A8341){PyScripter.exe} [005A9341] SynEdit.TCustomSynEdit.InitializeCaret (Line 6761,

"SynEdit.pas" + 43) + $2
(000E8FE5){PyScripter.exe} [004E9FE5] TntControls.TWinControlTrap.WindowProc (Line 666,

"TntControls.pas" + 19) + $5
(0009242A){PyScripter.exe} [0049342A] VCLFixPack.TContextMenuFixWinControl.DefaultHandler +

$EE
(0006831B){PyScripter.exe} [0046931B] Controls.TControl.WndProc + $2BB
(0006B950){PyScripter.exe} [0046C950] Controls.TWinControl.MainWndProc + $2C
(0006B965){PyScripter.exe} [0046C965] Controls.TWinControl.MainWndProc + $41
(001BAA10){PyScripter.exe} [005BBA10] PythonEngine.TPythonInterface.GetInitialized (Line

3859, "PythonEngine.pas" + 2) + $0
(001BFD10){PyScripter.exe} [005C0D10] PythonEngine.TPythonInterface.Py_XINCREF (Line 4466,

"PythonEngine.pas" + 0) + $4
(00377F4D){PyScripter.exe} [00778F4D] VarPyth.TPythonVariantType.VarDataToPythonObject (Line

1763, "VarPyth.pas" + 15) + $7
(00377737){PyScripter.exe} [00778737] VarPyth.TPythonVariantType.EvalPython (Line 1486,

"VarPyth.pas" + 83) + $B
(00376BE5){PyScripter.exe} [00777BE5] VarPyth.TPythonVariantType.DoProcedure (Line 1211,

"VarPyth.pas" + 1) + $4
(0037692D){PyScripter.exe} [0077792D] VarPyth.TPythonVariantType.DoDispInvoke (Line 1114,

"VarPyth.pas" + 32) + $F
(003764A7){PyScripter.exe} [007774A7] VarPyth.TPythonVariantType.DispInvoke (Line 942,

"VarPyth.pas" + 1) + $C
(000141B1){PyScripter.exe} [004151B1] Variants.@DispInvoke + $C1
(00092A97){PyScripter.exe} [00493A97] VCLFixPack.CustomFormFocusControl + $53
(003D489E){PyScripter.exe} [007D589E] cPyDebugger.TPyInternalInterpreter.RunNoDebug (Line

1275, "cPyDebugger.pas" + 53) + $12
(003FC3E1){PyScripter.exe} [007FD3E1] cPyBaseDebugger.TPythonControl.Run (Line 792,

"cPyBaseDebugger.pas" + 11) + $E
(003E3FAD){PyScripter.exe} [007E4FAD] frmPyIDEMain.TPyIDEMainForm.actRunExecute (Line 1816,

"frmPyIDEMain.pas" + 8) + $A
(0002CFBB){PyScripter.exe} [0042DFBB] Classes.TBasicAction.Execute + $F
(000862DD){PyScripter.exe} [004872DD] ActnList.TContainedAction.Execute + $31
(00086FA4){PyScripter.exe} [00487FA4] ActnList.TCustomAction.Execute + $50
(0008703D){PyScripter.exe} [0048803D] ActnList.TCustomAction.HandleShortCut + $5
(00086663){PyScripter.exe} [00487663] ActnList.TCustomActionList.IsShortCut + $8B
(0007E93F){PyScripter.exe} [0047F93F] Forms.DispatchShortCut + $47
(0007E9CD){PyScripter.exe} [0047F9CD] Forms.TCustomForm.IsShortCut + $59
(00096D2E){PyScripter.exe} [00497D2E] RtlVclOptimize.GetDynaMethod + $22
(002E63A7){PyScripter.exe} [006E73A7] TntLXForms.TTntFormLX.IsShortCut (Line 383,

"TntLXForms.pas" + 1) + $2
(0006E0F0){PyScripter.exe} [0046F0F0] Controls.TWinControl.IsMenuKey + $68
(0006E13D){PyScripter.exe} [0046F13D] Controls.TWinControl.CNKeyDown + $1D
(0006831B){PyScripter.exe} [0046931B] Controls.TControl.WndProc + $2BB
(001B0C04){PyScripter.exe} [005B1C04] SynEdit.GetMsgProc (Line 11130, "SynEdit.pas" + 27) +

$F
(0006C1C5){PyScripter.exe} [0046D1C5] Controls.TWinControl.WndProc + $499
(001499D8){PyScripter.exe} [0054A9D8] TB2Hook.CallWndProcHook (Line 106, "TB2Hook.pas" + 19)

+ $1B
(001A748E){PyScripter.exe} [005A848E] SynEdit.TCustomSynEdit.WndProc (Line 6204,

"SynEdit.pas" + 22) + $4
(0006B950){PyScripter.exe} [0046C950] Controls.TWinControl.MainWndProc + $2C
(0002DC7C){PyScripter.exe} [0042EC7C] Classes.StdWndProc + $14
(00081BE0){PyScripter.exe} [00482BE0] Forms.TApplication.IsKeyMsg + $84
(00081C76){PyScripter.exe} [00482C76] Forms.TApplication.IsHintMsg + $26
(00081E5D){PyScripter.exe} [00482E5D] Forms.TApplication.ProcessMessage + $D1
(00081EC2){PyScripter.exe} [00482EC2] Forms.TApplication.HandleMessage + $A
(000820E2){PyScripter.exe} [004830E2] Forms.TApplication.Run + $96
(00429200){PyScripter.exe} [0082A200] PyScripter.PyScripter (Line 129, "" + 6) + $7
------------------------------------------------------------------------------
System : Windows XP Professional, Version: 5.1, Build: A28, "Service Pack 3"
Processor: Intel, Intel(R) Pentium(R) M processor 1.70GHz, 1700 MHz MMX SSE SSE2
Memory: 503; free 162
Display : 1024x768 pixels, 32 bpp
------------------------------------------------------------------------------
List of loaded modules:
[00340000] C:\WINDOWS\system32\Normaliz.dll
<00400000> 6.0.5441.0 - 6.0.5441.0 (winmain(wmbla).060628-1735)
Unicode Normalization DLL
[00400000] C:\Program Files\PyScripter\PyScripter.exe
1.9.9.7 - 1.9.9.7
[033E0000] C:\WINDOWS\system32\odbcint.dll
<00400000> 3.525.1132.0 - 3.525.1132.0 (xpsp.080413-0852)
Microsoft Data Access - ODBC Resources
[03630000] C:\Python26\Lib\ogre\renderer\OGRE\_ogre_.pyd
<10000000> (no module version info)
[04EF0000] C:\Python26\Lib\ogre\renderer\OGRE\OgreMain.dll
<10000000> (no module version info)
[06570000] C:\Python26\Lib\ogre\io\OIS\_ois_.pyd
<10000000> (no module version info)
[06920000] C:\PythonOgreRelease\plugins\RenderSystem_GL.dll
<10000000> (no module version info)
[069F0000] C:\PythonOgreRelease\plugins\RenderSystem_Direct3D9.dll
<10000000> (no module version info)
[06A60000] C:\PythonOgreRelease\plugins\Plugin_ParticleFX.dll
<10000000> (no module version info)
[06A90000] C:\PythonOgreRelease\plugins\Plugin_BSPSceneManager.dll
<10000000> (no module version info)
[06AD0000] C:\PythonOgreRelease\plugins\Plugin_OctreeSceneManager.dll
<10000000> (no module version info)
[06B20000] C:\PythonOgreRelease\plugins\Plugin_CgProgramManager.dll
<10000000> (no module version info)
[06B50000] C:\WINDOWS\system32\iglicd32.dll
<10000000> 6.14.10.4609 - 6.14.10.4609
OpenGL(R) Driver for Intel(R) Graphics Accelerator
[06F30000] C:\WINDOWS\system32\igldev32.dll
<10000000> 6.14.10.4609 - 6.14.10.4609
OpenGL(R) Device Driver for Intel(R) Graphics Accelerator
[07160000] C:\WINDOWS\system32\Audiodev.dll
5.2.5721.5145 - 5.2.5721.5145 (WMP_11.061018-2006)
Portable Media Devices Shell Extension
[0F3B0000] C:\WINDOWS\system32\d3dx9_42.dll
<10000000> 9.27.952.3001 - 9.27.952.3001
Direct3D 9 Extensions
[0F5A0000] C:\Python26\Lib\ogre\renderer\OGRE\cg.dll
<10000000> 2.0.0.10 - 2.0.0010
Cg Core Runtime Library
[10000000] C:\Python26\Lib\ogre\renderer\OGRE\boost_python-vc90-mt-1_41.dll
(no module version info)
[10930000] C:\WINDOWS\system32\PortableDeviceApi.dll
5.2.5721.5145 - 5.2.5721.5145 (WMP_11.061018-2006)
Windows Portable Device API Components
[11C70000] C:\WINDOWS\system32\WMASF.DLL
11.0.5721.5238 - 11.0.5721.5238 (WMP_11.071025-0642)
Windows Media ASF DLL
[139B0000] C:\WINDOWS\system32\xpsp2res.dll
<00010000> 5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2113)
Service Pack 2 Messages
[14510000] C:\Python26\Lib\ogre\physics\ODE\_ode_.pyd
<10000000> (no module version info)
[15000000]

C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\MSVCR8

0.dll
<78130000> 8.0.50727.3053 - 8.00.50727.3053
Microsoft® C Runtime Library
[15110000] C:\WINDOWS\system32\WMVCore.DLL
11.0.5721.5265 - 11.0.5721.5265 (WMP_11.090519-2220)
Windows Media Playback/Authoring DLL
[16210000] C:\WINDOWS\system32\wpdshext.dll
5.2.5721.5145 - 5.2.5721.5145 (WMP_11.061018-2006)
Portable Devices Shell Extension
[1D1A0000] C:\Python26\DLLs\_ctypes.pyd
(no module version info)
[1E000000] C:\WINDOWS\system32\python26.dll
2.6.4150.1013 - 2.6.4
Python Core
[32600000] C:\Program Files\Common Files\Microsoft Shared\office12\mso.dll
12.0.6320.5000 - 12.0.6320.5000
2007 Microsoft Office component
[38ED0000] C:\Program Files\Common Files\SYSTEM\MSMAPI\1033\MSMAPI32.DLL
12.0.4518.1014 - 12.0.4518.1014
Extended MAPI 1.0 for Windows NT
[38EE0000] C:\Program Files\Microsoft Office\Office12\olmapi32.dll
12.0.6514.5000 - 12.0.6514.5000
Extended MAPI 1.0 for Windows NT
[3D930000] C:\WINDOWS\system32\wininet.dll
8.0.6001.18828 - 8.00.6001.18828 (longhorn_ie8_gdr.090826-1700)
Internet Extensions for Win32
[3DFD0000] C:\WINDOWS\system32\iertutil.dll
8.0.6001.18828 - 8.00.6001.18828 (longhorn_ie8_gdr.090826-1700)
Run time utility for Internet Explorer
[3E1C0000] C:\WINDOWS\system32\ieframe.dll
8.0.6001.18828 - 8.00.6001.18828 (longhorn_ie8_gdr.090826-1700)
Internet Explorer
[3FDE0000] C:\WINDOWS\system32\msi.dll
4.5.6001.22159 - 4.5.6001.22159
Windows Installer
[4EC50000]

C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6001.22319_x-ww_f0b4c2df

\gdiplus.dll
5.2.6001.22319 - 5.2.6001.22319 (vistasp1_ldr.081126-1506)
Microsoft GDI+
[4FDD0000] C:\WINDOWS\system32\d3d9.dll
5.3.2600.5512 - 5.03.2600.5512 (xpsp.080413-0845)
Microsoft Direct3D
[59A60000] C:\WINDOWS\system32\DBGHELP.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105)
Windows Image Helper
[5AD70000] C:\WINDOWS\system32\uxtheme.dll
6.0.2900.5512 - 6.00.2900.5512 (xpsp.080413-2105)
Microsoft UxTheme Library
[5B860000] C:\WINDOWS\System32\NETAPI32.dll
5.1.2600.5694 - 5.1.2600.5694 (xpsp_sp3_gdr.081015-1312)
Net Win32 API DLL
[5ED00000] C:\WINDOWS\system32\OPENGL32.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0845)
OpenGL Client DLL
[5EDD0000] C:\WINDOWS\system32\olepro32.dll
5.1.2600.5512 - 5.1.2600.5512
[61E00000] C:\WINDOWS\system32\mapi32.dll
1.0.2536.0 - 1.0.2536.0 (XPClient.010817-1148)
Extended MAPI 1.0 for Windows NT
[68000000] C:\WINDOWS\system32\rsaenh.dll
5.1.2600.5507 - 5.1.2600.5507 (xpsp.080318-1711)
Microsoft Enhanced Cryptographic Provider
[688F0000] C:\WINDOWS\system32\HID.DLL
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2108)
Hid User Library
[68B20000] C:\WINDOWS\system32\GLU32.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0845)
OpenGL Utility Library DLL
[6CE10000] C:\WINDOWS\system32\DINPUT8.dll
5.3.2600.5512 - 5.03.2600.5512 (xpsp.080413-0845)
Microsoft DirectInput
[6D990000] C:\WINDOWS\system32\d3d8thk.dll
5.3.2600.5512 - 5.03.2600.5512 (xpsp.080413-0845)
Microsoft Direct3D OS Thunk Layer
[71B20000] C:\WINDOWS\system32\mpr.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0852)
Multiple Provider Router DLL
[71BF0000] C:\WINDOWS\System32\SAMLIB.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2113)
SAM Library DLL
[71C10000] C:\WINDOWS\System32\ntlanman.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2108)
Microsoft® Lan Manager
[71C80000] C:\WINDOWS\System32\NETRAP.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2113)
Net Remote Admin Protocol DLL
[71C90000] C:\WINDOWS\System32\NETUI1.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2108)
NT LM UI Common Code - Networking classes
[71CD0000] C:\WINDOWS\System32\NETUI0.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2108)
NT LM UI Common Code - GUI Classes
[73000000] C:\WINDOWS\system32\winspool.drv
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0852)
Windows Spooler Driver
[732E0000] C:\WINDOWS\system32\RICHED32.DLL
5.1.2600.0 - 5.1.2600.0 (xpclient.010817-1148)
Wrapper Dll for Richedit 1.0
[73760000] C:\WINDOWS\system32\DDRAW.dll
5.3.2600.5512 - 5.03.2600.5512 (xpsp.080413-0845)
Microsoft DirectDraw
[73BC0000] C:\WINDOWS\system32\DCIMAN32.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105)
DCI Manager
[73D70000] C:\WINDOWS\system32\shgina.dll
6.0.2900.5512 - 6.00.2900.5512 (xpsp.080413-2105)
Windows Shell User Logon
[74320000] C:\WINDOWS\system32\ODBC32.dll
3.525.1132.0 - 3.525.1132.0 (xpsp.080413-0852)
Microsoft Data Access - ODBC Driver Manager
[74720000] C:\WINDOWS\system32\MSCTF.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105)
MSCTF Server DLL
[74C80000] C:\WINDOWS\system32\oleacc.dll
4.2.5406.0 - 4.2.5406.0 (xpclient.010817-1148)
Active Accessibility Core Component
[74D90000] C:\WINDOWS\system32\usp10.dll
1.420.2600.5512 - 1.0420.2600.5512 (xpsp.080413-2105)
Uniscribe Unicode script processor
[74E30000] C:\WINDOWS\system32\RICHED20.DLL
5.30.23.1230 - 5.30.23.1230
Rich Text Edit Control, v3.0
[754D0000] C:\WINDOWS\system32\CRYPTUI.dll
5.131.2600.5512 - 5.131.2600.5512 (xpsp.080413-2113)
Microsoft Trust UI Provider
[755C0000] C:\WINDOWS\system32\msctfime.ime
5.1.2600.5768 - 5.1.2600.5768 (xpsp_sp3_gdr.090226-1442)
Microsoft Text Frame Work Service IME
[75970000] C:\WINDOWS\system32\MSGINA.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2113)
Windows NT Logon GINA DLL
[75CF0000] C:\WINDOWS\system32\mlang.dll
6.0.2900.5512 - 6.00.2900.5512 (xpsp.080413-2105)
Multi Language Support DLL
[75F60000] C:\WINDOWS\System32\drprov.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2111)
Microsoft Terminal Server Network Provider
[75F70000] C:\WINDOWS\System32\davclnt.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2111)
Web DAV Client DLL
[75F80000] C:\WINDOWS\system32\browseui.dll
6.0.2900.5512 - 6.00.2900.5512 (xpsp.080413-2105)
Shell Browser UI Library
[76080000] C:\WINDOWS\system32\MSVCP60.dll
6.2.3104.0 - 6.02.3104.0
Microsoft (R) C++ Runtime Library
[76360000] C:\WINDOWS\system32\WINSTA.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2111)
Winstation Library
[76380000] C:\WINDOWS\system32\msimg32.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105)
GDIEXT Client DLL
[76390000] C:\WINDOWS\system32\imm32.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105)
Windows XP IMM32 API Client DLL
[763B0000] C:\WINDOWS\system32\comdlg32.dll
6.0.2900.5512 - 6.00.2900.5512 (xpsp.080413-2105)
Common Dialogs DLL
[76600000] C:\WINDOWS\System32\CSCDLL.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2111)
Offline Network Agent
[76990000] C:\WINDOWS\system32\ntshrui.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105)
Shell extensions for sharing
[769C0000] C:\WINDOWS\system32\Userenv.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2113)
Userenv
[76B20000] C:\WINDOWS\system32\ATL.DLL
3.5.2284.2 - 3.05.2284
ATL Module for Windows XP (Unicode)
[76B40000] C:\WINDOWS\system32\winmm.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-0845)
MCI API DLL
[76BF0000] C:\WINDOWS\system32\PSAPI.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105)
Process Status Helper
[76C30000] C:\WINDOWS\system32\WINTRUST.dll
5.131.2600.5512 - 5.131.2600.5512 (xpsp.080413-2113)
Microsoft Trust Verification APIs
[76C90000] C:\WINDOWS\system32\IMAGEHLP.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105)
Windows NT Image Helper
[76F60000] C:\WINDOWS\system32\WLDAP32.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2113)
Win32 LDAP API DLL
[76FD0000] C:\WINDOWS\system32\CLBCATQ.DLL
2001.12.4414.700 - 2001.12.4414.700
[77050000] C:\WINDOWS\system32\COMRes.dll
2001.12.4414.700 - 2001.12.4414.700
[77120000] C:\WINDOWS\system32\oleaut32.dll
5.1.2600.5512 - 5.1.2600.5512
[773D0000]

C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_3

5d4ce83\comctl32.dll
6.0.2900.5512 - 6.0 (xpsp.080413-2105)
User Experience Controls Library
[774E0000] C:\WINDOWS\system32\ole32.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2108)
Microsoft OLE for Windows
[77690000] C:\WINDOWS\system32\NTMARTA.DLL
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2113)
Windows NT MARTA provider
[77920000] C:\WINDOWS\system32\SETUPAPI.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2111)
Windows Setup API
[77A20000] C:\WINDOWS\System32\cscui.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105)
Client Side Caching UI
[77A80000] C:\WINDOWS\system32\CRYPT32.dll
5.131.2600.5512 - 5.131.2600.5512 (xpsp.080413-2113)
Crypto API32
[77B20000] C:\WINDOWS\system32\MSASN1.dll
5.1.2600.5875 - 5.1.2600.5875 (xpsp_sp3_gdr.090904-1413)
ASN.1 Runtime APIs
[77B40000] C:\WINDOWS\system32\appHelp.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105)
Application Compatibility Client Library
[77C00000] C:\WINDOWS\system32\version.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105)
Version Checking and File Installation Libraries
[77C10000] C:\WINDOWS\system32\msvcrt.dll
7.0.2600.5512 - 7.0.2600.5512 (xpsp.080413-2111)
Windows NT CRT DLL
[77DD0000] C:\WINDOWS\system32\ADVAPI32.dll
5.1.2600.5755 - 5.1.2600.5755 (xpsp_sp3_gdr.090206-1234)
Advanced Windows 32 Base API
[77E70000] C:\WINDOWS\system32\RPCRT4.dll
5.1.2600.5795 - 5.1.2600.5795 (xpsp_sp3_gdr.090415-1241)
Remote Procedure Call Runtime
[77F10000] C:\WINDOWS\system32\GDI32.dll
5.1.2600.5698 - 5.1.2600.5698 (xpsp_sp3_gdr.081022-1932)
GDI Client DLL
[77F60000] C:\WINDOWS\system32\SHLWAPI.dll
6.0.2900.5512 - 6.00.2900.5512 (xpsp.080413-2105)
Shell Light-weight Utility Library
[77FE0000] C:\WINDOWS\system32\Secur32.dll
5.1.2600.5834 - 5.1.2600.5834 (xpsp_sp3_gdr.090624-1305)
Security Support Provider Interface
[78130000] C:\WINDOWS\system32\urlmon.dll
8.0.6001.18828 - 8.00.6001.18828 (longhorn_ie8_gdr.090826-1700)
OLE32 Extensions for Win32
[78480000]

C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCP90.d

ll
9.0.30729.1 - 9.00.30729.1
Microsoft® C++ Runtime Library
[78520000]

C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\MSVCR90.d

ll
9.0.30729.1 - 9.00.30729.1
Microsoft® C Runtime Library
[7C800000] C:\WINDOWS\system32\kernel32.dll
5.1.2600.5781 - 5.1.2600.5781 (xpsp_sp3_gdr.090321-1317)
Windows NT BASE API Client DLL
[7C900000] C:\WINDOWS\system32\ntdll.dll
5.1.2600.5755 - 5.1.2600.5755 (xpsp_sp3_gdr.090206-1234)
NT Layer DLL
[7C9C0000] C:\WINDOWS\system32\shell32.dll
6.0.2900.5622 - 6.00.2900.5622 (xpsp_sp3_gdr.080617-1319)
Windows Shell Common Dll
[7E290000] C:\WINDOWS\system32\shdocvw.dll
6.0.2900.5512 - 6.00.2900.5512 (xpsp.080413-2105)
Shell Doc Object and Control Library
[7E410000] C:\WINDOWS\system32\USER32.dll
5.1.2600.5512 - 5.1.2600.5512 (xpsp.080413-2105)
Windows XP USER API Client DLL
[7E4B0000] C:\WINDOWS\system32\HHCtrl.ocx
5.2.3790.4110 - 5.2.3790.4110 (srv03_sp2_qfe.070702-2345)
Microsoft® HTML Help Control
------------------------------------------------------------------------------
Active Controls hierarchy:
TSynEdit "SynEdit"
TSpTBXTabSheet "tbshSource"
TSpTBXTabControl "ViewsTabControl"
TPanel "FGPanel"
TEditorForm "EditorForm"
TSpTBXTabSheet "SpTBXTabSheet1"
TSpTBXTabControl "TabControl"
TPanel "BGPanel"
TPyIDEMainForm "PyIDEMainForm"
------------------------------------------------------------------------------


Any assistance would be gratefully appreciated.
Andy


=============================EDIT===============================================

The error is now occuring on every python ogre program I try to run. The Access Violation error is always a different address, depending on the program run, but the error is always the same function in OgreMain.dll it's the following line:

(000D4C71){OgreMain.dll} [04FC5C71] Unknown function at ?allocateBytes@NedAllocPolicy@Ogre@@SAPAXIPBDH0@Z + $2401

Hope this makes it easier to solve.
Andy

soulrider

07-11-2009 11:42:08

Please ignore this post.

I have discovered that the error only occurs when trying to run the app from within PyScripter. If I run it from the command line, the program executes perfectly without error.

Sorry for wasting forum space :)

Andy