[solved] MapSplitter crashes

RB

06-12-2005 13:00:03

I currently using gcc v3.3.6, latest OGRE CVS version & PLSM2 from CVS for Linux.

Everything is compiling, no errors at all .

My trouble is that Mapsplitter crash and display the following lines :

mishel@localhost ~/projects/yake/common/bin $ ./MapSplitter
Creating resource group General
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
Loading library libOgrePlatform.so
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.
DevIL version: Developer's Image Library (DevIL) 1.6.7 Dec 5 2005
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 raw
Registering ResourceManager for type HighLevelGpuProgram
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
Loading library /usr/local/lib/OGRE/RenderSystem_GL.so
OpenGL Rendering Subsystem created.
Loading library /usr/local/lib/OGRE/Plugin_ParticleFX.so
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Loading library /usr/local/lib/OGRE/Plugin_BSPSceneManager.so
Registering ResourceManager for type BspLevel
Loading library /usr/local/lib/OGRE/Plugin_OctreeSceneManager.so
TerrainSceneManager: Registered a new PageSource for type Heightmap
Loading library /usr/local/lib/OGRE/Plugin_CgProgramManager.so
Loading library /usr/local/lib/OGRE/Plugin_PagingLandScape2
*-*-* OGRE Initialising
*-*-* Version 1.1.0 (Dagon)
Creating resource group Bootstrap
Added resource location '../../media/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
Added resource location '../../media/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/graphics.meshes/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/graphics.scenes/r2t/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/graphics.scenes/arena0/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/graphics.materials/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/graphics.textures/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/graphics.materials/programs/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/graphics.materials/scripts/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/graphics.materials/textures/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/graphics.fx/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/gui.cegui.fonts/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/gui.cegui.imagesets/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/gui.cegui.schemes/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/gui.cegui.layouts/' of type 'FileSystem' to resource group 'General'
Added resource location '../../media/graphics.packs/skybox.zip' of type 'Zip' to resource group 'General'
Creating resource group PLSM2
Added resource location '../../media/paginglandscape' of type 'FileSystem' to resource group 'PLSM2'
Added resource location '../../media/paginglandscape/datasrcs' of type 'FileSystem' to resource group 'PLSM2'
Added resource location '../../media/paginglandscape/splat' of type 'FileSystem' to resource group 'PLSM2'
Width : 1025 Height : 1281 Bypp : 2alpes.raw
created : alpes.0.0.raw
created : alpes.0.1.raw
created : alpes.0.2.raw
created : alpes.1.0.raw
created : alpes.1.1.raw
created : alpes.1.2.raw
created : alpes.2.0.raw
created : alpes.2.1.raw
created : alpes.2.2.raw
created : alpes.3.0.raw
created : alpes.3.1.raw
created : alpes.3.2.raw
created : alpes.4.0.raw
created : alpes.4.1.raw
created : alpes.4.2.raw
created : alpes.0.3.raw
created : alpes.1.3.raw
created : alpes.2.3.raw
created : alpes.3.3.raw
created : alpes.4.3.raw
Fatal signal: Segmentation Fault (SDL Parachute Deployed)


The maptool.cfg contains


DefaultMap=Alpes.gen

#puget_sound=puget_1k.gen
#grand_canyon=gcanyon_height_4k2k.gen
#terragen_genrated=terragen16bits.gen
European_Alpes=Alpes.gen

# resource group name
GroupName=PLSM2

#do you want to run it on all maps listed here
BatchMode=yes


the ouput of gdb :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 15106)]
0xb74c105c in memcpy () from /lib/libc.so.6
(gdb) bt
#0 0xb74c105c in memcpy () from /lib/libc.so.6
#1 0xb76ff1bb in ilInitImage () from /usr/lib/libIL.so.1
#2 0x08116728 in ?? ()
#3 0x00000001 in ?? ()
#4 0x0170fdd4 in ?? ()
#5 0xb770fdd4 in ?? () from /usr/lib/libIL.so.1
#6 0x081166a8 in ?? ()
#7 0x00000001 in ?? ()
#8 0xbfed3188 in ?? ()
#9 0xb76ff4a3 in ilTexImage_ () from /usr/lib/libIL.so.1
#10 0x00000001 in ?? ()
#11 0x00000001 in ?? ()
#12 0x00001909 in ?? ()
#13 0x00001403 in ?? ()
#14 0xb6254008 in ?? ()
#15 0xb770fdd4 in ?? () from /usr/lib/libIL.so.1
#16 0x00001909 in ?? ()
#17 0xbfed3210 in ?? ()
#18 0xb76ff3cb in ilTexImage () from /usr/lib/libIL.so.1
#19 0x081166a8 in ?? ()
#20 0x00000200 in ?? ()
#21 0x00000200 in ?? ()
#22 0x00000001 in ?? ()
#23 0x00000001 in ?? ()
#24 0x00001909 in ?? ()
#25 0x00001403 in ?? ()
#26 0xb6254008 in ?? ()
#27 0xb76ff370 in ilNewImageFull () from /usr/lib/libIL.so.1
#28 0xb7fc1000 in ?? ()
#29 0xb7fa7ff8 in ?? () from /usr/local/lib/libOgreMain.so.5
#30 0xb7f3bab3 in Ogre::ILUtil::fromOgre (src=@0x24448b18) at OgreCommon.h:307
Previous frame inner to this frame (corrupt stack?)
(gdb)


MapSplitter.log doesn't contains usefull info about this crash.

If you have any idea of what I'm doing wrong.

Thanks.

tuan kuranes

06-12-2005 13:20:03

if from CVS you shouldn't get that many page for alpes.
Is there a pagesize in alpes.gen.cfg ?
Perhaps you're using paginglandscape2 media folder or old paginglandscape folder ?

RB

07-12-2005 13:56:12

Thanks for advise, I was confused with paginglandscape media folder :)