Bug Report? Crash on Exit in Demos

Chaster

21-06-2006 18:54:57

Hi, perhaps this is a problem with my system alone (since I don't see any other mentions of this crash) but when I run the demos (including mapsplitter) I get a crash (last message is terminating the OpenGL process).

This happens even in mapsplitter. I have an ATI 9600 card with latest drivers from ATI and this only happens on PLSM2 demos (latest zipped file package). My other Ogre programs don't exhibit this behavior.

Chaster

tuan kuranes

22-06-2006 07:56:13

Only while exiting ? for both mapsplitter and demos ?
Doesn mapspitter has time to finish the split ? might be causing the crash in demo if not finished ?
Can you post the log ?

Chaster

23-06-2006 05:42:42

Yes, only crashing on exit for both. I *believe* that Mapsplitter has completed everything properly and is just crashing on exit. Here's the mapsplitter log:

-----------------------------
10:28:03: Creating resource group General
10:28:03: Creating resource group Internal
10:28:03: Creating resource group Autodetect
10:28:03: Registering ResourceManager for type Material
10:28:03: Registering ResourceManager for type Mesh
10:28:03: Registering ResourceManager for type Skeleton
10:28:03: MovableObjectFactory for type 'ParticleSystem' registered.
10:28:03: Loading library OgrePlatform.dll
10:28:03: OverlayElementFactory for type Panel registered.
10:28:03: OverlayElementFactory for type BorderPanel registered.
10:28:03: OverlayElementFactory for type TextArea registered.
10:28:03: Registering ResourceManager for type Font
10:28:03: ArchiveFactory for archive type FileSystem registered.
10:28:03: ArchiveFactory for archive type Zip registered.
10:28:03: DevIL version: Developer's Image Library (DevIL) 1.6.7 Nov 9 2005
10:28:03: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw
10:28:03: Registering ResourceManager for type HighLevelGpuProgram
10:28:03: Registering ResourceManager for type Compositor
10:28:03: MovableObjectFactory for type 'Entity' registered.
10:28:03: MovableObjectFactory for type 'Light' registered.
10:28:03: MovableObjectFactory for type 'BillboardSet' registered.
10:28:03: MovableObjectFactory for type 'ManualObject' registered.
10:28:03: MovableObjectFactory for type 'BillboardChain' registered.
10:28:03: MovableObjectFactory for type 'RibbonTrail' registered.
10:28:03: Loading library .\RenderSystem_Direct3D9
10:28:04: D3D9 : Direct3D9 Rendering Subsystem created.
10:28:04: D3D9: Driver Detection Starts
10:28:04: D3D9: Driver Detection Ends
10:28:04: Loading library .\RenderSystem_GL
10:28:04: OpenGL Rendering Subsystem created.
10:28:04: Loading library .\Plugin_ParticleFX
10:28:04: Particle Emitter Type 'Point' registered
10:28:04: Particle Emitter Type 'Box' registered
10:28:04: Particle Emitter Type 'Ellipsoid' registered
10:28:04: Particle Emitter Type 'Cylinder' registered
10:28:04: Particle Emitter Type 'Ring' registered
10:28:04: Particle Emitter Type 'HollowEllipsoid' registered
10:28:04: Particle Affector Type 'LinearForce' registered
10:28:04: Particle Affector Type 'ColourFader' registered
10:28:04: Particle Affector Type 'ColourFader2' registered
10:28:04: Particle Affector Type 'ColourImage' registered
10:28:04: Particle Affector Type 'ColourInterpolator' registered
10:28:04: Particle Affector Type 'Scaler' registered
10:28:04: Particle Affector Type 'Rotator' registered
10:28:04: Particle Affector Type 'DirectionRandomiser' registered
10:28:04: Particle Affector Type 'DeflectorPlane' registered
10:28:04: Loading library .\Plugin_CgProgramManager
10:28:05: Loading library .\Plugin_OctreeSceneManager
10:28:05: Loading library .\Plugin_PagingLandScapeSceneManager2
10:28:05: *-*-* OGRE Initialising
10:28:05: *-*-* Version 1.2.0 (Dagon)
10:28:05: Creating resource group Bootstrap
10:28:05: Added resource location '../../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
10:28:05: Added resource location '../../media' of type 'FileSystem' to resource group 'General'
10:28:05: Added resource location '../../media/fonts' of type 'FileSystem' to resource group 'General'
10:28:05: Added resource location '../../media/materials/programs' of type 'FileSystem' to resource group 'General'
10:28:05: Added resource location '../../media/materials/scripts' of type 'FileSystem' to resource group 'General'
10:28:05: Added resource location '../../media/materials/textures' of type 'FileSystem' to resource group 'General'
10:28:05: Added resource location '../../media/models' of type 'FileSystem' to resource group 'General'
10:28:05: Added resource location '../../media/overlays' of type 'FileSystem' to resource group 'General'
10:28:05: Added resource location '../../media/particle' of type 'FileSystem' to resource group 'General'
10:28:05: Added resource location '../../media/gui' of type 'FileSystem' to resource group 'General'
10:28:05: Creating resource group PLSM2
10:28:05: Added resource location '../../Media/paginglandscape2' of type 'FileSystem' to resource group 'PLSM2'
10:28:05: Added resource location '../../Media/paginglandscape2/gui' of type 'FileSystem' to resource group 'PLSM2'
10:28:05: Added resource location '../../Media/paginglandscape2/models' of type 'FileSystem' to resource group 'PLSM2'
10:28:05: Added resource location '../../Media/paginglandscape2/overlays' of type 'FileSystem' to resource group 'PLSM2'
10:28:05: Added resource location '../../Media/paginglandscape2/materials' of type 'FileSystem' to resource group 'PLSM2'
10:28:05: Added resource location '../../Media/paginglandscape2/materials/scripts' of type 'FileSystem' to resource group 'PLSM2'
10:28:05: Added resource location '../../Media/paginglandscape2/materials/textures' of type 'FileSystem' to resource group 'PLSM2'
10:28:05: Added resource location '../../Media/paginglandscape2/materials/programs' of type 'FileSystem' to resource group 'PLSM2'
10:28:05: Added resource location '../../Media/paginglandscape2/datasrcs' of type 'FileSystem' to resource group 'PLSM2'
10:28:05: Added resource location '../../Media/paginglandscape2/terrains' of type 'FileSystem' to resource group 'PLSM2'
10:31:11: *-*-* OGRE Shutdown
10:31:11: Unregistering ResourceManager for type Compositor
10:31:11: Unregistering ResourceManager for type Font
10:31:11: Unregistering ResourceManager for type Skeleton
10:31:11: Unregistering ResourceManager for type Mesh
10:31:11: Unregistering ResourceManager for type HighLevelGpuProgram
10:31:11: Unloading library .\Plugin_PagingLandScapeSceneManager2
10:31:11: Unloading library .\Plugin_OctreeSceneManager
10:31:11: Unloading library .\Plugin_CgProgramManager
10:31:11: Unloading library .\Plugin_ParticleFX
10:31:11: *** Stopping Win32GL Subsystem ***
---------------------------------------------

As you can see, it crashes trying to shut down the Win32GL subsystem. The same thing happens (crash on "Stopping Win32GL Subsystem") when exiting the demo... Very odd... I originally thought it was a driver bug, but I've tried several different drivers and they all do the same thing.

Chaster

tuan kuranes

23-06-2006 10:42:50

can you do that in debug mode, there should be much more info in logs.

Chaster

24-06-2006 05:34:31

That will take some time because I'm just running the pre-compiled demo package I downloaded from your website. I will have to get the source files, compile, and test... Will post back when I get to it (might be a while.. Kinda busy...)

Thanks in advance!

Chaster