==14518== Memcheck, a memory error detector. ==14518== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al. ==14518== Using LibVEX rev 1884, a library for dynamic binary translation. ==14518== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. ==14518== Using valgrind-3.4.1, a dynamic binary instrumentation framework. ==14518== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. ==14518== For more details, rerun with: -v ==14518== ==14518== Syscall param writev(vector[...]) points to uninitialised byte(s) ==14518== at 0x4000982: (within /lib/ld-2.9.so) ==14518== by 0x43: ??? ==14518== Address 0x62bbfdc is 36 bytes inside a block of size 16,384 alloc'd ==14518== at 0x40284A3: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x508C123: (within /usr/lib/opengl/nvidia/lib/libGL.so.185.18.31) ==14518== by 0x414C01F: osgViewer::GraphicsWindowX11::GraphicsWindowX11(osg::GraphicsContext::Traits*) (GraphicsWindowX11:56) ==14518== by 0x414C2AA: X11WindowingSystemInterface::createGraphicsContext(osg::GraphicsContext::Traits*) (GraphicsWindowX11.cpp:1833) ==14518== by 0x4447EF4: osg::GraphicsContext::createGraphicsContext(osg::GraphicsContext::Traits*) (GraphicsContext.cpp:75) ==14518== by 0x4110E2E: osgViewer::View::setUpViewAcrossAllScreens() (View.cpp:473) ==14518== by 0x4123169: osgViewer::Viewer::realize() (Viewer.cpp:466) ==14518== by 0x805EE91: main (test2.cpp:26) ==14518== Uninitialised value was created by a stack allocation ==14518== at 0x414288C: osgViewer::GraphicsWindowX11::checkAndSendEventFullScreenIfNeeded(_XDisplay*, int, int, int, int, bool) (GraphicsWindowX11.cpp:341) RegisterWindowingSystemInterfaceProxy() X11WindowingSystemInterface() GraphicsContext::setWindowingSystemInterface() 0x62583b0 0x45cbb08 CullSettings::readEnvironmentalVariables() DatabasePager::addDatabaseThread() HANDLE_NON_HTTP DatabasePager::addDatabaseThread() HANDLE_ONLY_HTTP CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() CullSettings::readEnvironmentalVariables() View::setSceneData() Reusing exisitng scene0x6262bc0 Font 0x626c5a0, numberOfTexturesAllocated 1 Opened DynamicLibrary osgPlugins-2.9.6/osgdb_freetype.so FreeTypeLibrary::FreeTypeLibrary() Adding to object cache ../data/Vera.ttf Font 0x6290660, numberOfTexturesAllocated 2 Viewer::realize() - No valid contexts found, setting up view across all screens. GraphicsContext::getWindowingSystemInterface() 0x62583b0 0x45cbb08 GraphicsContext::registerGraphicsContext 0x62b4fb8 GraphicsContext::getWindowingSystemInterface() 0x62583b0 0x45cbb08 GraphicsContext::createNewContextID() creating contextID=0 Updating the MaxNumberOfGraphicsContexts to 1 GraphicsWindow has been created successfully. osg::State::_maxTexturePoolSize=0 osg::State::_maxBufferObjectPoolSize=0 Viewer::startThreading() - starting threading Viewer::startThreading() - contexts.size()=1 View::init() OpenGL extensions supported by installed OpenGL drivers are: GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_geometry_shader4 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object 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_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_vertex_array_object 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_EXTX_framebuffer_mixed_formats GL_EXT_Cg_shader GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform 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_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex 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_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NVX_conditional_render GL_NV_blend_square GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_explicit_multisample GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program2 GL_NV_fragment_program_option GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_shader_buffer_load 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_transform_feedback GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_S3_s3tc GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum OpenGL extension 'GL_ARB_vertex_program' is supported. OpenGL extension 'GL_EXT_secondary_color' is supported. OpenGL extension 'GL_EXT_fog_coord' is supported. OpenGL extension 'GL_ARB_multitexture' is supported. OpenGL extension 'GL_NV_occlusion_query' is supported. OpenGL extension 'GL_ARB_occlusion_query' is supported. OpenGL extension 'GL_EXT_timer_query' is supported. OpenGL extension '' is not supported. Setting up osg::Camera::FRAME_BUFFER OpenGL extension 'GL_EXT_fog_coord' is supported. OpenGL extension 'GL_EXT_secondary_color' is supported. OpenGL extension 'GL_ARB_multitexture' is supported. OpenGL extension 'GL_EXT_texture_filter_anisotropic' is supported. OpenGL extension 'GL_ARB_texture_compression' is supported. OpenGL extension 'GL_EXT_texture_compression_s3tc' is supported. OpenGL extension 'GL_IBM_texture_mirrored_repeat' is supported. OpenGL extension 'GL_EXT_texture_edge_clamp' is supported. OpenGL extension 'GL_ARB_texture_border_clamp' is supported. OpenGL extension 'GL_SGIS_generate_mipmap' is supported. OpenGL extension 'GL_ARB_shadow' is supported. OpenGL extension 'GL_ARB_shadow_ambient' is not supported. OpenGL extension 'GL_APPLE_client_storage' is not supported. OpenGL extension 'GL_ARB_texture_non_power_of_two' is supported. OpenGL extension 'GL_EXT_texture_integer' is supported. Created new TextureObject, _numOfTextureObjects 1 glGetString(GL_RENDERER)==GeForce 8600M GT/PCI/SSE2 OpenGL extension 'GL_ARB_fragment_program' is supported. OpenGL extension 'GL_EXT_framebuffer_object' is supported. OpenGL extension 'GL_EXT_framebuffer_blit' is supported. OpenGL extension 'GL_EXT_framebuffer_multisample' is supported. OpenGL extension 'GL_NV_framebuffer_multisample_coverage' is supported. OpenGL extension 'GL_EXT_packed_depth_stencil' is supported. OpenGL extension 'GL_ARB_shader_objects' is supported. OpenGL extension 'GL_ARB_vertex_shader' is supported. OpenGL extension 'GL_ARB_fragment_shader' is supported. OpenGL extension 'GL_ARB_shading_language_100' is supported. OpenGL extension 'GL_EXT_geometry_shader4' is supported. OpenGL extension 'GL_EXT_gpu_shader4' is supported. glVersion=3, isGlslSupported=YES, glslLanguageVersion=1.3 OpenGL extension 'GL_ARB_vertex_program' is supported. View::setSceneData() Reusing exisitng scene0x6262bc0 Viewer::~Viewer():==14518== ==14518== Invalid read of size 4 ==14518== at 0x452527A: osg::ref_ptr::operator!() const (ref_ptr:92) ==14518== by 0x45221BE: osg::Texture::getTextureObjectManager(unsigned int) (Texture.cpp:773) ==14518== by 0x452246C: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x4A3C841: void std::_Destroy >(osg::ref_ptr*) (stl_construct.h:88) ==14518== by 0x4A3C866: void std::_Destroy*>(osg::ref_ptr*, osg::ref_ptr*) (stl_construct.h:103) ==14518== by 0x4A3CA14: void std::_Destroy*, osg::ref_ptr >(osg::ref_ptr*, osg::ref_ptr*, std::allocator >&) (stl_construct.h:128) ==14518== Address 0x644ecf0 is 0 bytes inside a block of size 4 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4526AC6: __gnu_cxx::new_allocator >::deallocate(osg::ref_ptr*, unsigned int) (new_allocator.h:98) ==14518== by 0x4526B00: std::_Vector_base, std::allocator > >::_M_deallocate(osg::ref_ptr*, unsigned int) (stl_vector.h:150) ==14518== by 0x4526B49: std::_Vector_base, std::allocator > >::~_Vector_base() (stl_vector.h:136) ==14518== by 0x4527C80: std::vector, std::allocator > >::~vector() (stl_vector.h:300) ==14518== by 0x4527CCE: osg::buffered_object >::~buffered_object() (buffered_value:79) ==14518== by 0x4888ED0: exit (in /lib/libc-2.9.so) ==14518== ==14518== Invalid read of size 4 ==14518== at 0x4527F21: osg::ref_ptr::operator=(osg::Texture::TextureObjectManager*) (ref_ptr:49) ==14518== by 0x4522207: osg::Texture::getTextureObjectManager(unsigned int) (Texture.cpp:773) ==14518== by 0x452246C: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x4A3C841: void std::_Destroy >(osg::ref_ptr*) (stl_construct.h:88) ==14518== by 0x4A3C866: void std::_Destroy*>(osg::ref_ptr*, osg::ref_ptr*) (stl_construct.h:103) ==14518== by 0x4A3CA14: void std::_Destroy*, osg::ref_ptr >(osg::ref_ptr*, osg::ref_ptr*, std::allocator >&) (stl_construct.h:128) ==14518== Address 0x644ecf0 is 0 bytes inside a block of size 4 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4526AC6: __gnu_cxx::new_allocator >::deallocate(osg::ref_ptr*, unsigned int) (new_allocator.h:98) ==14518== by 0x4526B00: std::_Vector_base, std::allocator > >::_M_deallocate(osg::ref_ptr*, unsigned int) (stl_vector.h:150) ==14518== by 0x4526B49: std::_Vector_base, std::allocator > >::~_Vector_base() (stl_vector.h:136) ==14518== by 0x4527C80: std::vector, std::allocator > >::~vector() (stl_vector.h:300) ==14518== by 0x4527CCE: osg::buffered_object >::~buffered_object() (buffered_value:79) ==14518== by 0x4888ED0: exit (in /lib/libc-2.9.so) ==14518== ==14518== Invalid read of size 4 ==14518== at 0x4527F33: osg::ref_ptr::operator=(osg::Texture::TextureObjectManager*) (ref_ptr:50) ==14518== by 0x4522207: osg::Texture::getTextureObjectManager(unsigned int) (Texture.cpp:773) ==14518== by 0x452246C: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x4A3C841: void std::_Destroy >(osg::ref_ptr*) (stl_construct.h:88) ==14518== by 0x4A3C866: void std::_Destroy*>(osg::ref_ptr*, osg::ref_ptr*) (stl_construct.h:103) ==14518== by 0x4A3CA14: void std::_Destroy*, osg::ref_ptr >(osg::ref_ptr*, osg::ref_ptr*, std::allocator >&) (stl_construct.h:128) ==14518== Address 0x644ecf0 is 0 bytes inside a block of size 4 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4526AC6: __gnu_cxx::new_allocator >::deallocate(osg::ref_ptr*, unsigned int) (new_allocator.h:98) ==14518== by 0x4526B00: std::_Vector_base, std::allocator > >::_M_deallocate(osg::ref_ptr*, unsigned int) (stl_vector.h:150) ==14518== by 0x4526B49: std::_Vector_base, std::allocator > >::~_Vector_base() (stl_vector.h:136) ==14518== by 0x4527C80: std::vector, std::allocator > >::~vector() (stl_vector.h:300) ==14518== by 0x4527CCE: osg::buffered_object >::~buffered_object() (buffered_value:79) ==14518== by 0x4888ED0: exit (in /lib/libc-2.9.so) ==14518== ==14518== Invalid write of size 4 ==14518== at 0x4527F3E: osg::ref_ptr::operator=(osg::Texture::TextureObjectManager*) (ref_ptr:51) ==14518== by 0x4522207: osg::Texture::getTextureObjectManager(unsigned int) (Texture.cpp:773) ==14518== by 0x452246C: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x4A3C841: void std::_Destroy >(osg::ref_ptr*) (stl_construct.h:88) ==14518== by 0x4A3C866: void std::_Destroy*>(osg::ref_ptr*, osg::ref_ptr*) (stl_construct.h:103) ==14518== by 0x4A3CA14: void std::_Destroy*, osg::ref_ptr >(osg::ref_ptr*, osg::ref_ptr*, std::allocator >&) (stl_construct.h:128) ==14518== Address 0x644ecf0 is 0 bytes inside a block of size 4 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4526AC6: __gnu_cxx::new_allocator >::deallocate(osg::ref_ptr*, unsigned int) (new_allocator.h:98) ==14518== by 0x4526B00: std::_Vector_base, std::allocator > >::_M_deallocate(osg::ref_ptr*, unsigned int) (stl_vector.h:150) ==14518== by 0x4526B49: std::_Vector_base, std::allocator > >::~_Vector_base() (stl_vector.h:136) ==14518== by 0x4527C80: std::vector, std::allocator > >::~vector() (stl_vector.h:300) ==14518== by 0x4527CCE: osg::buffered_object >::~buffered_object() (buffered_value:79) ==14518== by 0x4888ED0: exit (in /lib/libc-2.9.so) ==14518== ==14518== Invalid read of size 4 ==14518== at 0x4527F43: osg::ref_ptr::operator=(osg::Texture::TextureObjectManager*) (ref_ptr:52) ==14518== by 0x4522207: osg::Texture::getTextureObjectManager(unsigned int) (Texture.cpp:773) ==14518== by 0x452246C: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x4A3C841: void std::_Destroy >(osg::ref_ptr*) (stl_construct.h:88) ==14518== by 0x4A3C866: void std::_Destroy*>(osg::ref_ptr*, osg::ref_ptr*) (stl_construct.h:103) ==14518== by 0x4A3CA14: void std::_Destroy*, osg::ref_ptr >(osg::ref_ptr*, osg::ref_ptr*, std::allocator >&) (stl_construct.h:128) ==14518== Address 0x644ecf0 is 0 bytes inside a block of size 4 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4526AC6: __gnu_cxx::new_allocator >::deallocate(osg::ref_ptr*, unsigned int) (new_allocator.h:98) ==14518== by 0x4526B00: std::_Vector_base, std::allocator > >::_M_deallocate(osg::ref_ptr*, unsigned int) (stl_vector.h:150) ==14518== by 0x4526B49: std::_Vector_base, std::allocator > >::~_Vector_base() (stl_vector.h:136) ==14518== by 0x4527C80: std::vector, std::allocator > >::~vector() (stl_vector.h:300) ==14518== by 0x4527CCE: osg::buffered_object >::~buffered_object() (buffered_value:79) ==14518== by 0x4888ED0: exit (in /lib/libc-2.9.so) ==14518== ==14518== Invalid read of size 4 ==14518== at 0x4527F4C: osg::ref_ptr::operator=(osg::Texture::TextureObjectManager*) (ref_ptr:52) ==14518== by 0x4522207: osg::Texture::getTextureObjectManager(unsigned int) (Texture.cpp:773) ==14518== by 0x452246C: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x4A3C841: void std::_Destroy >(osg::ref_ptr*) (stl_construct.h:88) ==14518== by 0x4A3C866: void std::_Destroy*>(osg::ref_ptr*, osg::ref_ptr*) (stl_construct.h:103) ==14518== by 0x4A3CA14: void std::_Destroy*, osg::ref_ptr >(osg::ref_ptr*, osg::ref_ptr*, std::allocator >&) (stl_construct.h:128) ==14518== Address 0x644ecf0 is 0 bytes inside a block of size 4 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4526AC6: __gnu_cxx::new_allocator >::deallocate(osg::ref_ptr*, unsigned int) (new_allocator.h:98) ==14518== by 0x4526B00: std::_Vector_base, std::allocator > >::_M_deallocate(osg::ref_ptr*, unsigned int) (stl_vector.h:150) ==14518== by 0x4526B49: std::_Vector_base, std::allocator > >::~_Vector_base() (stl_vector.h:136) ==14518== by 0x4527C80: std::vector, std::allocator > >::~vector() (stl_vector.h:300) ==14518== by 0x4527CCE: osg::buffered_object >::~buffered_object() (buffered_value:79) ==14518== by 0x4888ED0: exit (in /lib/libc-2.9.so) ==14518== ==14518== Invalid read of size 4 ==14518== at 0x44E437C: osg::ref_ptr::operator->() const (ref_ptr:89) ==14518== by 0x4522474: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x4A3C841: void std::_Destroy >(osg::ref_ptr*) (stl_construct.h:88) ==14518== by 0x4A3C866: void std::_Destroy*>(osg::ref_ptr*, osg::ref_ptr*) (stl_construct.h:103) ==14518== by 0x4A3CA14: void std::_Destroy*, osg::ref_ptr >(osg::ref_ptr*, osg::ref_ptr*, std::allocator >&) (stl_construct.h:128) ==14518== by 0x4A3CA57: std::vector, std::allocator > >::~vector() (stl_vector.h:300) ==14518== Address 0x644ecf0 is 0 bytes inside a block of size 4 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4526AC6: __gnu_cxx::new_allocator >::deallocate(osg::ref_ptr*, unsigned int) (new_allocator.h:98) ==14518== by 0x4526B00: std::_Vector_base, std::allocator > >::_M_deallocate(osg::ref_ptr*, unsigned int) (stl_vector.h:150) ==14518== by 0x4526B49: std::_Vector_base, std::allocator > >::~_Vector_base() (stl_vector.h:136) ==14518== by 0x4527C80: std::vector, std::allocator > >::~vector() (stl_vector.h:300) ==14518== by 0x4527CCE: osg::buffered_object >::~buffered_object() (buffered_value:79) ==14518== by 0x4888ED0: exit (in /lib/libc-2.9.so) ==14518== ==14518== Invalid read of size 4 ==14518== at 0x40C4365: OpenThreads::ScopedLock::ScopedLock(OpenThreads::Mutex&) (ScopedLock:31) ==14518== by 0x4522334: osg::Texture::TextureObjectSet::orphan(osg::Texture::TextureObject*) (Texture.cpp:553) ==14518== by 0x4522412: osg::Texture::TextureObjectManager::releaseTextureObject(osg::Texture::TextureObject*) (Texture.cpp:731) ==14518== by 0x4522485: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x4A3C841: void std::_Destroy >(osg::ref_ptr*) (stl_construct.h:88) ==14518== by 0x4A3C866: void std::_Destroy*>(osg::ref_ptr*, osg::ref_ptr*) (stl_construct.h:103) ==14518== Address 0x65480bc is 12 bytes inside a block of size 88 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4524102: osg::Texture::TextureObjectSet::~TextureObjectSet() (Texture.cpp:167) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x45281C9: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x45281F9: std::pair >::~pair() (stl_pair.h:73) ==14518== by 0x452821C: __gnu_cxx::new_allocator > >::destroy(std::pair >*) (new_allocator.h:118) ==14518== by 0x4528261: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_destroy_node(std::_Rb_tree_node > >*) (stl_tree.h:390) ==14518== by 0x45282F7: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase(std::_Rb_tree_node > >*) (stl_tree.h:943) ==14518== by 0x4528337: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::~_Rb_tree() (stl_tree.h:585) ==14518== by 0x4528396: std::map, std::less, std::allocator > > >::~map() (stl_map.h:92) ==14518== by 0x452881F: osg::Texture::TextureObjectManager::~TextureObjectManager() (Texture:1048) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== ==14518== Invalid read of size 4 ==14518== at 0x4BD4901: OpenThreads::Mutex::lock() (PThreadMutex.c++:120) ==14518== by 0x40C4375: OpenThreads::ScopedLock::ScopedLock(OpenThreads::Mutex&) (ScopedLock:31) ==14518== by 0x4522334: osg::Texture::TextureObjectSet::orphan(osg::Texture::TextureObject*) (Texture.cpp:553) ==14518== by 0x4522412: osg::Texture::TextureObjectManager::releaseTextureObject(osg::Texture::TextureObject*) (Texture.cpp:731) ==14518== by 0x4522485: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x4A3C841: void std::_Destroy >(osg::ref_ptr*) (stl_construct.h:88) ==14518== Address 0x65480c0 is 16 bytes inside a block of size 88 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4524102: osg::Texture::TextureObjectSet::~TextureObjectSet() (Texture.cpp:167) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x45281C9: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x45281F9: std::pair >::~pair() (stl_pair.h:73) ==14518== by 0x452821C: __gnu_cxx::new_allocator > >::destroy(std::pair >*) (new_allocator.h:118) ==14518== by 0x4528261: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_destroy_node(std::_Rb_tree_node > >*) (stl_tree.h:390) ==14518== by 0x45282F7: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase(std::_Rb_tree_node > >*) (stl_tree.h:943) ==14518== by 0x4528337: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::~_Rb_tree() (stl_tree.h:585) ==14518== by 0x4528396: std::map, std::less, std::allocator > > >::~map() (stl_map.h:92) ==14518== by 0x452881F: osg::Texture::TextureObjectManager::~TextureObjectManager() (Texture:1048) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== ==14518== Invalid read of size 4 ==14518== at 0x5260A90: pthread_mutex_lock (in /lib/libpthread-2.9.so) ==14518== Address 0x6548148 is 16 bytes inside a block of size 28 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4BD4B7F: OpenThreads::PThreadMutexPrivateData::~PThreadMutexPrivateData() (PThreadMutexPrivateData.h:38) ==14518== by 0x4BD49D4: OpenThreads::Mutex::~Mutex() (PThreadMutex.c++:107) ==14518== by 0x4524083: osg::Texture::TextureObjectSet::~TextureObjectSet() (Texture.cpp:167) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x45281C9: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x45281F9: std::pair >::~pair() (stl_pair.h:73) ==14518== by 0x452821C: __gnu_cxx::new_allocator > >::destroy(std::pair >*) (new_allocator.h:118) ==14518== by 0x4528261: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_destroy_node(std::_Rb_tree_node > >*) (stl_tree.h:390) ==14518== by 0x45282F7: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase(std::_Rb_tree_node > >*) (stl_tree.h:943) ==14518== by 0x4528337: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::~_Rb_tree() (stl_tree.h:585) ==14518== by 0x4528396: std::map, std::less, std::allocator > > >::~map() (stl_map.h:92) ==14518== ==14518== Invalid read of size 4 ==14518== at 0x4787D59: std::_List_node_base::hook(std::_List_node_base*) (in /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6.0.10) ==14518== by 0x452A072: std::list, std::allocator > >::_M_insert(std::_List_iterator >, osg::ref_ptr const&) (stl_list.h:1342) ==14518== by 0x452A0B9: std::list, std::allocator > >::push_back(osg::ref_ptr const&) (stl_list.h:876) ==14518== by 0x452236E: osg::Texture::TextureObjectSet::orphan(osg::Texture::TextureObject*) (Texture.cpp:563) ==14518== by 0x4522412: osg::Texture::TextureObjectManager::releaseTextureObject(osg::Texture::TextureObject*) (Texture.cpp:731) ==14518== by 0x4522485: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== Address 0x65480fc is 76 bytes inside a block of size 88 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4524102: osg::Texture::TextureObjectSet::~TextureObjectSet() (Texture.cpp:167) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x45281C9: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x45281F9: std::pair >::~pair() (stl_pair.h:73) ==14518== by 0x452821C: __gnu_cxx::new_allocator > >::destroy(std::pair >*) (new_allocator.h:118) ==14518== by 0x4528261: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_destroy_node(std::_Rb_tree_node > >*) (stl_tree.h:390) ==14518== by 0x45282F7: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase(std::_Rb_tree_node > >*) (stl_tree.h:943) ==14518== by 0x4528337: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::~_Rb_tree() (stl_tree.h:585) ==14518== by 0x4528396: std::map, std::less, std::allocator > > >::~map() (stl_map.h:92) ==14518== by 0x452881F: osg::Texture::TextureObjectManager::~TextureObjectManager() (Texture:1048) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== ==14518== Invalid read of size 4 ==14518== at 0x4787D61: std::_List_node_base::hook(std::_List_node_base*) (in /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6.0.10) ==14518== by 0x452A072: std::list, std::allocator > >::_M_insert(std::_List_iterator >, osg::ref_ptr const&) (stl_list.h:1342) ==14518== by 0x452A0B9: std::list, std::allocator > >::push_back(osg::ref_ptr const&) (stl_list.h:876) ==14518== by 0x452236E: osg::Texture::TextureObjectSet::orphan(osg::Texture::TextureObject*) (Texture.cpp:563) ==14518== by 0x4522412: osg::Texture::TextureObjectManager::releaseTextureObject(osg::Texture::TextureObject*) (Texture.cpp:731) ==14518== by 0x4522485: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== Address 0x65480fc is 76 bytes inside a block of size 88 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4524102: osg::Texture::TextureObjectSet::~TextureObjectSet() (Texture.cpp:167) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x45281C9: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x45281F9: std::pair >::~pair() (stl_pair.h:73) ==14518== by 0x452821C: __gnu_cxx::new_allocator > >::destroy(std::pair >*) (new_allocator.h:118) ==14518== by 0x4528261: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_destroy_node(std::_Rb_tree_node > >*) (stl_tree.h:390) ==14518== by 0x45282F7: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase(std::_Rb_tree_node > >*) (stl_tree.h:943) ==14518== by 0x4528337: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::~_Rb_tree() (stl_tree.h:585) ==14518== by 0x4528396: std::map, std::less, std::allocator > > >::~map() (stl_map.h:92) ==14518== by 0x452881F: osg::Texture::TextureObjectManager::~TextureObjectManager() (Texture:1048) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== ==14518== Invalid write of size 4 ==14518== at 0x4787D64: std::_List_node_base::hook(std::_List_node_base*) (in /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6.0.10) ==14518== by 0x452A072: std::list, std::allocator > >::_M_insert(std::_List_iterator >, osg::ref_ptr const&) (stl_list.h:1342) ==14518== by 0x452A0B9: std::list, std::allocator > >::push_back(osg::ref_ptr const&) (stl_list.h:876) ==14518== by 0x452236E: osg::Texture::TextureObjectSet::orphan(osg::Texture::TextureObject*) (Texture.cpp:563) ==14518== by 0x4522412: osg::Texture::TextureObjectManager::releaseTextureObject(osg::Texture::TextureObject*) (Texture.cpp:731) ==14518== by 0x4522485: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== Address 0x65480fc is 76 bytes inside a block of size 88 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4524102: osg::Texture::TextureObjectSet::~TextureObjectSet() (Texture.cpp:167) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x45281C9: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x45281F9: std::pair >::~pair() (stl_pair.h:73) ==14518== by 0x452821C: __gnu_cxx::new_allocator > >::destroy(std::pair >*) (new_allocator.h:118) ==14518== by 0x4528261: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_destroy_node(std::_Rb_tree_node > >*) (stl_tree.h:390) ==14518== by 0x45282F7: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase(std::_Rb_tree_node > >*) (stl_tree.h:943) ==14518== by 0x4528337: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::~_Rb_tree() (stl_tree.h:585) ==14518== by 0x4528396: std::map, std::less, std::allocator > > >::~map() (stl_map.h:92) ==14518== by 0x452881F: osg::Texture::TextureObjectManager::~TextureObjectManager() (Texture:1048) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== ==14518== Invalid write of size 4 ==14518== at 0x4787D67: std::_List_node_base::hook(std::_List_node_base*) (in /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/libstdc++.so.6.0.10) ==14518== by 0x452A072: std::list, std::allocator > >::_M_insert(std::_List_iterator >, osg::ref_ptr const&) (stl_list.h:1342) ==14518== by 0x452A0B9: std::list, std::allocator > >::push_back(osg::ref_ptr const&) (stl_list.h:876) ==14518== by 0x452236E: osg::Texture::TextureObjectSet::orphan(osg::Texture::TextureObject*) (Texture.cpp:563) ==14518== by 0x4522412: osg::Texture::TextureObjectManager::releaseTextureObject(osg::Texture::TextureObject*) (Texture.cpp:731) ==14518== by 0x4522485: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== Address 0x65480f8 is 72 bytes inside a block of size 88 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4524102: osg::Texture::TextureObjectSet::~TextureObjectSet() (Texture.cpp:167) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x45281C9: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x45281F9: std::pair >::~pair() (stl_pair.h:73) ==14518== by 0x452821C: __gnu_cxx::new_allocator > >::destroy(std::pair >*) (new_allocator.h:118) ==14518== by 0x4528261: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_destroy_node(std::_Rb_tree_node > >*) (stl_tree.h:390) ==14518== by 0x45282F7: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase(std::_Rb_tree_node > >*) (stl_tree.h:943) ==14518== by 0x4528337: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::~_Rb_tree() (stl_tree.h:585) ==14518== by 0x4528396: std::map, std::less, std::allocator > > >::~map() (stl_map.h:92) ==14518== by 0x452881F: osg::Texture::TextureObjectManager::~TextureObjectManager() (Texture:1048) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== ==14518== Invalid read of size 4 ==14518== at 0x40C4383: OpenThreads::ScopedLock::~ScopedLock() (ScopedLock:32) ==14518== by 0x45223B1: osg::Texture::TextureObjectSet::orphan(osg::Texture::TextureObject*) (Texture.cpp:563) ==14518== by 0x4522412: osg::Texture::TextureObjectManager::releaseTextureObject(osg::Texture::TextureObject*) (Texture.cpp:731) ==14518== by 0x4522485: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x4A3C841: void std::_Destroy >(osg::ref_ptr*) (stl_construct.h:88) ==14518== by 0x4A3C866: void std::_Destroy*>(osg::ref_ptr*, osg::ref_ptr*) (stl_construct.h:103) ==14518== Address 0x65480bc is 12 bytes inside a block of size 88 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4524102: osg::Texture::TextureObjectSet::~TextureObjectSet() (Texture.cpp:167) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x45281C9: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x45281F9: std::pair >::~pair() (stl_pair.h:73) ==14518== by 0x452821C: __gnu_cxx::new_allocator > >::destroy(std::pair >*) (new_allocator.h:118) ==14518== by 0x4528261: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_destroy_node(std::_Rb_tree_node > >*) (stl_tree.h:390) ==14518== by 0x45282F7: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase(std::_Rb_tree_node > >*) (stl_tree.h:943) ==14518== by 0x4528337: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::~_Rb_tree() (stl_tree.h:585) ==14518== by 0x4528396: std::map, std::less, std::allocator > > >::~map() (stl_map.h:92) ==14518== by 0x452881F: osg::Texture::TextureObjectManager::~TextureObjectManager() (Texture:1048) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== ==14518== Invalid read of size 4 ==14518== at 0x4BD48D1: OpenThreads::Mutex::unlock() (PThreadMutex.c++:135) ==14518== by 0x40C4393: OpenThreads::ScopedLock::~ScopedLock() (ScopedLock:32) ==14518== by 0x45223B1: osg::Texture::TextureObjectSet::orphan(osg::Texture::TextureObject*) (Texture.cpp:563) ==14518== by 0x4522412: osg::Texture::TextureObjectManager::releaseTextureObject(osg::Texture::TextureObject*) (Texture.cpp:731) ==14518== by 0x4522485: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x4A3C841: void std::_Destroy >(osg::ref_ptr*) (stl_construct.h:88) ==14518== Address 0x65480c0 is 16 bytes inside a block of size 88 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4524102: osg::Texture::TextureObjectSet::~TextureObjectSet() (Texture.cpp:167) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x45281C9: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x45281F9: std::pair >::~pair() (stl_pair.h:73) ==14518== by 0x452821C: __gnu_cxx::new_allocator > >::destroy(std::pair >*) (new_allocator.h:118) ==14518== by 0x4528261: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_destroy_node(std::_Rb_tree_node > >*) (stl_tree.h:390) ==14518== by 0x45282F7: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase(std::_Rb_tree_node > >*) (stl_tree.h:943) ==14518== by 0x4528337: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::~_Rb_tree() (stl_tree.h:585) ==14518== by 0x4528396: std::map, std::less, std::allocator > > >::~map() (stl_map.h:92) ==14518== by 0x452881F: osg::Texture::TextureObjectManager::~TextureObjectManager() (Texture:1048) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== ==14518== Invalid read of size 4 ==14518== at 0x5262017: __pthread_mutex_unlock_usercnt (in /lib/libpthread-2.9.so) ==14518== Address 0x6548148 is 16 bytes inside a block of size 28 free'd ==14518== at 0x4028E3B: operator delete(void*) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4BD4B7F: OpenThreads::PThreadMutexPrivateData::~PThreadMutexPrivateData() (PThreadMutexPrivateData.h:38) ==14518== by 0x4BD49D4: OpenThreads::Mutex::~Mutex() (PThreadMutex.c++:107) ==14518== by 0x4524083: osg::Texture::TextureObjectSet::~TextureObjectSet() (Texture.cpp:167) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x45281C9: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x45281F9: std::pair >::~pair() (stl_pair.h:73) ==14518== by 0x452821C: __gnu_cxx::new_allocator > >::destroy(std::pair >*) (new_allocator.h:118) ==14518== by 0x4528261: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_destroy_node(std::_Rb_tree_node > >*) (stl_tree.h:390) ==14518== by 0x45282F7: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::_M_erase(std::_Rb_tree_node > >*) (stl_tree.h:943) ==14518== by 0x4528337: std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::~_Rb_tree() (stl_tree.h:585) ==14518== by 0x4528396: std::map, std::less, std::allocator > > >::~map() (stl_map.h:92) : start destructor getThreads = 0 close(1)0x62b4fb8 Releasing GL objects for Camera=0x6262430 _state=0x644e7f8 Closing still viable window 0 _state->getContextID()=0 Doing Flush Done Flush Doing discard of deleted OpenGL objects. decrementUsageCount()0 GraphicsContext::decrementContextIDUsageCount(0) to 0 Viewer::~Viewer() end destrcutor getThreads = 0 Destructing osgViewer::View Destructing osg::View close(1)0x62b4fb8 close(0)0x62b4fb8 GraphicsContext::unregisterGraphicsContext 0x62b4fb8 Done destructing osg::View Closing DynamicLibrary osgPlugins-2.9.6/osgdb_freetype.so ~RegisterWindowingSystemInterfaceProxy() GraphicsContext::setWindowingSystemInterface() 0 0x45cbb08 ==14518== ==14518== ERROR SUMMARY: 18 errors from 18 contexts (suppressed: 15 from 1) ==14518== malloc/free: in use at exit: 21,778 bytes in 400 blocks. ==14518== malloc/free: 10,320 allocs, 9,920 frees, 6,061,288 bytes allocated. ==14518== For counts of detected errors, rerun with: -v ==14518== searching for pointers to 400 not-freed blocks. ==14518== checked 2,672,052 bytes. ==14518== ==14518== ==14518== 2 bytes in 1 blocks are still reachable in loss record 1 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5177DEA: _XlcResolveLocaleName (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 2 bytes in 1 blocks are still reachable in loss record 2 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x517B15F: _XlcCreateLC (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 7 bytes in 1 blocks are still reachable in loss record 3 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x517B599: (within /usr/lib/libX11.so.6.2.0) ==14518== by 0x5245FF3: (within /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 8 bytes in 1 blocks are still reachable in loss record 4 of 39 ==14518== at 0x402A60D: realloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x51786DC: (within /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 8 bytes in 2 blocks are still reachable in loss record 5 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5179858: (within /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 12 bytes in 1 blocks are still reachable in loss record 6 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5183674: _XOpenLC (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 12 bytes in 1 blocks are still reachable in loss record 7 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x517A81A: (within /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 20 bytes in 1 blocks are still reachable in loss record 8 of 39 ==14518== at 0x40284A3: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x52740E5: (within /lib/libdl-2.9.so) ==14518== ==14518== ==14518== 24 bytes in 3 blocks are still reachable in loss record 9 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5183472: _XlcAddLoader (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 24 bytes in 2 blocks are still reachable in loss record 10 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x508C167: (within /usr/lib/opengl/nvidia/lib/libGL.so.185.18.31) ==14518== by 0x414C01F: osgViewer::GraphicsWindowX11::GraphicsWindowX11(osg::GraphicsContext::Traits*) (GraphicsWindowX11:56) ==14518== by 0x414C2AA: X11WindowingSystemInterface::createGraphicsContext(osg::GraphicsContext::Traits*) (GraphicsWindowX11.cpp:1833) ==14518== by 0x4447EF4: osg::GraphicsContext::createGraphicsContext(osg::GraphicsContext::Traits*) (GraphicsContext.cpp:75) ==14518== by 0x4110E2E: osgViewer::View::setUpViewAcrossAllScreens() (View.cpp:473) ==14518== by 0x4123169: osgViewer::Viewer::realize() (Viewer.cpp:466) ==14518== by 0x805EE91: main (test2.cpp:26) ==14518== ==14518== ==14518== 48 bytes in 1 blocks are definitely lost in loss record 11 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x50CA603: (within /usr/lib/opengl/nvidia/lib/libGL.so.185.18.31) ==14518== ==14518== ==14518== 60 bytes in 3 blocks are still reachable in loss record 12 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x400F103: (within /lib/ld-2.9.so) ==14518== by 0x4015921: (within /lib/ld-2.9.so) ==14518== by 0x401090E: (within /lib/ld-2.9.so) ==14518== by 0x5273C01: (within /lib/libdl-2.9.so) ==14518== ==14518== ==14518== 80 bytes in 1 blocks are indirectly lost in loss record 13 of 39 ==14518== at 0x4029EFF: operator new(unsigned int) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4523EF6: osg::Texture::TextureObjectSet::takeOrGenerate(osg::Texture*) (Texture.cpp:439) ==14518== by 0x4524A12: osg::Texture::TextureObjectManager::generateTextureObject(osg::Texture const*, unsigned int, int, unsigned int, int, int, int, int) (Texture.cpp:675) ==14518== by 0x4524AB4: osg::Texture::generateTextureObject(osg::Texture const*, unsigned int, unsigned int, int, unsigned int, int, int, int, int) (Texture.cpp:794) ==14518== by 0x4A305BF: osgText::Font::GlyphTexture::apply(osg::State&) const (Font.cpp:593) ==14518== by 0x43F7E26: osg::State::applyAttribute(osg::StateAttribute const*, osg::State::AttributeStack&) (State:1180) ==14518== by 0x43F7EE1: osg::State::applyTextureAttribute(unsigned int, osg::StateAttribute const*) (State:338) ==14518== by 0x4A57D5D: osgText::Text::renderOnlyForegroundText(osg::State&, osg::Vec4f const&) const (Text.cpp:1834) ==14518== by 0x4A5A852: osgText::Text::drawImplementation(osg::State&, osg::Vec4f const&) const (Text.cpp:1449) ==14518== by 0x4A5AEED: osgText::Text::drawImplementation(osg::RenderInfo&) const (Text.cpp:1269) ==14518== by 0x4F1D032: osg::Drawable::draw(osg::RenderInfo&) const (Drawable:898) ==14518== by 0x4F1C112: osgUtil::RenderLeaf::render(osg::RenderInfo&, osgUtil::RenderLeaf*) (RenderLeaf.cpp:74) ==14518== ==14518== ==14518== 92 (12 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 14 of 39 ==14518== at 0x4029EFF: operator new(unsigned int) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x4526969: __gnu_cxx::new_allocator > >::allocate(unsigned int, void const*) (new_allocator.h:92) ==14518== by 0x452699C: std::_List_base, std::allocator > >::_M_get_node() (stl_list.h:314) ==14518== by 0x4526CF4: std::list, std::allocator > >::_M_create_node(osg::ref_ptr const&) (stl_list.h:460) ==14518== by 0x452A05D: std::list, std::allocator > >::_M_insert(std::_List_iterator >, osg::ref_ptr const&) (stl_list.h:1341) ==14518== by 0x452A0B9: std::list, std::allocator > >::push_back(osg::ref_ptr const&) (stl_list.h:876) ==14518== by 0x452236E: osg::Texture::TextureObjectSet::orphan(osg::Texture::TextureObject*) (Texture.cpp:563) ==14518== by 0x4522412: osg::Texture::TextureObjectManager::releaseTextureObject(osg::Texture::TextureObject*) (Texture.cpp:731) ==14518== by 0x4522485: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== ==14518== ==14518== 20 bytes in 1 blocks are still reachable in loss record 15 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5175DB1: _XlcCreateLocaleDataBase (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 32 bytes in 1 blocks are still reachable in loss record 16 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x515941D: _XrmInternalStringToQuark (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 47 bytes in 5 blocks are still reachable in loss record 17 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x517453D: _XlcAddCT (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 48 bytes in 1 blocks are definitely lost in loss record 18 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x50CA5F3: (within /usr/lib/opengl/nvidia/lib/libGL.so.185.18.31) ==14518== ==14518== ==14518== 84 bytes in 1 blocks are still reachable in loss record 19 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x517A866: (within /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 96 bytes in 2 blocks are still reachable in loss record 20 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x517869C: (within /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 96 bytes in 1 blocks are still reachable in loss record 21 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x517A844: (within /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 100 bytes in 1 blocks are definitely lost in loss record 22 of 39 ==14518== at 0x4029EFF: operator new(unsigned int) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x45221CE: osg::Texture::getTextureObjectManager(unsigned int) (Texture.cpp:773) ==14518== by 0x452246C: osg::Texture::releaseTextureObject(unsigned int, osg::Texture::TextureObject*) (Texture.cpp:814) ==14518== by 0x45224F9: osg::Texture::dirtyTextureObject() (Texture.cpp:1293) ==14518== by 0x4522862: osg::Texture::~Texture() (Texture.cpp:1181) ==14518== by 0x4517DB2: osg::Texture2D::~Texture2D() (Texture2D.cpp:52) ==14518== by 0x4A31206: osgText::Font::GlyphTexture::~GlyphTexture() (Font.cpp:466) ==14518== by 0x805F1DF: osg::Referenced::unref() const (Referenced:183) ==14518== by 0x4A3C815: osg::ref_ptr::~ref_ptr() (ref_ptr:33) ==14518== by 0x4A3C841: void std::_Destroy >(osg::ref_ptr*) (stl_construct.h:88) ==14518== by 0x4A3C866: void std::_Destroy*>(osg::ref_ptr*, osg::ref_ptr*) (stl_construct.h:103) ==14518== by 0x4A3CA14: void std::_Destroy*, osg::ref_ptr >(osg::ref_ptr*, osg::ref_ptr*, std::allocator >&) (stl_construct.h:128) ==14518== ==14518== ==14518== 142 bytes in 18 blocks are still reachable in loss record 23 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5176071: (within /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 144 bytes in 18 blocks are still reachable in loss record 24 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x51760BB: (within /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 172 bytes in 1 blocks are still reachable in loss record 25 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x40155EF: (within /lib/ld-2.9.so) ==14518== ==14518== ==14518== 216 bytes in 18 blocks are still reachable in loss record 26 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5176377: (within /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 256 bytes in 1 blocks are still reachable in loss record 27 of 39 ==14518== at 0x402A60D: realloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5088336: (within /usr/lib/opengl/nvidia/lib/libGL.so.185.18.31) ==14518== ==14518== ==14518== 274 bytes in 18 blocks are still reachable in loss record 28 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5176549: (within /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 304 bytes in 1 blocks are still reachable in loss record 29 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5175D49: _XlcCreateLocaleDataBase (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 360 bytes in 18 blocks are still reachable in loss record 30 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5176327: (within /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 400 bytes in 50 blocks are still reachable in loss record 31 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x517488B: _XlcAddCharSet (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 633 bytes in 49 blocks are still reachable in loss record 32 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5174995: _XlcCreateDefaultCharSet (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 704 bytes in 22 blocks are still reachable in loss record 33 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5174F1B: _XlcSetConverter (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 1,028 bytes in 50 blocks are still reachable in loss record 34 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5174927: _XlcCreateDefaultCharSet (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 1,631 bytes in 50 blocks are still reachable in loss record 35 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x51742E0: _XlcAddCT (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 2,048 bytes in 1 blocks are still reachable in loss record 36 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5175C95: _XlcCreateLocaleDataBase (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 2,048 bytes in 1 blocks are still reachable in loss record 37 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x51593CB: _XrmInternalStringToQuark (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 2,400 bytes in 50 blocks are still reachable in loss record 38 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x51748CE: _XlcCreateDefaultCharSet (in /usr/lib/libX11.so.6.2.0) ==14518== ==14518== ==14518== 8,176 bytes in 1 blocks are still reachable in loss record 39 of 39 ==14518== at 0x402A4EF: malloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==14518== by 0x5158F7B: (within /usr/lib/libX11.so.6.2.0) ==14518== ==14518== LEAK SUMMARY: ==14518== definitely lost: 208 bytes in 4 blocks. ==14518== indirectly lost: 80 bytes in 1 blocks. ==14518== possibly lost: 0 bytes in 0 blocks. ==14518== still reachable: 21,490 bytes in 395 blocks. ==14518== suppressed: 0 bytes in 0 blocks.