Advertisement
Guest User

valgrind gazebo

a guest
Oct 21st, 2011
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.67 KB | None | 0 0
  1. valgrind gazebo
  2. ==7854== Memcheck, a memory error detector
  3. ==7854== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
  4. ==7854== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
  5. ==7854== Command: gazebo
  6. ==7854==
  7. IfaceFactory::RegisterIface("simulation", 6ebb1e0);
  8. IfaceFactory::ifaces size = 0
  9. ==7854== Invalid read of size 8
  10. ==7854== at 0x644384A: std::_Rb_tree_decrement(std::_Rb_tree_node_base*) (tree.cc:91)
  11. ==7854== by 0x6EC0B76: std::_Rb_tree_iterator<std::pair<std::string const, gazebo::Iface* (*)()> >::operator--() (stl_tree.h:203)
  12. ==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)
  13. ==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)
  14. ==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)
  15. ==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)
  16. ==7854== by 0x6EBF689: gazebo::IfaceFactory::RegisterIface(std::string, gazebo::Iface* (*)()) (IfaceFactory.cc:47)
  17. ==7854== by 0x6EBB25B: RegisterSimulationIface() (Iface.cc:48)
  18. ==7854== by 0x6EBD8A9: LibgazeboPluginRegister::LibgazeboPluginRegister(void (*)()) (IfaceFactory.hh:38)
  19. ==7854== by 0x6EBD631: __static_initialization_and_destruction_0(int, int) (Iface.cc:48)
  20. ==7854== by 0x6EBD7BD: _GLOBAL__sub_I_Iface.cc (Iface.cc:437)
  21. ==7854== by 0x400EB25: call_init.part.0 (dl-init.c:85)
  22. ==7854== Address 0x8 is not stack'd, malloc'd or (recently) free'd
  23. ==7854==
  24. ==7854==
  25. ==7854== Process terminating with default action of signal 11 (SIGSEGV)
  26. ==7854== Access not within mapped region at address 0x8
  27. ==7854== at 0x644384A: std::_Rb_tree_decrement(std::_Rb_tree_node_base*) (tree.cc:91)
  28. ==7854== by 0x6EC0B76: std::_Rb_tree_iterator<std::pair<std::string const, gazebo::Iface* (*)()> >::operator--() (stl_tree.h:203)
  29. ==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)
  30. ==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)
  31. ==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)
  32. ==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)
  33. ==7854== by 0x6EBF689: gazebo::IfaceFactory::RegisterIface(std::string, gazebo::Iface* (*)()) (IfaceFactory.cc:47)
  34. ==7854== by 0x6EBB25B: RegisterSimulationIface() (Iface.cc:48)
  35. ==7854== by 0x6EBD8A9: LibgazeboPluginRegister::LibgazeboPluginRegister(void (*)()) (IfaceFactory.hh:38)
  36. ==7854== by 0x6EBD631: __static_initialization_and_destruction_0(int, int) (Iface.cc:48)
  37. ==7854== by 0x6EBD7BD: _GLOBAL__sub_I_Iface.cc (Iface.cc:437)
  38. ==7854== by 0x400EB25: call_init.part.0 (dl-init.c:85)
  39. ==7854== If you believe this happened as a result of a stack
  40. ==7854== overflow in your program's main thread (unlikely but
  41. ==7854== possible), you can try to increase the size of the
  42. ==7854== main thread stack using the --main-stacksize= flag.
  43. ==7854== The main thread stack size used in this run was 8388608.
  44. ==7854==
  45. ==7854== HEAP SUMMARY:
  46. ==7854== in use at exit: 342,726 bytes in 513 blocks
  47. ==7854== total heap usage: 518 allocs, 5 frees, 345,039 bytes allocated
  48. ==7854==
  49. ==7854== LEAK SUMMARY:
  50. ==7854== definitely lost: 0 bytes in 0 blocks
  51. ==7854== indirectly lost: 0 bytes in 0 blocks
  52. ==7854== possibly lost: 249,052 bytes in 214 blocks
  53. ==7854== still reachable: 93,674 bytes in 299 blocks
  54. ==7854== suppressed: 0 bytes in 0 blocks
  55. ==7854== Rerun with --leak-check=full to see details of leaked memory
  56. ==7854==
  57. ==7854== For counts of detected and suppressed errors, rerun with: -v
  58. ==7854== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 4 from 4)
  59. Segmentation fault
  60.  
  61.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement