Package: libogre5 Version: 1.0.4-1 Severity: grave Justification: renders package unusable
After installation of libogre5 and libogre-dev version 1.0.4 on Debian/Sid, the samples from the OGRE distribution and my own applications produce a segmentation fault on startup. Here is the list of OGRE related packages installed on my system : dpkg -l | grep ogre ii blender-ogrexml 1.0.4-1 Blender Exporter for Ogre ii libogre-dev 1.0.4-1 Object-oriented Graphics Rendering Engine (d ii libogre5 1.0.4-1 Object-oriented Graphics Rendering Engine (l ii libogre5-dbg 1.0.4-1 Object-oriented Graphics Rendering Engine (d ii ogre-doc 1.0.4-1 Object-oriented Graphics Rendering Engine (d ii ogre-tools 1.0.4-1 Object-oriented Graphics Rendering Engine (t To reproduce the problem, I downloaded and decompressed ogre-linux_osx-v1-0-4.tar.bz2 from OGRE website, typed ./bootstrap and ./configure from the ogrenew directory, then typed make from the ogrenew/Samples directory. Everything compiled correctly, I then launched each sample from the ogrenew/Samples/Common/bin directory with ../../SampleName/src/SampleName. Almost all the samples and all my test applications give this message : 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 Jul 21 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 xpm raw Registering ResourceManager for type HighLevelGpuProgram Loading library /usr/lib/OGRE/RenderSystem_GL.so Erreur de segmentation NB : erreur de segmentation is french for segmentation fault. There is no additional information in the Ogre.log file. Here is the message from gdb : 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 Jul 21 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 xpm raw Registering ResourceManager for type HighLevelGpuProgram Loading library /usr/lib/OGRE/RenderSystem_GL.so Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1220143424 (LWP 9951)] 0xb7d05011 in __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<std::string const, Ogre::DynLib*> >, __gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >::allocate (this=0x80e34fc, __n=1) at mt_allocator.h:147 147 { return _M_binmap[__bytes]; } Here is the backtrace from gdb : #0 0xb7d05011 in __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<std::string const, Ogre::DynLib*> >, __gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true> >::allocate (this=0x80e34fc, __n=1) at mt_allocator.h:147 #1 0xb7d053a2 in std::_Rb_tree<std::string, std::pair<std::string const, Ogre::DynLib*>, std::_Select1st<std::pair<std::string const, Ogre::DynLib*> >, std::less<std::string>, std::allocator<std::pair<std::string const, Ogre::DynLib*> > >::_M_insert (this=0x80e34fc, __x=0x80e29f8, __p=0x80e29f8, [EMAIL PROTECTED]) at stl_tree.h:356 #2 0xb7d05ad4 in std::_Rb_tree<std::string, std::pair<std::string const, Ogre::DynLib*>, std::_Select1st<std::pair<std::string const, Ogre::DynLib*> >, std::less<std::string>, std::allocator<std::pair<std::string const, Ogre::DynLib*> > >::insert_unique (this=0x80e34fc, __position={_M_node = 0x80e29f8}, [EMAIL PROTECTED]) at stl_tree.h:912 #3 0xb7d044fc in Ogre::DynLibManager::load (this=0x80e34f8, [EMAIL PROTECTED]) at stl_map.h:384 #4 0xb7e92217 in Ogre::Root::loadPlugin (this=0x809d9c0, [EMAIL PROTECTED]) at OgreRoot.cpp:826 #5 0xb7e92b4d in Ogre::Root::loadPlugins (this=0x809d9c0, [EMAIL PROTECTED]) at OgreRoot.cpp:699 #6 0xb7e93d2b in Root (this=0x809d9c0, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at OgreRoot.cpp:217 #7 0x0804cc62 in ExampleApplication::setup (this=0xbf8df848) at ExampleApplication.h:75 #8 0x0804ab35 in main (argc=1, argv=0xbf8df984) at ExampleApplication.h:55 The samples which didn't give this error message were GTKDemo and HDRDemo (non existant) and the Gui sample, with the following error message (because I didn't install ogre-plugins-cgprogrammanager) : 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 Jul 21 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 xpm raw Registering ResourceManager for type HighLevelGpuProgram Loading library /usr/lib/OGRE/RenderSystem_GL.so OpenGL Rendering Subsystem created. Loading library /usr/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/lib/OGRE/Plugin_BSPSceneManager.so Registering ResourceManager for type BspLevel Loading library /usr/lib/OGRE/Plugin_OctreeSceneManager.so TerrainSceneManager: Registered a new PageSource for type Heightmap Loading library /usr/lib/OGRE/Plugin_CgProgramManager.so An exception has occured: An exception has been thrown! Feel free to ask if you want me to do additional testing. Thank you. ----------------------------------- Details: ----------------------------------- Error #: 9 Function: DynLib::load Description: Could not load dynamic library /usr/lib/OGRE/Plugin_CgProgramManager.so. System Error: /usr/lib/OGRE/Plugin_CgProgramManager.so: cannot open shared object file: No such file or directory. File: OgreDynLib.cpp Line: 82 Stack unwinding: <<beginning of stack>> -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-k7 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages libogre5 depends on: ii libc6 2.3.5-6 GNU C Library: Shared libraries an ii libdevil1c2 1.6.7-4.1 DevIL image manipulation toolkit r ii libfreetype6 2.1.10-1 FreeType 2 font engine, shared lib ii libgcc1 1:4.0.1-6 GCC support library ii libjpeg62 6b-10 The Independent JPEG Group's JPEG ii liblcms1 1.13-1 Color management library ii libmng1 1.0.8-1 Multiple-image Network Graphics li ii libopenexr2c2 1.2.2-4 runtime files for the OpenEXR imag ii libpng12-0 1.2.8rel-1 PNG library - runtime ii libstdc++6 4.0.1-6 The GNU Standard C++ Library v3 ii libtiff4 3.7.3-1 Tag Image File Format (TIFF) libra ii libx11-6 6.8.2.dfsg.1-6 X Window System protocol client li ii libxaw7 6.8.2.dfsg.1-5 X Athena widget set library ii libxext6 6.8.2.dfsg.1-6 X Window System miscellaneous exte ii libxrandr2 6.8.2.dfsg.1-6 X Window System Resize, Rotate and ii libzzip-0-12 0.12.83-5 library providing read access on Z ii xlibmesa-gl [libgl1] 6.8.2.dfsg.1-6 Mesa 3D graphics library [X.Org] ii xlibmesa-glu [libglu1] 4.3.0.dfsg.1-14 Mesa OpenGL utility library [XFree ii xlibs 6.8.2.dfsg.1-6 X Window System client libraries m ii zlib1g 1:1.2.3-4 compression library - runtime libogre5 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]