Skip to content

Ignition Gazebo crashes on start (works in humble but not galactic) #104

Description

@BenjaminNavarro

I just created a new environement and installed ros-galactic-ros-ign-gazebo.

The installation went fine but running ign gazebo generate some errors in the console and the application crashes a second later.

> ign gazebo             
Error while loading the library [/home/benjamin/.conda/envs/ros2_env/lib/ign-physics-4/engine-plugins/libignition-physics-dartsim-plugin.so]: libode.so.0.16.2: cannot open shared object file: No such file or directory
[Err] [Physics.cc:600] Unable to load the [/home/benjamin/.conda/envs/ros2_env/lib/ign-physics-4/engine-plugins/libignition-physics-dartsim-plugin.so] library.
[GUI] [Err] [GuiRunner.cc:158] Failed to get plugin [plugin72139]
[GUI] [Err] [GuiRunner.cc:158] Failed to get plugin [plugin98835]
[GUI] [Err] [GuiRunner.cc:158] Failed to get plugin [plugin63996]
[GUI] [Err] [GuiRunner.cc:158] Failed to get plugin [plugin59288]
[GUI] [Err] [GuiRunner.cc:158] Failed to get plugin [plugin8327]
[GUI] [Err] [GuiRunner.cc:158] Failed to get plugin [plugin20386]
[GUI] [Err] [GuiRunner.cc:158] Failed to get plugin [plugin303]
[GUI] [Err] [GuiRunner.cc:158] Failed to get plugin [plugin85117]
[GUI] [Err] [GuiRunner.cc:158] Failed to get plugin [plugin78014]
[GUI] [Err] [RenderEngineManager.cc:461] Failed to load plugin [ogre2] : couldn't find shared library.
[GUI] [Err] [RenderUtil.cc:1678] Engine [ogre2] is not supported. Loading OGRE2 instead.
[GUI] [Err] [RenderEngineManager.cc:461] Failed to load plugin [ogre2] : couldn't find shared library.
Stack trace (most recent call last) in thread 255529:
#14   Object "", at 0xffffffffffffffff, in 
#13   Source "../sysdeps/unix/sysv/linux/x86_64/clone.S", line 100, in __clone [0x7f216cd11873]
#12   Source "/usr/src/debug/glibc/nptl/pthread_create.c", line 442, in start_thread [0x7f216cc8c54c]
#11   Object "/home/benjamin/.conda/envs/ros2_env/lib/libQt5Core.so.5.12.9", at 0x7f2167aa190e, in 
#10   Object "/home/benjamin/.conda/envs/ros2_env/lib/libQt5Core.so.5.12.9", at 0x7f2167aa094c, in QThread::exec()
#9    Object "/home/benjamin/.conda/envs/ros2_env/lib/libQt5Core.so.5.12.9", at 0x7f2167ba899a, in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
#8    Object "/home/benjamin/.conda/envs/ros2_env/lib/libQt5Core.so.5.12.9", at 0x7f2167bd8bc0, in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
#7    Object "/home/benjamin/.conda/envs/ros2_env/lib/libQt5Core.so.5.12.9", at 0x7f2167bac1bf, in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
#6    Object "/home/benjamin/.conda/envs/ros2_env/lib/libQt5Core.so.5.12.9", at 0x7f2167babf87, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#5    Object "/home/benjamin/.conda/envs/ros2_env/lib/libQt5Widgets.so.5.12.9", at 0x7f216757a34c, in QApplication::notify(QObject*, QEvent*)
#4    Object "/home/benjamin/.conda/envs/ros2_env/lib/libQt5Widgets.so.5.12.9", at 0x7f2167574821, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#3    Object "/home/benjamin/.conda/envs/ros2_env/lib/libQt5Core.so.5.12.9", at 0x7f2167bc0f15, in QObject::event(QEvent*)
#2    Object "/home/benjamin/.conda/envs/ros2_env/lib/ign-gazebo-5/plugins/gui/libGzScene3D.so", at 0x7f214c4dd150, in ignition::gazebo::v5::RenderThread::RenderNext(ignition::gazebo::v5::RenderSync*)
#1    Object "/home/benjamin/.conda/envs/ros2_env/lib/ign-gazebo-5/plugins/gui/libGzScene3D.so", at 0x7f214c4d986f, in ignition::gazebo::v5::IgnRenderer::Initialize()
#0    Object "/home/benjamin/.conda/envs/ros2_env/lib/libignition-gazebo5-rendering.so.5.1.0", at 0x7f214c407aff, in ignition::gazebo::v5::RenderUtil::Init()
Segmentation fault (Address not mapped to object [(nil)])

It seems that it failed to locate the ODE and Ogre 2 shared libs. I don't know if they are not installed or if its just the LD_LIBRARY_PATH that is not set correctly in order for the dynamic linker to find them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions