Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- valgrind gazebo
- ==7854== Memcheck, a memory error detector
- ==7854== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
- ==7854== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
- ==7854== Command: gazebo
- ==7854==
- IfaceFactory::RegisterIface("simulation", 6ebb1e0);
- IfaceFactory::ifaces size = 0
- ==7854== Invalid read of size 8
- ==7854== at 0x644384A: std::_Rb_tree_decrement(std::_Rb_tree_node_base*) (tree.cc:91)
- ==7854== by 0x6EC0B76: std::_Rb_tree_iterator<std::pair<std::string const, gazebo::Iface* (*)()> >::operator--() (stl_tree.h:203)
- ==7854== by 0x6EC07ED: std::_Rb_tree<std::string, std::pair<std::string const, gazebo::Iface* (*)()>, std::_Select1st<std::pair<std::string const, gazebo::Iface* (*)()> >, std::less<std::string>, std::allocator<std::pair<std::string const, gazebo::Iface* (*)()> > >::_M_insert_unique(std::pair<std::string const, gazebo::Iface* (*)()> const&) (stl_tree.h:1277)
- ==7854== by 0x6EC008B: std::_Rb_tree<std::string, std::pair<std::string const, gazebo::Iface* (*)()>, std::_Select1st<std::pair<std::string const, gazebo::Iface* (*)()> >, std::less<std::string>, std::allocator<std::pair<std::string const, gazebo::Iface* (*)()> > >::_M_insert_unique_(std::_Rb_tree_const_iterator<std::pair<std::string const, gazebo::Iface* (*)()> >, std::pair<std::string const, gazebo::Iface* (*)()> const&) (stl_tree.h:1330)
- ==7854== by 0x6EBFD25: std::map<std::string, gazebo::Iface* (*)(), std::less<std::string>, std::allocator<std::pair<std::string const, gazebo::Iface* (*)()> > >::insert(std::_Rb_tree_iterator<std::pair<std::string const, gazebo::Iface* (*)()> >, std::pair<std::string const, gazebo::Iface* (*)()> const&) (stl_map.h:571)
- ==7854== by 0x6EBFAC3: std::map<std::string, gazebo::Iface* (*)(), std::less<std::string>, std::allocator<std::pair<std::string const, gazebo::Iface* (*)()> > >::operator[](std::string const&) (stl_map.h:453)
- ==7854== by 0x6EBF689: gazebo::IfaceFactory::RegisterIface(std::string, gazebo::Iface* (*)()) (IfaceFactory.cc:47)
- ==7854== by 0x6EBB25B: RegisterSimulationIface() (Iface.cc:48)
- ==7854== by 0x6EBD8A9: LibgazeboPluginRegister::LibgazeboPluginRegister(void (*)()) (IfaceFactory.hh:38)
- ==7854== by 0x6EBD631: __static_initialization_and_destruction_0(int, int) (Iface.cc:48)
- ==7854== by 0x6EBD7BD: _GLOBAL__sub_I_Iface.cc (Iface.cc:437)
- ==7854== by 0x400EB25: call_init.part.0 (dl-init.c:85)
- ==7854== Address 0x8 is not stack'd, malloc'd or (recently) free'd
- ==7854==
- ==7854==
- ==7854== Process terminating with default action of signal 11 (SIGSEGV)
- ==7854== Access not within mapped region at address 0x8
- ==7854== at 0x644384A: std::_Rb_tree_decrement(std::_Rb_tree_node_base*) (tree.cc:91)
- ==7854== by 0x6EC0B76: std::_Rb_tree_iterator<std::pair<std::string const, gazebo::Iface* (*)()> >::operator--() (stl_tree.h:203)
- ==7854== by 0x6EC07ED: std::_Rb_tree<std::string, std::pair<std::string const, gazebo::Iface* (*)()>, std::_Select1st<std::pair<std::string const, gazebo::Iface* (*)()> >, std::less<std::string>, std::allocator<std::pair<std::string const, gazebo::Iface* (*)()> > >::_M_insert_unique(std::pair<std::string const, gazebo::Iface* (*)()> const&) (stl_tree.h:1277)
- ==7854== by 0x6EC008B: std::_Rb_tree<std::string, std::pair<std::string const, gazebo::Iface* (*)()>, std::_Select1st<std::pair<std::string const, gazebo::Iface* (*)()> >, std::less<std::string>, std::allocator<std::pair<std::string const, gazebo::Iface* (*)()> > >::_M_insert_unique_(std::_Rb_tree_const_iterator<std::pair<std::string const, gazebo::Iface* (*)()> >, std::pair<std::string const, gazebo::Iface* (*)()> const&) (stl_tree.h:1330)
- ==7854== by 0x6EBFD25: std::map<std::string, gazebo::Iface* (*)(), std::less<std::string>, std::allocator<std::pair<std::string const, gazebo::Iface* (*)()> > >::insert(std::_Rb_tree_iterator<std::pair<std::string const, gazebo::Iface* (*)()> >, std::pair<std::string const, gazebo::Iface* (*)()> const&) (stl_map.h:571)
- ==7854== by 0x6EBFAC3: std::map<std::string, gazebo::Iface* (*)(), std::less<std::string>, std::allocator<std::pair<std::string const, gazebo::Iface* (*)()> > >::operator[](std::string const&) (stl_map.h:453)
- ==7854== by 0x6EBF689: gazebo::IfaceFactory::RegisterIface(std::string, gazebo::Iface* (*)()) (IfaceFactory.cc:47)
- ==7854== by 0x6EBB25B: RegisterSimulationIface() (Iface.cc:48)
- ==7854== by 0x6EBD8A9: LibgazeboPluginRegister::LibgazeboPluginRegister(void (*)()) (IfaceFactory.hh:38)
- ==7854== by 0x6EBD631: __static_initialization_and_destruction_0(int, int) (Iface.cc:48)
- ==7854== by 0x6EBD7BD: _GLOBAL__sub_I_Iface.cc (Iface.cc:437)
- ==7854== by 0x400EB25: call_init.part.0 (dl-init.c:85)
- ==7854== If you believe this happened as a result of a stack
- ==7854== overflow in your program's main thread (unlikely but
- ==7854== possible), you can try to increase the size of the
- ==7854== main thread stack using the --main-stacksize= flag.
- ==7854== The main thread stack size used in this run was 8388608.
- ==7854==
- ==7854== HEAP SUMMARY:
- ==7854== in use at exit: 342,726 bytes in 513 blocks
- ==7854== total heap usage: 518 allocs, 5 frees, 345,039 bytes allocated
- ==7854==
- ==7854== LEAK SUMMARY:
- ==7854== definitely lost: 0 bytes in 0 blocks
- ==7854== indirectly lost: 0 bytes in 0 blocks
- ==7854== possibly lost: 249,052 bytes in 214 blocks
- ==7854== still reachable: 93,674 bytes in 299 blocks
- ==7854== suppressed: 0 bytes in 0 blocks
- ==7854== Rerun with --leak-check=full to see details of leaked memory
- ==7854==
- ==7854== For counts of detected and suppressed errors, rerun with: -v
- ==7854== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 4 from 4)
- Segmentation fault
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement