==292912== Memcheck, a memory error detector ==292912== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==292912== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==292912== Command: ./mbdyn -f /home/reinhard/work/mbdyn-git/modules/module-octave/demo/octave_element.mbdyn -o /tmp/test_octave ==292912== Parent PID: 2838 ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53A36C8: compare (basic_string.h:2855) ==292912== by 0x53A36C8: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A36C8: operator() (stl_function.h:386) ==292912== by 0x53A36C8: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:1997) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb7618 is 40 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B297E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:336) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53A36CF: compare (basic_string.h:2859) ==292912== by 0x53A36CF: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A36CF: operator() (stl_function.h:386) ==292912== by 0x53A36CF: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:1997) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb7610 is 32 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B297E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:336) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x484224B: bcmp (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A3645: compare (char_traits.h:325) ==292912== by 0x53A3645: compare (basic_string.h:2859) ==292912== by 0x53A3645: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A3645: operator() (stl_function.h:386) ==292912== by 0x53A3645: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:1997) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== Address 0x11cb7620 is 48 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B297E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:336) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 1 ==292912== at 0x4842219: bcmp (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A3645: compare (char_traits.h:325) ==292912== by 0x53A3645: compare (basic_string.h:2859) ==292912== by 0x53A3645: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A3645: operator() (stl_function.h:386) ==292912== by 0x53A3645: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:1997) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== Address 0x11cb7620 is 48 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B297E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:336) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53A3736: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:1998) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb7608 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B297E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:336) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x4842248: bcmp (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A368B: compare (char_traits.h:325) ==292912== by 0x53A368B: compare (basic_string.h:2859) ==292912== by 0x53A368B: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A368B: operator() (stl_function.h:386) ==292912== by 0x53A368B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:1999) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== Address 0x11cb9410 is 48 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 1 ==292912== at 0x484221D: bcmp (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A368B: compare (char_traits.h:325) ==292912== by 0x53A368B: compare (basic_string.h:2859) ==292912== by 0x53A368B: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A368B: operator() (stl_function.h:386) ==292912== by 0x53A368B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:1999) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== Address 0x11cb9418 is 56 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53A3740: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:2006) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb93f8 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53A3744: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:2005) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb93f0 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC2A4: std::_Rb_tree_increment(std::_Rb_tree_node_base const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986C2: operator++ (stl_tree.h:374) ==292912== by 0x53986C2: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986C2: erase (stl_tree.h:2536) ==292912== by 0x53986C2: erase (stl_map.h:1068) ==292912== by 0x53986C2: unregister_class (cdef-manager.h:77) ==292912== by 0x53986C2: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb93f8 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC2C0: std::_Rb_tree_increment(std::_Rb_tree_node_base const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986C2: operator++ (stl_tree.h:374) ==292912== by 0x53986C2: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986C2: erase (stl_tree.h:2536) ==292912== by 0x53986C2: erase (stl_map.h:1068) ==292912== by 0x53986C2: unregister_class (cdef-manager.h:77) ==292912== by 0x53986C2: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb93e8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC2C4: std::_Rb_tree_increment(std::_Rb_tree_node_base const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986C2: operator++ (stl_tree.h:374) ==292912== by 0x53986C2: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986C2: erase (stl_tree.h:2536) ==292912== by 0x53986C2: erase (stl_map.h:1068) ==292912== by 0x53986C2: unregister_class (cdef-manager.h:77) ==292912== by 0x53986C2: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbcfd8 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC2D3: std::_Rb_tree_increment(std::_Rb_tree_node_base const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986C2: operator++ (stl_tree.h:374) ==292912== by 0x53986C2: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986C2: erase (stl_tree.h:2536) ==292912== by 0x53986C2: erase (stl_map.h:1068) ==292912== by 0x53986C2: unregister_class (cdef-manager.h:77) ==292912== by 0x53986C2: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbcfc8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC2D7: std::_Rb_tree_increment(std::_Rb_tree_node_base const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986C2: operator++ (stl_tree.h:374) ==292912== by 0x53986C2: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986C2: erase (stl_tree.h:2536) ==292912== by 0x53986C2: erase (stl_map.h:1068) ==292912== by 0x53986C2: unregister_class (cdef-manager.h:77) ==292912== by 0x53986C2: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb7608 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B297E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:336) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC2DD: std::_Rb_tree_increment(std::_Rb_tree_node_base const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986C2: operator++ (stl_tree.h:374) ==292912== by 0x53986C2: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986C2: erase (stl_tree.h:2536) ==292912== by 0x53986C2: erase (stl_map.h:1068) ==292912== by 0x53986C2: unregister_class (cdef-manager.h:77) ==292912== by 0x53986C2: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb7608 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B297E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:336) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC77A: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb93f0 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC77E: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb93f8 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82ECAB0: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb93e8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC935: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb93e8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC939: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbcfd0 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82EC943: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbcfd8 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 4 ==292912== at 0x82EC951: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb93e0 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC95E: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb93f0 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82ECC4F: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb93e8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC889: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbcfd0 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 4 ==292912== at 0x82EC830: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbedb0 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC833: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbedc8 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 4 ==292912== at 0x82EC845: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb1d0 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2AB5: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:344) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82ECAF5: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbedc0 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 4 ==292912== at 0x82ECAFE: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cc0c70 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2C25: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:352) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 4 ==292912== at 0x82ECB08: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbcfc0 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82ECB0B: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbcfd0 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 4 ==292912== at 0x82ECB0F: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbedb0 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 4 ==292912== at 0x82ECB12: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbcfc0 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 4 ==292912== at 0x82ECB18: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cc0c70 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2C25: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:352) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82ECB1F: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbedc8 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82ECB23: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbcfd0 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82ECB2C: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb1d8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2AB5: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:344) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82ECB30: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbcfc8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82ECB34: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbedb8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82ECB42: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb7608 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B297E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:336) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82ECC46: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb7608 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B297E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:336) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82ECB50: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbedc8 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82ECB54: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbcfc8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x53986D1: ~cdef_object (cdef-object.h:215) ==292912== by 0x53986D1: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x53986D1: ~cdef_class (cdef-class.h:258) ==292912== by 0x53986D1: ~pair (stl_pair.h:208) ==292912== by 0x53986D1: destroy, octave::cdef_class> > (new_allocator.h:153) ==292912== by 0x53986D1: destroy, octave::cdef_class> > (alloc_traits.h:497) ==292912== by 0x53986D1: _M_destroy_node (stl_tree.h:642) ==292912== by 0x53986D1: _M_drop_node (stl_tree.h:650) ==292912== by 0x53986D1: _M_erase_aux (stl_tree.h:2511) ==292912== by 0x53986D1: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D1: erase (stl_tree.h:2536) ==292912== by 0x53986D1: erase (stl_map.h:1068) ==292912== by 0x53986D1: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D1: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cb9420 is 64 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53986D5: ~cdef_object (cdef-object.h:215) ==292912== by 0x53986D5: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x53986D5: ~cdef_class (cdef-class.h:258) ==292912== by 0x53986D5: ~pair (stl_pair.h:208) ==292912== by 0x53986D5: destroy, octave::cdef_class> > (new_allocator.h:153) ==292912== by 0x53986D5: destroy, octave::cdef_class> > (alloc_traits.h:497) ==292912== by 0x53986D5: _M_destroy_node (stl_tree.h:642) ==292912== by 0x53986D5: _M_drop_node (stl_tree.h:650) ==292912== by 0x53986D5: _M_erase_aux (stl_tree.h:2511) ==292912== by 0x53986D5: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D5: erase (stl_tree.h:2536) ==292912== by 0x53986D5: erase (stl_map.h:1068) ==292912== by 0x53986D5: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D5: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cb9428 is 72 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53986E5: _M_is_local (basic_string.h:222) ==292912== by 0x53986E5: _M_dispose (basic_string.h:231) ==292912== by 0x53986E5: ~basic_string (basic_string.h:658) ==292912== by 0x53986E5: ~pair (stl_pair.h:208) ==292912== by 0x53986E5: destroy, octave::cdef_class> > (new_allocator.h:153) ==292912== by 0x53986E5: destroy, octave::cdef_class> > (alloc_traits.h:497) ==292912== by 0x53986E5: _M_destroy_node (stl_tree.h:642) ==292912== by 0x53986E5: _M_drop_node (stl_tree.h:650) ==292912== by 0x53986E5: _M_erase_aux (stl_tree.h:2511) ==292912== by 0x53986E5: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986E5: erase (stl_tree.h:2536) ==292912== by 0x53986E5: erase (stl_map.h:1068) ==292912== by 0x53986E5: unregister_class (cdef-manager.h:77) ==292912== by 0x53986E5: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cb9400 is 32 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid free() / delete / delete[] / realloc() ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53986FE: deallocate (new_allocator.h:128) ==292912== by 0x53986FE: deallocate (alloc_traits.h:470) ==292912== by 0x53986FE: _M_put_node (stl_tree.h:584) ==292912== by 0x53986FE: _M_drop_node (stl_tree.h:651) ==292912== by 0x53986FE: _M_erase_aux (stl_tree.h:2511) ==292912== by 0x53986FE: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986FE: erase (stl_tree.h:2536) ==292912== by 0x53986FE: erase (stl_map.h:1068) ==292912== by 0x53986FE: unregister_class (cdef-manager.h:77) ==292912== by 0x53986FE: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cb93e0 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2A27: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:342) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53A37D9: compare (basic_string.h:2855) ==292912== by 0x53A37D9: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A37D9: operator() (stl_function.h:386) ==292912== by 0x53A37D9: _M_lower_bound (stl_tree.h:1929) ==292912== by 0x53A37D9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:2007) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb1f8 is 40 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2AB5: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:344) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53A37EC: compare (char_traits.h:325) ==292912== by 0x53A37EC: compare (basic_string.h:2859) ==292912== by 0x53A37EC: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A37EC: operator() (stl_function.h:386) ==292912== by 0x53A37EC: _M_lower_bound (stl_tree.h:1929) ==292912== by 0x53A37EC: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:2007) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb1f0 is 32 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2AB5: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:344) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x484224B: bcmp (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A37F7: compare (char_traits.h:325) ==292912== by 0x53A37F7: compare (basic_string.h:2859) ==292912== by 0x53A37F7: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A37F7: operator() (stl_function.h:386) ==292912== by 0x53A37F7: _M_lower_bound (stl_tree.h:1929) ==292912== by 0x53A37F7: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:2007) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== Address 0x11cbb200 is 48 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2AB5: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:344) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 1 ==292912== at 0x4842219: bcmp (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A37F7: compare (char_traits.h:325) ==292912== by 0x53A37F7: compare (basic_string.h:2859) ==292912== by 0x53A37F7: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A37F7: operator() (stl_function.h:386) ==292912== by 0x53A37F7: _M_lower_bound (stl_tree.h:1929) ==292912== by 0x53A37F7: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:2007) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== Address 0x11cbb200 is 48 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2AB5: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:344) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53A37D0: _M_lower_bound (stl_tree.h:1932) ==292912== by 0x53A37D0: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:2007) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb1e8 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2AB5: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:344) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC920: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbcfc8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82EC924: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb1d8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2AB5: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:344) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC973: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb1e8 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2AB5: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:344) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 4 ==292912== at 0x82EC880: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb1d0 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2AB5: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:344) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 4 ==292912== at 0x82ECA4B: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb1d0 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2AB5: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:344) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53BCB92: load (atomic_base.h:419) ==292912== by 0x53BCB92: value (oct-refcount.h:77) ==292912== by 0x53BCB92: operator octave::refcount::count_type (oct-refcount.h:82) ==292912== by 0x53BCB92: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:53) ==292912== by 0x541BCC3: ~cdef_object (cdef-object.h:215) ==292912== by 0x541BCC3: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x541BCC3: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCC3: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cbb378 is 8 bytes inside a block of size 320 free'd ==292912== at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2FAE: ~cdef_class_rep (cdef-class.h:68) ==292912== by 0x53A2FAE: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:153) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x53A30E1: ~cdef_object (cdef-object.h:215) ==292912== by 0x53A30E1: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x53A30E1: ~cdef_class (cdef-class.h:258) ==292912== by 0x53A30E1: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:146) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x5398730: ~cdef_object (cdef-object.h:215) ==292912== by 0x5398730: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x5398730: ~cdef_class (cdef-class.h:258) ==292912== by 0x5398730: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53AFED9: cdef_class (cdef-class.h:235) ==292912== by 0x53AFED9: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:757) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== by 0x3F64A3: ReadDC3D(DataManager const*, MBDynParser&) (tpldrive_impl.cc:844) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53BCB9A: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:53) ==292912== by 0x541BCC3: ~cdef_object (cdef-object.h:215) ==292912== by 0x541BCC3: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x541BCC3: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCC3: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cbb370 is 0 bytes inside a block of size 320 free'd ==292912== at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2FAE: ~cdef_class_rep (cdef-class.h:68) ==292912== by 0x53A2FAE: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:153) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x53A30E1: ~cdef_object (cdef-object.h:215) ==292912== by 0x53A30E1: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x53A30E1: ~cdef_class (cdef-class.h:258) ==292912== by 0x53A30E1: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:146) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x5398730: ~cdef_object (cdef-object.h:215) ==292912== by 0x5398730: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x5398730: ~cdef_class (cdef-class.h:258) ==292912== by 0x5398730: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53AFED9: cdef_class (cdef-class.h:235) ==292912== by 0x53AFED9: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:757) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== by 0x3F64A3: ReadDC3D(DataManager const*, MBDynParser&) (tpldrive_impl.cc:844) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53BCBA8: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:59) ==292912== by 0x541BCC3: ~cdef_object (cdef-object.h:215) ==292912== by 0x541BCC3: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x541BCC3: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCC3: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cbb370 is 0 bytes inside a block of size 320 free'd ==292912== at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2FAE: ~cdef_class_rep (cdef-class.h:68) ==292912== by 0x53A2FAE: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:153) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x53A30E1: ~cdef_object (cdef-object.h:215) ==292912== by 0x53A30E1: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x53A30E1: ~cdef_class (cdef-class.h:258) ==292912== by 0x53A30E1: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:146) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x5398730: ~cdef_object (cdef-object.h:215) ==292912== by 0x5398730: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x5398730: ~cdef_class (cdef-class.h:258) ==292912== by 0x5398730: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53AFED9: cdef_class (cdef-class.h:235) ==292912== by 0x53AFED9: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:757) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== by 0x3F64A3: ReadDC3D(DataManager const*, MBDynParser&) (tpldrive_impl.cc:844) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53BCBC4: fetch_sub (atomic_base.h:551) ==292912== by 0x53BCBC4: operator-- (atomic_base.h:311) ==292912== by 0x53BCBC4: operator-- (oct-refcount.h:72) ==292912== by 0x53BCBC4: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:108) ==292912== by 0x541BCC3: ~cdef_object (cdef-object.h:215) ==292912== by 0x541BCC3: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x541BCC3: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCC3: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cbb378 is 8 bytes inside a block of size 320 free'd ==292912== at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2FAE: ~cdef_class_rep (cdef-class.h:68) ==292912== by 0x53A2FAE: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:153) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x53A30E1: ~cdef_object (cdef-object.h:215) ==292912== by 0x53A30E1: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x53A30E1: ~cdef_class (cdef-class.h:258) ==292912== by 0x53A30E1: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:146) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x5398730: ~cdef_object (cdef-object.h:215) ==292912== by 0x5398730: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x5398730: ~cdef_class (cdef-class.h:258) ==292912== by 0x5398730: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53AFED9: cdef_class (cdef-class.h:235) ==292912== by 0x53AFED9: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:757) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== by 0x3F64A3: ReadDC3D(DataManager const*, MBDynParser&) (tpldrive_impl.cc:844) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53BCBC9: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x541BCC3: ~cdef_object (cdef-object.h:215) ==292912== by 0x541BCC3: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x541BCC3: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCC3: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cbb370 is 0 bytes inside a block of size 320 free'd ==292912== at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2FAE: ~cdef_class_rep (cdef-class.h:68) ==292912== by 0x53A2FAE: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:153) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x53A30E1: ~cdef_object (cdef-object.h:215) ==292912== by 0x53A30E1: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x53A30E1: ~cdef_class (cdef-class.h:258) ==292912== by 0x53A30E1: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:146) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x5398730: ~cdef_object (cdef-object.h:215) ==292912== by 0x5398730: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x5398730: ~cdef_class (cdef-class.h:258) ==292912== by 0x5398730: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53AFED9: cdef_class (cdef-class.h:235) ==292912== by 0x53AFED9: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:757) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== by 0x3F64A3: ReadDC3D(DataManager const*, MBDynParser&) (tpldrive_impl.cc:844) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53A1B14: octave::cdef_object_rep::destroy() (cdef-object.h:180) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x541BCC3: ~cdef_object (cdef-object.h:215) ==292912== by 0x541BCC3: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x541BCC3: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCC3: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb370 is 0 bytes inside a block of size 320 free'd ==292912== at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2FAE: ~cdef_class_rep (cdef-class.h:68) ==292912== by 0x53A2FAE: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:153) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x53A30E1: ~cdef_object (cdef-object.h:215) ==292912== by 0x53A30E1: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x53A30E1: ~cdef_class (cdef-class.h:258) ==292912== by 0x53A30E1: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:146) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x5398730: ~cdef_object (cdef-object.h:215) ==292912== by 0x5398730: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x5398730: ~cdef_class (cdef-class.h:258) ==292912== by 0x5398730: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53AFED9: cdef_class (cdef-class.h:235) ==292912== by 0x53AFED9: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:757) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== by 0x3F64A3: ReadDC3D(DataManager const*, MBDynParser&) (tpldrive_impl.cc:844) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x53C6F83: ~cdef_object_base (cdef-object.h:363) ==292912== by 0x53C6F83: octave::cdef_object_base::~cdef_object_base() (cdef-object.h:363) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x541BCC3: ~cdef_object (cdef-object.h:215) ==292912== by 0x541BCC3: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x541BCC3: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCC3: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb370 is 0 bytes inside a block of size 320 free'd ==292912== at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2FAE: ~cdef_class_rep (cdef-class.h:68) ==292912== by 0x53A2FAE: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:153) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x53A30E1: ~cdef_object (cdef-object.h:215) ==292912== by 0x53A30E1: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x53A30E1: ~cdef_class (cdef-class.h:258) ==292912== by 0x53A30E1: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:146) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x5398730: ~cdef_object (cdef-object.h:215) ==292912== by 0x5398730: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x5398730: ~cdef_class (cdef-class.h:258) ==292912== by 0x5398730: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53AFED9: cdef_class (cdef-class.h:235) ==292912== by 0x53AFED9: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:757) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== by 0x3F64A3: ReadDC3D(DataManager const*, MBDynParser&) (tpldrive_impl.cc:844) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x53C6F8D: ~cdef_object (cdef-object.h:215) ==292912== by 0x53C6F8D: ~cdef_object_base (cdef-object.h:363) ==292912== by 0x53C6F8D: octave::cdef_object_base::~cdef_object_base() (cdef-object.h:363) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x541BCC3: ~cdef_object (cdef-object.h:215) ==292912== by 0x541BCC3: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x541BCC3: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCC3: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb380 is 16 bytes inside a block of size 320 free'd ==292912== at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2FAE: ~cdef_class_rep (cdef-class.h:68) ==292912== by 0x53A2FAE: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:153) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x53A30E1: ~cdef_object (cdef-object.h:215) ==292912== by 0x53A30E1: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x53A30E1: ~cdef_class (cdef-class.h:258) ==292912== by 0x53A30E1: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:146) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x5398730: ~cdef_object (cdef-object.h:215) ==292912== by 0x5398730: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x5398730: ~cdef_class (cdef-class.h:258) ==292912== by 0x5398730: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53AFED9: cdef_class (cdef-class.h:235) ==292912== by 0x53AFED9: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:757) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== by 0x3F64A3: ReadDC3D(DataManager const*, MBDynParser&) (tpldrive_impl.cc:844) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53C6F91: ~cdef_object (cdef-object.h:215) ==292912== by 0x53C6F91: ~cdef_object_base (cdef-object.h:363) ==292912== by 0x53C6F91: octave::cdef_object_base::~cdef_object_base() (cdef-object.h:363) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x541BCC3: ~cdef_object (cdef-object.h:215) ==292912== by 0x541BCC3: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x541BCC3: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCC3: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb388 is 24 bytes inside a block of size 320 free'd ==292912== at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2FAE: ~cdef_class_rep (cdef-class.h:68) ==292912== by 0x53A2FAE: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:153) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x53A30E1: ~cdef_object (cdef-object.h:215) ==292912== by 0x53A30E1: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x53A30E1: ~cdef_class (cdef-class.h:258) ==292912== by 0x53A30E1: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:146) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x5398730: ~cdef_object (cdef-object.h:215) ==292912== by 0x5398730: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x5398730: ~cdef_class (cdef-class.h:258) ==292912== by 0x5398730: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53AFED9: cdef_class (cdef-class.h:235) ==292912== by 0x53AFED9: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:757) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== by 0x3F64A3: ReadDC3D(DataManager const*, MBDynParser&) (tpldrive_impl.cc:844) ==292912== ==292912== Invalid free() / delete / delete[] / realloc() ==292912== at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x541BCC3: ~cdef_object (cdef-object.h:215) ==292912== by 0x541BCC3: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x541BCC3: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCC3: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbb370 is 0 bytes inside a block of size 320 free'd ==292912== at 0x483D1CF: operator delete(void*, unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2FAE: ~cdef_class_rep (cdef-class.h:68) ==292912== by 0x53A2FAE: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:153) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x53A30E1: ~cdef_object (cdef-object.h:215) ==292912== by 0x53A30E1: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x53A30E1: ~cdef_class (cdef-class.h:258) ==292912== by 0x53A30E1: octave::cdef_class::cdef_class_rep::destroy() (cdef-class.h:146) ==292912== by 0x53BCBD5: octave::cdef_object_rep::release(octave::cdef_object const&) (cdef-object.cc:110) ==292912== by 0x5398730: ~cdef_object (cdef-object.h:215) ==292912== by 0x5398730: ~cdef_meta_object (cdef-object.h:670) ==292912== by 0x5398730: ~cdef_class (cdef-class.h:258) ==292912== by 0x5398730: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53AFED9: cdef_class (cdef-class.h:235) ==292912== by 0x53AFED9: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:757) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2B46: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:346) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== by 0x3F64A3: ReadDC3D(DataManager const*, MBDynParser&) (tpldrive_impl.cc:844) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC84E: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cc0c80 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2C25: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:352) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 4 ==292912== at 0x82EC861: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cc0c70 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2C25: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:352) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC86A: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cbedb8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53A376D: compare (basic_string.h:2856) ==292912== by 0x53A376D: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A376D: operator() (stl_function.h:386) ==292912== by 0x53A376D: _M_upper_bound (stl_tree.h:1961) ==292912== by 0x53A376D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:2007) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cbedd8 is 40 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53A3780: compare (char_traits.h:325) ==292912== by 0x53A3780: compare (basic_string.h:2859) ==292912== by 0x53A3780: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A3780: operator() (stl_function.h:386) ==292912== by 0x53A3780: _M_upper_bound (stl_tree.h:1961) ==292912== by 0x53A3780: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:2007) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cbedd0 is 32 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x4842248: bcmp (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A3790: compare (char_traits.h:325) ==292912== by 0x53A3790: compare (basic_string.h:2859) ==292912== by 0x53A3790: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A3790: operator() (stl_function.h:386) ==292912== by 0x53A3790: _M_upper_bound (stl_tree.h:1961) ==292912== by 0x53A3790: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:2007) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbede0 is 48 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 1 ==292912== at 0x484221D: bcmp (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A3790: compare (char_traits.h:325) ==292912== by 0x53A3790: compare (basic_string.h:2859) ==292912== by 0x53A3790: operator< , std::allocator > (basic_string.h:6229) ==292912== by 0x53A3790: operator() (stl_function.h:386) ==292912== by 0x53A3790: _M_upper_bound (stl_tree.h:1961) ==292912== by 0x53A3790: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:2007) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== Address 0x11cbede0 is 48 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x53A3764: _M_upper_bound (stl_tree.h:1962) ==292912== by 0x53A3764: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::equal_range(std::__cxx11::basic_string, std::allocator > const&) (stl_tree.h:2007) ==292912== by 0x539869A: erase (stl_tree.h:2534) ==292912== by 0x539869A: erase (stl_map.h:1068) ==292912== by 0x539869A: unregister_class (cdef-manager.h:77) ==292912== by 0x539869A: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cbedc0 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC2B3: std::_Rb_tree_increment(std::_Rb_tree_node_base const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986C2: operator++ (stl_tree.h:374) ==292912== by 0x53986C2: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986C2: erase (stl_tree.h:2536) ==292912== by 0x53986C2: erase (stl_map.h:1068) ==292912== by 0x53986C2: unregister_class (cdef-manager.h:77) ==292912== by 0x53986C2: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cbedc0 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC7A3: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cbedc0 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC7AC: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cc0c88 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2C25: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:352) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82EC7B9: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cb5868 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B292E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:334) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== by 0x3F64A3: ReadDC3D(DataManager const*, MBDynParser&) (tpldrive_impl.cc:844) ==292912== by 0x3D0E4A: TplDriveCaller* MBDynParser::GetTplDriveCaller() (mbpar.cc:2130) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82EC7C0: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cc0c80 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2C25: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:352) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC7C9: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cc0c78 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2C25: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:352) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82EC7DD: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cbedc0 is 16 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82EC7E1: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cc0c88 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2C25: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:352) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82EC7E5: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cb7608 is 24 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B297E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:336) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82EC7E9: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cbedb8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2BE1: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:349) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 8 ==292912== at 0x82ECA6C: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cb75f8 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B297E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:336) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 8 ==292912== at 0x82EC809: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cc0c78 is 8 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2C25: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:352) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 4 ==292912== at 0x82EC80D: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cb75f0 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B297E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:336) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid read of size 4 ==292912== at 0x82EC810: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cc0c70 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2C25: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:352) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 4 ==292912== at 0x82EC812: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cc0c70 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x53A2A2E: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1913) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B2C25: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:352) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== Invalid write of size 4 ==292912== at 0x82EC815: std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2509) ==292912== by 0x53986D0: _M_erase_aux (stl_tree.h:2525) ==292912== by 0x53986D0: erase (stl_tree.h:2536) ==292912== by 0x53986D0: erase (stl_map.h:1068) ==292912== by 0x53986D0: unregister_class (cdef-manager.h:77) ==292912== by 0x53986D0: octave::cdef_class::cdef_class_rep::meta_release() (cdef-class.cc:639) ==292912== by 0x541BCA2: meta_release (cdef-object.h:687) ==292912== by 0x541BCA2: ~octave_classdef_meta (ov-classdef.h:183) ==292912== by 0x541BCA2: octave_classdef_meta::~octave_classdef_meta() (ov-classdef.h:183) ==292912== by 0x5C0C76D: ~fcn_info_rep (fcn-info.h:77) ==292912== by 0x5C0C76D: std::_Sp_counted_ptr::_M_dispose() (shared_ptr_base.h:377) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:155) ==292912== by 0x5A2861B: _M_release (shared_ptr_base.h:148) ==292912== by 0x5A2861B: ~__shared_count (shared_ptr_base.h:730) ==292912== by 0x5A2861B: ~__shared_ptr (shared_ptr_base.h:1169) ==292912== by 0x5A2861B: ~shared_ptr (shared_ptr.h:103) ==292912== by 0x5A2861B: ~fcn_info (fcn-info.h:250) ==292912== by 0x5A2861B: ~pair (stl_pair.h:208) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (new_allocator.h:153) ==292912== by 0x5A2861B: destroy, octave::fcn_info> > (alloc_traits.h:497) ==292912== by 0x5A2861B: _M_destroy_node (stl_tree.h:642) ==292912== by 0x5A2861B: _M_drop_node (stl_tree.h:650) ==292912== by 0x5A2861B: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1915) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A285A9: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::fcn_info>, std::_Select1st, std::allocator > const, octave::fcn_info> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::fcn_info> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::fcn_info> >*) (stl_tree.h:1913) ==292912== by 0x5A25919: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25919: ~map (stl_map.h:300) ==292912== by 0x5A25919: ~symbol_table (symtab.h:69) ==292912== by 0x5A25919: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== Address 0x11cb75f0 is 0 bytes inside a block of size 80 free'd ==292912== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53A2A5D: deallocate (new_allocator.h:128) ==292912== by 0x53A2A5D: deallocate (alloc_traits.h:470) ==292912== by 0x53A2A5D: _M_put_node (stl_tree.h:584) ==292912== by 0x53A2A5D: _M_drop_node (stl_tree.h:651) ==292912== by 0x53A2A5D: std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_erase(std::_Rb_tree_node, std::allocator > const, octave::cdef_class> >*) (stl_tree.h:1915) ==292912== by 0x5A25873: ~_Rb_tree (stl_tree.h:995) ==292912== by 0x5A25873: ~map (stl_map.h:300) ==292912== by 0x5A25873: ~cdef_manager (cdef-manager.h:53) ==292912== by 0x5A25873: octave::interpreter::~interpreter() (interpreter.cc:646) ==292912== by 0x52BDEC: oct::OctaveInterface::~OctaveInterface() (module-octave.cc:938) ==292912== by 0x520064: Destroy (new_allocator.h:128) ==292912== by 0x520064: oct::OctaveBaseDCR::~OctaveBaseDCR() (module-octave.cc:4463) ==292912== by 0x543BF9: ~OctaveFunctionDCR (module-octave.cc:657) ==292912== by 0x543BF9: ~OctaveTDCR (module-octave.cc:673) ==292912== by 0x543BF9: oct::OctaveTDCR::~OctaveTDCR() (module-octave.cc:673) ==292912== by 0x3F5FFE: DestroyTplDC() (tpldrive_impl.cc:998) ==292912== by 0x3BFF7F: MBDynParser::~MBDynParser() (mbpar.cc:235) ==292912== by 0x32C3CB: mbdyn_program(mbdyn_proc_t&, int, char**, int&) [clone .cold] (mbdyn.cc:940) ==292912== by 0x3A37D6: main (mbdyn.cc:1168) ==292912== Block was alloc'd at ==292912== at 0x483BE63: operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so) ==292912== by 0x53B9024: allocate (new_allocator.h:114) ==292912== by 0x53B9024: allocate (alloc_traits.h:444) ==292912== by 0x53B9024: _M_get_node (stl_tree.h:580) ==292912== by 0x53B9024: _M_create_node, std::allocator >&&>, std::tuple<> > (stl_tree.h:630) ==292912== by 0x53B9024: std::_Rb_tree_iterator, std::allocator > const, octave::cdef_class> > std::_Rb_tree, std::allocator >, std::pair, std::allocator > const, octave::cdef_class>, std::_Select1st, std::allocator > const, octave::cdef_class> >, std::less, std::allocator > >, std::allocator, std::allocator > const, octave::cdef_class> > >::_M_emplace_hint_unique, std::allocator >&&>, std::tuple<> >(std::_Rb_tree_const_iterator, std::allocator > const, octave::cdef_class> >, std::piecewise_construct_t const&, std::tuple, std::allocator >&&>&&, std::tuple<>&&) (stl_tree.h:2455) ==292912== by 0x53B0B5A: operator[] (stl_map.h:518) ==292912== by 0x53B0B5A: register_class (cdef-manager.h:72) ==292912== by 0x53B0B5A: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::list > const&) (cdef-manager.cc:805) ==292912== by 0x53B0FE0: octave::cdef_manager::make_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:814) ==292912== by 0x53B105A: octave::cdef_manager::make_meta_class(std::__cxx11::basic_string, std::allocator > const&, octave::cdef_class const&) (cdef-manager.cc:821) ==292912== by 0x53B297E: octave::cdef_manager::cdef_manager(octave::interpreter&) (cdef-manager.cc:336) ==292912== by 0x5A24006: octave::interpreter::interpreter(octave::application*) (interpreter.cc:484) ==292912== by 0x52D4EF: oct::OctaveInterface::OctaveInterface(DataManager const*, MBDynParser*) (module-octave.cc:845) ==292912== by 0x52D7F8: oct::OctaveInterface::CreateInterface(DataManager const*, MBDynParser*) (module-octave.cc:971) ==292912== by 0x53429B: oct::OctaveBaseDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4473) ==292912== by 0x53751C: oct::OctaveFunctionDCR::Read(DataManager const*, MBDynParser&, bool) const (module-octave.cc:4519) ==292912== by 0x55934C: oct::OctaveTDCR::Read(DataManager const*, MBDynParser&) (module-octave.cc:4140) ==292912== ==292912== ==292912== HEAP SUMMARY: ==292912== in use at exit: 266,300 bytes in 5,434 blocks ==292912== total heap usage: 448,500 allocs, 443,071 frees, 53,034,330 bytes allocated ==292912== ==292912== LEAK SUMMARY: ==292912== definitely lost: 7,722 bytes in 914 blocks ==292912== indirectly lost: 174,860 bytes in 3,489 blocks ==292912== possibly lost: 594 bytes in 9 blocks ==292912== still reachable: 83,124 bytes in 1,022 blocks ==292912== of which reachable via heuristic: ==292912== newarray : 424 bytes in 1 blocks ==292912== suppressed: 0 bytes in 0 blocks ==292912== Rerun with --leak-check=full to see details of leaked memory ==292912== ==292912== For lists of detected and suppressed errors, rerun with: -s ==292912== ERROR SUMMARY: 275 errors from 92 contexts (suppressed: 0 from 0)