Ask Your Question

libgazebo segmentation fault in std::_Rb_tree*

asked 2011-10-21 19:33:36 -0500

Spym gravatar image

updated 2013-05-16 08:01:26 -0500


I've installed (Gazebo 0.10) from sources on Kubuntu 11.10 x64, and got a strange segfault on static objects initialization (before main()).

Used libraries:
GDB backtrace:
ltrace output:

The app fails here (gazebo-0.10.0/libgazebo/, static method):

using namespace gazebo;

std::map<std::string, IfaceFactoryFn> IfaceFactory::ifaces;

// Register a iface class.  Use by dynamically loaded modules
void IfaceFactory::RegisterIface(std::string classname, IfaceFactoryFn factoryfn)
  ifaces[classname] = factoryfn; // segfault in std::_Rb_tree_decrement(..)

Arguments are okay, stack is not overflowed.

Also look at the (valgrind output): "Address 0x8 is not stack'd, malloc'd or (recently) free'd" - looks like invalid pointer, but arguments passed into the std::map are correct.

Used dependencies: bullet-2.79, fltk-1.1.10, ode-0.11.1, openal-soft-1.13, player-3.0.2, ogre-1.7.3;

What is my problem? Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-10-28 01:32:07 -0500

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-10-21 19:33:36 -0500

Seen: 677 times

Last updated: May 16 '13