Hi,
I'm trying to load a mesh, which ueses shared geometrie. It was exported by
the Ogre Exporter for maya. Any idea how to use shared geometrie. Thanks :)
Backtrace and the ogre.log are at the attachment. 

Michael Henze

backtrace (shared Geometrie)
GNU gdb 6.6-debian

Copyright (C) 2006 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain
conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for details.

This GDB was configured as "i486-linux-gnu"...

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) r testshared.world 

Starting program: /usr/local/bin/gazebo testshared.world

[Thread debugging using libthread_db enabled]

[New Thread -1241946400 (LWP 23836)]

Gazebo multi-robot simulator, version 0.8-pre1



Part of the Player/Stage Project [http://playerstage.sourceforge.net].

Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.

Released under the GNU General Public License.



Gazebo Path[/usr/local/share/gazebo]

Ogre Path[/usr/local/lib/OGRE]

[server/Simulator.cc:358]

  Creating GUI:

        Type[fltk] Pos[0 0] Size[640 480]

creating /tmp/gazebo-michael-0

creating /tmp/gazebo-michael-0/simulation.default 112 688

[server/sensors/Sensor.cc:94]

  cam2_sensor sensor has no controller.



Program received signal SIGSEGV, Segmentation fault.

[Switching to Thread -1241946400 (LWP 23836)]

0x08065443 in gazebo::TrimeshGeom::LoadChild (this=0x8b403b0,
node=0x80e4ed0) at server/physics/TrimeshGeom.cc:124

124         numVertices += subMesh->vertexData->vertexCount;  


Ogre.log (shared Geometrie)
Gazebo multi-robot simulator, version 0.8-pre1



Part of the Player/Stage Project [http://playerstage.sourceforge.net].

Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.

Released under the GNU General Public License.



Gazebo Path[/usr/local/share/gazebo]

Ogre Path[/usr/local/lib/OGRE]

[server/Simulator.cc:358]

  Creating GUI:

        Type[fltk] Pos[0 0] Size[640 480]

creating /tmp/gazebo-michael-0

creating /tmp/gazebo-michael-0/simulation.default 112 688

[server/sensors/Sensor.cc:94]

  cam2_sensor sensor has no controller.

Segmentation fault (core dumped)

[EMAIL PROTECTED]:~/Desktop/testsharedgeometrie$ cat Ogre.log 

11:55:32: Creating resource group General

11:55:32: Creating resource group Internal

11:55:32: Creating resource group Autodetect

11:55:32: SceneManagerFactory for type 'DefaultSceneManager' registered.

11:55:32: Registering ResourceManager for type Material

11:55:32: Registering ResourceManager for type Mesh

11:55:32: Registering ResourceManager for type Skeleton

11:55:32: MovableObjectFactory for type 'ParticleSystem' registered.

11:55:32: OverlayElementFactory for type Panel registered.

11:55:32: OverlayElementFactory for type BorderPanel registered.

11:55:32: OverlayElementFactory for type TextArea registered.

11:55:32: Registering ResourceManager for type Font

11:55:32: ArchiveFactory for archive type FileSystem registered.

11:55:32: ArchiveFactory for archive type Zip registered.

11:55:32: FreeImage version: 3.9.3

11:55:32: This program uses FreeImage, a free, open source image library
supporting all common bitmap formats. See http://freeimage.sourceforge.net
for details

11:55:32: 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

11:55:32: DDS codec registering

11:55:32: Registering ResourceManager for type HighLevelGpuProgram

11:55:32: Registering ResourceManager for type Compositor

11:55:32: MovableObjectFactory for type 'Entity' registered.

11:55:32: MovableObjectFactory for type 'Light' registered.

11:55:32: MovableObjectFactory for type 'BillboardSet' registered.

11:55:32: MovableObjectFactory for type 'ManualObject' registered.

11:55:32: MovableObjectFactory for type 'BillboardChain' registered.

11:55:32: MovableObjectFactory for type 'RibbonTrail' registered.

11:55:32: OGRE EXCEPTION(6:FileNotFoundException): 'plugins.cfg' file not
found! in ConfigFile::load at OgreConfigFile.cpp (line 84)

11:55:32: plugins.cfg not found, automatic plugin loading disabled.

11:55:32: *-*-* OGRE Initialising

11:55:32: *-*-* Version 1.4.5 (Eihort)

11:55:32: Loading library /usr/local/lib/OGRE/RenderSystem_GL.so

11:55:32: Installing plugin: GL RenderSystem

11:55:32: OpenGL Rendering Subsystem created.

11:55:32: Plugin successfully installed

11:55:32: Loading library /usr/local/lib/OGRE/Plugin_ParticleFX.so

11:55:32: Installing plugin: ParticleFX

11:55:32: Particle Emitter Type 'Point' registered

11:55:32: Particle Emitter Type 'Box' registered

11:55:32: Particle Emitter Type 'Ellipsoid' registered

11:55:32: Particle Emitter Type 'Cylinder' registered

11:55:32: Particle Emitter Type 'Ring' registered

11:55:32: Particle Emitter Type 'HollowEllipsoid' registered

11:55:32: Particle Affector Type 'LinearForce' registered

11:55:32: Particle Affector Type 'ColourFader' registered

11:55:32: Particle Affector Type 'ColourFader2' registered

11:55:32: Particle Affector Type 'ColourImage' registered

11:55:32: Particle Affector Type 'ColourInterpolator' registered

11:55:32: Particle Affector Type 'Scaler' registered

11:55:32: Particle Affector Type 'Rotator' registered

11:55:32: Particle Affector Type 'DirectionRandomiser' registered

11:55:32: Particle Affector Type 'DeflectorPlane' registered

11:55:32: Plugin successfully installed

11:55:32: Loading library /usr/local/lib/OGRE/Plugin_BSPSceneManager.so

11:55:32: Installing plugin: BSP Scene Manager

11:55:32: Plugin successfully installed

11:55:32: Loading library /usr/local/lib/OGRE/Plugin_OctreeSceneManager.so

11:55:32: Installing plugin: Octree & Terrain Scene Manager

11:55:32: Plugin successfully installed

11:55:32: Added resource location '/usr/local/share/gazebo/Media' of type
'FileSystem' to resource group 'General'

11:55:32: Added resource location '/usr/local/share/gazebo/Media/fonts' of
type 'FileSystem' to resource group 'General'

11:55:32: Added resource location
'/usr/local/share/gazebo/Media/materials/programs' of type 'FileSystem' to
resource group 'General'

11:55:32: Added resource location
'/usr/local/share/gazebo/Media/materials/scripts' of type 'FileSystem' to
resource group 'General'

11:55:32: Added resource location
'/usr/local/share/gazebo/Media/materials/textures' of type 'FileSystem' to
resource group 'General'

11:55:32: Added resource location '/usr/local/share/gazebo/Media/models' of
type 'FileSystem' to resource group 'General'

11:55:32: Added resource location '/usr/local/share/gazebo/Media/sets' of
type 'FileSystem' to resource group 'General'

11:55:32: Added resource location '/usr/local/share/gazebo/Media/maps' of
type 'FileSystem' to resource group 'General'

11:55:32: Added resource location
'/usr/local/share/gazebo/Media/sets/toolshed' of type 'FileSystem' to
resource group 'General'

11:55:32: Added resource location
'/usr/local/share/gazebo/Media/sets/generalstoreshop' of type 'FileSystem'
to resource group 'General'

11:55:32: Added resource location
'/usr/local/share/gazebo/Media/sets/athene' of type 'FileSystem' to resource
group 'General'

11:55:32: Added resource location '/usr/local/share/gazebo/Media/sets/.svn'
of type 'FileSystem' to resource group 'General'

11:55:32: Added resource location '/usr/local/share/gazebo/Media/sets/..' of
type 'FileSystem' to resource group 'General'

11:55:32: Added resource location
'/usr/local/share/gazebo/Media/sets/pioneer2at' of type 'FileSystem' to
resource group 'General'

11:55:32: Added resource location
'/usr/local/share/gazebo/Media/sets/RZR-002' of type 'FileSystem' to
resource group 'General'

11:55:32: Added resource location '/usr/local/share/gazebo/Media/sets/fish'
of type 'FileSystem' to resource group 'General'

11:55:32: Added resource location
'/usr/local/share/gazebo/Media/sets/pioneer2dx' of type 'FileSystem' to
resource group 'General'

11:55:32: Added resource location '/usr/local/share/gazebo/Media/sets/.' of
type 'FileSystem' to resource group 'General'

11:55:32: Added resource location '/usr/local/share/gazebo/Media/sets/ninja'
of type 'FileSystem' to resource group 'General'

11:55:32: Added resource location
'/usr/local/share/gazebo/Media/sets/weapshop' of type 'FileSystem' to
resource group 'General'

11:55:32: Added resource location
'/usr/local/share/gazebo/Media/sets/healthshop' of type 'FileSystem' to
resource group 'General'

11:55:32: CPU Identifier & Features

11:55:32: -------------------------

11:55:32:  *   CPU ID: GenuineIntel: Intel(R) Pentium(R) M processor 2.00GHz

11:55:32:  *      SSE: yes

11:55:32:  *     SSE2: yes

11:55:32:  *     SSE3: no

11:55:32:  *      MMX: yes

11:55:32:  *   MMXEXT: yes

11:55:32:  *    3DNOW: no

11:55:32:  * 3DNOWEXT: no

11:55:32:  *     CMOV: yes

11:55:32:  *      TSC: yes

11:55:32:  *      FPU: yes

11:55:32:  *      PRO: no

11:55:32:  *       HT: no

11:55:32: -------------------------

11:55:32: ******************************

*** Starting GLX Subsystem ***

******************************

11:55:32: GLRenderSystem::createRenderWindow "WindowName", 640x480 windowed 
miscParams: parentWindowHandle=135158128 0 94371844 135181320 

11:55:32: GLXWindow::create

11:55:32: Parsing miscParams

11:55:32: GLXWindow::create -- Best visual is 36

11:55:32: GL_VERSION = 1.5.3 NVIDIA 71.85

11:55:32: GL_VENDOR = NVIDIA Corporation

11:55:32: GL_RENDERER = GeForce Go 6800/PCI/SSE2

11:55:32: GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_fragment_program
GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_imaging
GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query
GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow
GL_ARB_shader_objects GL_ARB_shading_language_100
GL_ARB_texture_border_clamp GL_ARB_texture_compression
GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine
GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat
GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle
GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program
GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers
GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc
GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color
GL_EXT_blend_equation_separate GL_EXT_blend_func_separate
GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array
GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements
GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels
GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal
GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs
GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D
GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map
GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3
GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias
GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_vertex_array
GL_HP_occlusion_test GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat
GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color
GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance
GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2
GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint
GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range
GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners
GL_NV_register_combiners2 GL_NV_texgen_reflection
GL_NV_texture_compression_vtc GL_NV_texture_env_combine4
GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader
GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range
GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1
GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3
GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod
GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum 

11:55:32: ***************************

11:55:32: *** GL Renderer Started ***

11:55:32: ***************************

11:55:32: Registering ResourceManager for type GpuProgram

11:55:32: GLSL support detected

11:55:32: GL: Using PBuffers for rendering to textures

11:55:32: RenderSystem capabilities

11:55:32: -------------------------

11:55:32:  * Hardware generation of mipmaps: yes

11:55:32:  * Texture blending: yes

11:55:32:  * Anisotropic texture filtering: yes

11:55:32:  * Dot product texture operation: yes

11:55:32:  * Cube mapping: yes

11:55:32:  * Hardware stencil buffer: yes

11:55:32:    - Stencil depth: 8

11:55:32:    - Two sided stencil support: yes

11:55:32:    - Wrap stencil values: yes

11:55:32:  * Hardware vertex / index buffers: yes

11:55:32:  * Vertex programs: yes

11:55:32:    - Max vertex program version: vp40

11:55:32:  * Fragment programs: yes

11:55:32:    - Max fragment program version: fp40

11:55:32:  * Texture Compression: yes

11:55:32:    - DXT: yes

11:55:32:    - VTC: yes

11:55:32:  * Scissor Rectangle: yes

11:55:32:  * Hardware Occlusion Query: yes

11:55:32:  * User clip planes: yes

11:55:32:  * VET_UBYTE4 vertex element type: yes

11:55:32:  * Infinite far plane projection: yes

11:55:32:  * Hardware render-to-texture: yes

11:55:32:  * Floating point textures: yes

11:55:32:  * Non-power-of-two textures: yes

11:55:32:  * Volume textures: yes

11:55:32:  * Multiple Render Targets: 1

11:55:32:  * Point Sprites: yes

11:55:32:  * Extended point parameters: yes

11:55:32:  * Max Point Size: 63.375

11:55:32:  * Vertex texture fetch: yes

11:55:32:    - Max vertex textures: 4

11:55:32:    - Vertex textures shared: yes

11:55:32: Registering ResourceManager for type Texture

11:55:32: ResourceBackgroundQueue - threading disabled

11:55:32: Particle Renderer Type 'billboard' registered

11:55:32: SceneManagerFactory for type 'BspSceneManager' registered.

11:55:32: Registering ResourceManager for type BspLevel

11:55:32: SceneManagerFactory for type 'OctreeSceneManager' registered.

11:55:32: SceneManagerFactory for type 'TerrainSceneManager' registered.

11:55:32: TerrainSceneManager: Registered a new PageSource for type
Heightmap

11:55:32: Parsing scripts for resource group Autodetect

11:55:32: Finished parsing scripts for resource group Autodetect

11:55:32: Parsing scripts for resource group General

11:55:32: Parsing script Gazebo.material

11:55:32: GLSL compiling: Gazebo/PointLightVS

11:55:33: GLSL compiled : Gazebo/PointLightVS

11:55:33: GLSL compiling: Gazebo/PointLightFS

11:55:33: GLSL compiled : Gazebo/PointLightFS

11:55:33: GLSL compiling: Gazebo/SpotLightVS

11:55:33: GLSL compiled : Gazebo/SpotLightVS

11:55:33: GLSL compiling: Gazebo/SpotLightFS

11:55:33: GLSL compiled : Gazebo/SpotLightFS

11:55:33: GLSL compiling: Gazebo/AmbientOneTextureVS

11:55:33: GLSL compiled : Gazebo/AmbientOneTextureVS

11:55:33: GLSL compiling: Gazebo/AmbientOneTextureFS

11:55:33: GLSL compiled : Gazebo/AmbientOneTextureFS

11:55:33: Parsing script ToolShed.material

11:55:33: Parsing script shop.material

11:55:33: Parsing script athene.material

11:55:33: Parsing script rzr-002.material

11:55:33: Parsing script fish.material

11:55:33: Parsing script ninja.material

11:55:33: Parsing script weapshop.material

11:55:33: Parsing script healthshop.material

11:55:33: Parsing script Gazebo.fontdef

11:55:33: Parsing script sample.fontdef

11:55:33: Bad attribute line: glyph             0.152344        0.125  
0.160156        0.1875 in font Ogre

11:55:33: Finished parsing scripts for resource group General

11:55:33: Parsing scripts for resource group Internal

11:55:33: Finished parsing scripts for resource group Internal

11:55:33: Texture: clouds.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with 5
hardware generated mipmaps from Image. Internal format is
PF_X8R8G8B8,256x256x1.

11:55:33: Creating viewport on target 'WindowName', rendering from camera
'__GAZEBO_CAMERA__', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00
ZOrder: 0

11:55:33: Font Arialusing texture size 512x512

11:55:33: Info: Freetype returned null for character 160 in font Arial

11:55:33: Texture: ArialTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 
hardware generated mipmaps from Image. Internal format is
PF_BYTE_LA,512x512x1.

11:55:33: WARNING: Mesh instance 'unit_sphere' was defined as manually
loaded, but no manual loader was provided. This Resource will be lost if it
has to be reloaded.

11:55:33: WARNING: Mesh instance 'joint_anchor' was defined as manually
loaded, but no manual loader was provided. This Resource will be lost if it
has to be reloaded.

11:55:33: WARNING: Mesh instance 'unit_box' was defined as manually loaded,
but no manual loader was provided. This Resource will be lost if it has to
be reloaded.

11:55:33: WARNING: Mesh instance 'unit_cylinder' was defined as manually
loaded, but no manual loader was provided. This Resource will be lost if it
has to be reloaded.

11:55:33: Mesh: Loading
/home/michael/Desktop/testsharedgeometrie/20080211tablesshared.mesh.

-- 
View this message in context: 
http://www.nabble.com/svn-gazebo---shared-geometrie---Segmentation-fault-%28core-dumped%29-tp15409529p15409529.html
Sent from the playerstage-gazebo mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to