[SOLVED]CaelumLab and CaelumDemo crash on run [Log posted]

Liens

01-11-2008 05:18:21

Hi, I'm using vs2008. I finally got caelum to compile after a few hours of messing around. But when I go into the debug folder and try to run either of the .exe's it tells me that there's been a Debug Error.

The log looks like this as it's running and then ends at the bottom with an error:


Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
FreeImage version: 3.10.0
This program uses FreeImage, a free, open source image library supporting all co
mmon bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,
pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,
g3,sgi,exr,j2k,j2c,jp2
DDS codec registering
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
Loading library .\Plugin_CgProgramManager_d
Installing plugin: Cg Program Manager
Plugin successfully installed
Loading library .\Plugin_OctreeSceneManager_d
Installing plugin: Octree & Terrain Scene Manager
Plugin successfully installed
Loading library .\RenderSystem_GL_d
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library .\RenderSystem_Direct3D9_d
Installing plugin: D3D9 RenderSystem
D3D9 : Direct3D9 Rendering Subsystem created.
D3D9: Driver Detection Starts
D3D9: Driver Detection Ends
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 1.6.0RC1 (Shoggoth)
Creating resource group Bootstrap
Added resource location '..\..\samples\resources\OgreCore.zip' of type 'Zip' to
resource group 'Bootstrap'
Creating resource group CEGUI
Added resource location '..\..\samples\resources\gui\' of type 'FileSystem' to r
esource group 'CEGUI'
Creating resource group Caelum
Added resource location '..\..\main\resources\' of type 'FileSystem' to resource
group 'Caelum'
Added resource location '..\..\samples\resources\' of type 'FileSystem' to resou
rce group 'Caelum'
D3D9 : RenderSystem Option: Allow NVPerfHUD = No
D3D9 : RenderSystem Option: Anti aliasing = None
D3D9 : RenderSystem Option: Floating-point mode = Fastest
D3D9 : RenderSystem Option: Full Screen = Yes
D3D9 : RenderSystem Option: Rendering Device = NVIDIA GeForce 8600 GT
D3D9 : RenderSystem Option: VSync = No
D3D9 : RenderSystem Option: Video Mode = 1680 x 1050 @ 32-bit colour
D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
CPU Identifier & Features
-------------------------
* CPU ID: GenuineIntel: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz
* SSE: yes
* SSE2: yes
* SSE3: yes
* MMX: yes
* MMXEXT: yes
* 3DNOW: no
* 3DNOWEXT: no
* CMOV: yes
* TSC: yes
* FPU: yes
* PRO: yes
* HT: no
-------------------------
D3D9 : Subsystem Initialising
D3D9RenderSystem::_createRenderWindow "OGRE Render Window", 1680x1050 fullscreen
miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 gamma=false useNVPerfHUD=false
vsync=false
D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 1680x1050, 32bpp
Registering ResourceManager for type Texture
Registering ResourceManager for type GpuProgram
D3D9: Vertex texture format supported - PF_FLOAT16_RGB
D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
D3D9: Vertex texture format supported - PF_FLOAT32_RGB
D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
D3D9: Vertex texture format supported - PF_FLOAT16_R
D3D9: Vertex texture format supported - PF_FLOAT32_R
D3D9: Vertex texture format supported - PF_FLOAT16_GR
D3D9: Vertex texture format supported - PF_FLOAT32_GR
RenderSystem capabilities
-------------------------
RenderSystem Name: Direct3D9 Rendering Subsystem
GPU Vendor: nvidia
Device Name: NVIDIA GeForce 8600 GT
Driver Version: 6.14.11.7813
* Fixed function pipeline: yes
* Hardware generation of mipmaps: yes
* Texture blending: yes
* Anisotropic texture filtering: yes
* Dot product texture operation: yes
* Cube mapping: yes
* Hardware stencil buffer: yes
- Stencil depth: 8
- Two sided stencil support: yes
- Wrap stencil values: yes
* Hardware vertex / index buffers: yes
* Vertex programs: yes
* Fragment programs: yes
* Geometry programs: no
* Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a ps_
2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
* Texture Compression: yes
- DXT: yes
- VTC: no
* Scissor Rectangle: yes
* Hardware Occlusion Query: yes
* User clip planes: yes
* VET_UBYTE4 vertex element type: yes
* Infinite far plane projection: yes
* Hardware render-to-texture: yes
* Floating point textures: yes
* Non-power-of-two textures: yes
* Volume textures: yes
* Multiple Render Targets: 4
- With different bit depths: yes
* Point Sprites: yes
* Extended point parameters: yes
* Max Point Size: 8192
* Vertex texture fetch: yes
- Max vertex textures: 4
- Vertex textures shared: no
* Render to Vertex Buffer : no
* DirectX per stage constants: yes
***************************************
*** D3D9 : Subsystem Initialised OK ***
***************************************
ResourceBackgroundQueue - threading disabled
Particle Renderer Type 'billboard' registered
SceneManagerFactory for type 'OctreeSceneManager' registered.
SceneManagerFactory for type 'TerrainSceneManager' registered.
TerrainSceneManager: Registered a new PageSource for type Heightmap
Parsing scripts for resource group Autodetect
Finished parsing scripts for resource group Autodetect
Parsing scripts for resource group Bootstrap
Parsing script OgreCore.material
Parsing script OgreProfiler.material
Parsing script Ogre.fontdef
Parsing script OgreDebugPanel.overlay
Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with
hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x
1.
Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardw
are generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with h
ardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Font BlueHighwayusing texture size 512x512
Info: Freetype returned null for character 127 in font BlueHighway
Info: Freetype returned null for character 128 in font BlueHighway
Info: Freetype returned null for character 129 in font BlueHighway
Info: Freetype returned null for character 130 in font BlueHighway
Info: Freetype returned null for character 131 in font BlueHighway
Info: Freetype returned null for character 132 in font BlueHighway
Info: Freetype returned null for character 133 in font BlueHighway
Info: Freetype returned null for character 134 in font BlueHighway
Info: Freetype returned null for character 135 in font BlueHighway
Info: Freetype returned null for character 136 in font BlueHighway
Info: Freetype returned null for character 137 in font BlueHighway
Info: Freetype returned null for character 138 in font BlueHighway
Info: Freetype returned null for character 139 in font BlueHighway
Info: Freetype returned null for character 140 in font BlueHighway
Info: Freetype returned null for character 141 in font BlueHighway
Info: Freetype returned null for character 142 in font BlueHighway
Info: Freetype returned null for character 143 in font BlueHighway
Info: Freetype returned null for character 144 in font BlueHighway
Info: Freetype returned null for character 145 in font BlueHighway
Info: Freetype returned null for character 146 in font BlueHighway
Info: Freetype returned null for character 147 in font BlueHighway
Info: Freetype returned null for character 148 in font BlueHighway
Info: Freetype returned null for character 149 in font BlueHighway
Info: Freetype returned null for character 150 in font BlueHighway
Info: Freetype returned null for character 151 in font BlueHighway
Info: Freetype returned null for character 152 in font BlueHighway
Info: Freetype returned null for character 153 in font BlueHighway
Info: Freetype returned null for character 154 in font BlueHighway
Info: Freetype returned null for character 155 in font BlueHighway
Info: Freetype returned null for character 156 in font BlueHighway
Info: Freetype returned null for character 157 in font BlueHighway
Info: Freetype returned null for character 158 in font BlueHighway
Info: Freetype returned null for character 159 in font BlueHighway
Info: Freetype returned null for character 160 in font BlueHighway
Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 genera
ted mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware gen
erated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
Parsing script OgreLoadingPanel.overlay
Finished parsing scripts for resource group Bootstrap
Parsing scripts for resource group CEGUI
Finished parsing scripts for resource group CEGUI
Parsing scripts for resource group Caelum
Parsing script GroundFog.program
Parsing script Haze.program
Parsing script GroundFog.material
Parsing script LayeredClouds.material
Parsing script moon.material
Parsing script PointStarfield.material
Parsing script SkyDome.material
Parsing script Starfield.material
Parsing script Sun.material
Parsing script Terrain.material
Finished parsing scripts for resource group Caelum
Parsing scripts for resource group General
Finished parsing scripts for resource group General
Parsing scripts for resource group Internal
Finished parsing scripts for resource group Internal
TerrainSceneManager: Activated PageSource Heightmap
Texture: terrain_dirt-grass.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with hard
ware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
Texture: terrain_detail.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware
generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
Texture: AtmosphereDepth.png: Loading 1 faces(PF_R8G8B8,32x1x1) with hardware g
enerated mipmaps from Image. Internal format is PF_X8R8G8B8,32x1x1.
Texture: EarthClearSky2.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with hardware
generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
*** Initializing OIS ***
Texture: TaharezLook.tga: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 0 generate
d mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
Texture: _cegui_ogre_0: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 0 generated
mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
Texture: _cegui_ogre_1: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 0 generated mi
pmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Caelum: Initialising Caelum system...
Caelum: System attributes set up.
Caelum: Creating CaelumSphericDome sphere mesh resource...
Caelum: generateSphericDome DONE
Texture: sun_disc.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 0 generated m
ipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
D3D9 : Loading 2D Texture, image name : 'moon_disc.dds' with 5 mip map levels
Texture: noise1.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generat
ed mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
Texture: noise2.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generat
ed mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
Texture: noise3.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generat
ed mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
Texture: noise4.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generat
ed mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
Assertion failed: mAnimController == 0, file f:\codingextra\ogre\shoggoth_vc9\og
re\ogremain\src\ogretextureunitstate.cpp, line 1110


I'm not sure what that error means, but I don't even have an f: drive.

cdleonard

01-11-2008 17:02:15

From noise*.png I assume this is Caelum 0.3.

It looks like you hit an assert in Ogre parser code. Apparently this is hit because Caelum does setAnimatedTextureName at runtime. I believe it's the same issue as in this topic.

I was able to reproduce it with an 1.6 svn of october 27 but not with the latest version (sinbad fixed it). You need to recompile ogre 1.6 from source or wait for the final 1.6 release.

Liens

02-11-2008 03:43:43

Ah ok, thanks a lot. I didn't realise that the OGRE source was updated seperately from the SDK, but it makes sense kinda. Thanks again for the help.

Liens

07-11-2008 22:37:32

Hm this is strange, but I'm having this problem with only the debug builds on Caelum demos now. I'm using the OGRE 1.6 source and it stops the error for the release builds but not the debug ones.

Is it possible for the bug to be fixed in release build only?