grizzley90
10-11-2006 14:03:23
This time i can't even get close to the error ....
It then just gives me a system access violation exception error....
I am using managed direct sound but i destroy that before destroying ogre so i have no clue what to do... I didn't have this problem before.



...
08:53:02: ***************************************
08:53:02: *** D3D9 : Subsystem Initialised OK ***
08:53:02: ***************************************
08:53:02: ResourceBackgroundQueue - threading disabled
08:53:02: Particle Renderer Type 'billboard' registered
08:53:02: Creating resource group Core
08:53:02: Added resource location 'Media/OgreCore.zip' of type 'Zip' to resource group 'Core'
08:53:02: Initialising resource group Core
08:53:02: Parsing scripts for resource group Core
08:53:02: Parsing script OgreCore.material
08:53:02: Parsing script OgreProfiler.material
08:53:02: Parsing script Ogre.fontdef
08:53:02: Parsing script OgreDebugPanel.overlay
08:53:02: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
08:53:02: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
08:53:02: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
08:53:02: Font BlueHighwayusing texture size 512x512
08:53:02: Info: Freetype returned null for character 127 in font BlueHighway
08:53:02: Info: Freetype returned null for character 128 in font BlueHighway
08:53:02: Info: Freetype returned null for character 129 in font BlueHighway
08:53:02: Info: Freetype returned null for character 130 in font BlueHighway
08:53:02: Info: Freetype returned null for character 131 in font BlueHighway
08:53:02: Info: Freetype returned null for character 132 in font BlueHighway
08:53:02: Info: Freetype returned null for character 133 in font BlueHighway
08:53:02: Info: Freetype returned null for character 134 in font BlueHighway
08:53:02: Info: Freetype returned null for character 135 in font BlueHighway
08:53:02: Info: Freetype returned null for character 136 in font BlueHighway
08:53:02: Info: Freetype returned null for character 137 in font BlueHighway
08:53:02: Info: Freetype returned null for character 138 in font BlueHighway
08:53:02: Info: Freetype returned null for character 139 in font BlueHighway
08:53:02: Info: Freetype returned null for character 140 in font BlueHighway
08:53:02: Info: Freetype returned null for character 141 in font BlueHighway
08:53:02: Info: Freetype returned null for character 142 in font BlueHighway
08:53:02: Info: Freetype returned null for character 143 in font BlueHighway
08:53:02: Info: Freetype returned null for character 144 in font BlueHighway
08:53:02: Info: Freetype returned null for character 145 in font BlueHighway
08:53:02: Info: Freetype returned null for character 146 in font BlueHighway
08:53:02: Info: Freetype returned null for character 147 in font BlueHighway
08:53:02: Info: Freetype returned null for character 148 in font BlueHighway
08:53:02: Info: Freetype returned null for character 149 in font BlueHighway
08:53:02: Info: Freetype returned null for character 150 in font BlueHighway
08:53:02: Info: Freetype returned null for character 151 in font BlueHighway
08:53:02: Info: Freetype returned null for character 152 in font BlueHighway
08:53:02: Info: Freetype returned null for character 153 in font BlueHighway
08:53:02: Info: Freetype returned null for character 154 in font BlueHighway
08:53:02: Info: Freetype returned null for character 155 in font BlueHighway
08:53:02: Info: Freetype returned null for character 156 in font BlueHighway
08:53:02: Info: Freetype returned null for character 157 in font BlueHighway
08:53:02: Info: Freetype returned null for character 158 in font BlueHighway
08:53:02: Info: Freetype returned null for character 159 in font BlueHighway
08:53:02: Info: Freetype returned null for character 160 in font BlueHighway
08:53:02: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
08:53:02: Parsing script OgreLoadingPanel.overlay
08:53:02: Finished parsing scripts for resource group Core
08:53:02: Loading library Plugin_OctreeSceneManager.dll
08:53:02: Loading library Plugin_ParticleFX.dll
08:53:02: Particle Emitter Type 'Point' registered
08:53:02: Particle Emitter Type 'Box' registered
08:53:02: Particle Emitter Type 'Ellipsoid' registered
08:53:02: Particle Emitter Type 'Cylinder' registered
08:53:02: Particle Emitter Type 'Ring' registered
08:53:02: Particle Emitter Type 'HollowEllipsoid' registered
08:53:02: Particle Affector Type 'LinearForce' registered
08:53:02: Particle Affector Type 'ColourFader' registered
08:53:02: Particle Affector Type 'ColourFader2' registered
08:53:02: Particle Affector Type 'ColourImage' registered
08:53:02: Particle Affector Type 'ColourInterpolator' registered
08:53:02: Particle Affector Type 'Scaler' registered
08:53:02: Particle Affector Type 'Rotator' registered
08:53:02: Particle Affector Type 'DirectionRandomiser' registered
08:53:02: Particle Affector Type 'DeflectorPlane' registered
08:53:02: Loading library Plugin_CgProgramManager.dll
08:53:02: Creating viewport on target 'Pure3D - Testing', rendering from camera 'MainCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
08:53:02: Viewport for camera 'MainCam', actual dimensions L: 0 T: 0 W: 800 H: 600
08:53:02: Added resource location 'Media/Characters' of type 'FileSystem' to resource group 'General'
08:53:02: Parsing scripts for resource group Autodetect
08:53:02: Finished parsing scripts for resource group Autodetect
08:53:02: Parsing scripts for resource group General
08:53:02: Parsing script EvilCharacter.material
08:53:02: Finished parsing scripts for resource group General
08:53:02: Parsing scripts for resource group Internal
08:53:02: Finished parsing scripts for resource group Internal
08:53:02: Mesh: Loading EvilCharacter.mesh.
08:53:04: Unregistering ResourceManager for type BspLevel
08:53:04: *-*-* OGRE Shutdown
08:53:04: Unregistering ResourceManager for type Compositor
08:53:04: Unregistering ResourceManager for type Font
08:53:04: Unregistering ResourceManager for type Skeleton
08:53:04: Unregistering ResourceManager for type Mesh
08:53:04: Unregistering ResourceManager for type HighLevelGpuProgram
08:53:04: Unloading library Plugin_CgProgramManager.dll
08:53:04: Unloading library Plugin_ParticleFX.dll
08:53:04: Unloading library Plugin_OctreeSceneManager.dll
It then just gives me a system access violation exception error....
public void Destroy()
{
Mogre.ResourceGroupManager.Singleton.ShutdownAll();
mWindow.Destroy();
if (mWindow != null)
{
mWindow.Dispose();
mWindow = null;
}
mRoot.Dispose(); //<=== LINE WHERE IT DIES
mReady = false;
}
I am using managed direct sound but i destroy that before destroying ogre so i have no clue what to do... I didn't have this problem before.