Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rviz crashes when run from rqt plugin #553

Closed
ablasdel opened this issue Nov 21, 2012 · 3 comments
Closed

Rviz crashes when run from rqt plugin #553

ablasdel opened this issue Nov 21, 2012 · 3 comments

Comments

@ablasdel
Copy link

Debug:   class_loader::class_loader_core: Attempting to load library /u/ablasdel/groovy_sandbox/rqt/rqt_rviz/lib/librqt_rviz.so...

Debug:   class_loader::class_loader_core: Registering plugin factory for class = rqt_rviz::RViz, ClassLoader* = 0x2725cc0 and library name /u/ablasdel/groovy_sandbox/rqt/rqt_rviz/lib/librqt_rviz.so.

Debug:   class_loader::class_loader_core: Registration of rqt_rviz::RViz complete.

Debug:   class_loader::MultiLibraryClassLoader: Attempting to create instance of class type rqt_rviz::RViz.
python: /build/buildd/ogre-1.7.4/OgreMain/include/OgreSingleton.h:80: Ogre::Singleton<T>::Singleton() [with T = Ogre::LogManager]: Assertion `!ms_Singleton' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff68f6425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff68f6425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff68f9b8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff68ef0ee in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007ffff68ef192 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x00007fff9a8cf9e9 in Ogre::LogManager::LogManager() () from /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.7.4
#5  0x00007fffc4198850 in rviz::OgreLogging::configureLogging() () from /opt/ros/groovy/lib/librviz.so
#6  0x00007fffc41a1a4e in rviz::RenderSystem::RenderSystem() () from /opt/ros/groovy/lib/librviz.so
#7  0x00007fffc41a1c65 in rviz::RenderSystem::get() () from /opt/ros/groovy/lib/librviz.so
#8  0x00007fffc419f5d1 in rviz::QtOgreRenderWindow::QtOgreRenderWindow(QWidget*) () from /opt/ros/groovy/lib/librviz.so
#9  0x00007fffc41bafe2 in rviz::RenderPanel::RenderPanel(QWidget*) () from /opt/ros/groovy/lib/librviz.so
#10 0x00007fffc41f2d51 in rviz::VisualizationFrame::initialize(QString const&) () from /opt/ros/groovy/lib/librviz.so
#11 0x00007fffc447e432 in rqt_rviz::RViz::initPlugin (this=0x3455140, context=...) at /u/ablasdel/groovy_sandbox/rqt/rqt_rviz/src/rqt_rviz/rviz.cpp:81
#12 0x00007fffd12651c8 in qt_gui_cpp::RosPluginlibPluginProvider<rqt_gui_cpp::Plugin>::init_plugin (this=0x35097a0, plugin_context=0xbc2360, 
    plugin=0x3455140) at /opt/ros/groovy/include/qt_gui_cpp/ros_pluginlib_plugin_provider.h:240
#13 0x00007fffd1261ce7 in rqt_gui_cpp::NodeletPluginProvider::init_plugin (this=0x35097a0, plugin_id=..., plugin_context=0xbc2360, plugin=0x3455140)
    at /u/ablasdel/groovy_sandbox/rqt/rqt_gui_cpp/src/rqt_gui_cpp/nodelet_plugin_provider.cpp:119
#14 0x00007fffd127209f in qt_gui_cpp::RosPluginlibPluginProvider<rqt_gui_cpp::Plugin>::load_explicit_type (this=0x35097a0, plugin_id=..., 
    plugin_context=0xbc2360) at /opt/ros/groovy/include/qt_gui_cpp/ros_pluginlib_plugin_provider.h:201
#15 0x00007fffd1271f17 in qt_gui_cpp::RosPluginlibPluginProvider<rqt_gui_cpp::Plugin>::load_plugin (this=0x35097a0, plugin_id=..., 
    plugin_context=0xbc2360) at /opt/ros/groovy/include/qt_gui_cpp/ros_pluginlib_plugin_provider.h:148
#16 0x00007fffd88ae715 in qt_gui_cpp::CompositePluginProvider::load_plugin(QString const&, qt_gui_cpp::PluginContext*) ()
   from /opt/ros/groovy/lib/libqt_gui_cpp.so
#17 0x00007fffd127a45f in rqt_gui_cpp::RosCppPluginProvider::load_plugin (this=0x1fd8650, plugin_id=..., plugin_context=0xbc2360)
    at /u/ablasdel/groovy_sandbox/rqt/rqt_gui_cpp/src/rqt_gui_cpp/roscpp_plugin_provider.cpp:77
#18 0x00007fffd88ae715 in qt_gui_cpp::CompositePluginProvider::load_plugin(QString const&, qt_gui_cpp::PluginContext*) ()
   from /opt/ros/groovy/lib/libqt_gui_cpp.so
#19 0x00007fffd8ada03b in ?? () from /opt/ros/groovy/lib/python2.7/dist-packages/qt_gui_cpp/libqt_gui_cpp_sip.so
#20 0x00007fffd88af5cb in qt_gui_cpp::PluginBridge::load_plugin(qt_gui_cpp::PluginProvider*, QString const&, qt_gui_cpp::PluginContext*) ()
   from /opt/ros/groovy/lib/libqt_gui_cpp.so
#21 0x00007fffd8adba22 in ?? () from /opt/ros/groovy/lib/python2.7/dist-packages/qt_gui_cpp/libqt_gui_cpp_sip.so
#22 0x0000000000497ea4 in PyEval_EvalFrameEx ()
#23 0x0000000000498602 in PyEval_EvalFrameEx ()
#24 0x0000000000498602 in PyEval_EvalFrameEx ()
#25 0x0000000000498602 in PyEval_EvalFrameEx ()
#26 0x0000000000498602 in PyEval_EvalFrameEx ()
#27 0x0000000000498602 in PyEval_EvalFrameEx ()
#28 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#29 0x00000000004983b8 in PyEval_EvalFrameEx ()
#30 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#31 0x00000000004983b8 in PyEval_EvalFrameEx ()
#32 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#33 0x00000000004983b8 in PyEval_EvalFrameEx ()
#34 0x000000000049f1c0 in PyEval_EvalCodeEx ()
#35 0x00000000004a8960 in ?? ()
#36 0x00000000004e9f36 in PyObject_Call ()
#37 0x00000000004ec11a in ?? ()
#38 0x00000000004e9f36 in PyObject_Call ()
#39 0x00000000004ea396 in PyEval_CallObjectWithKeywords ()
#40 0x00007ffff3de3e00 in ?? () from /usr/lib/python2.7/dist-packages/sip.so
#41 0x00007ffff3b08d46 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#42 0x00007ffff3b0cc29 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#43 0x00007ffff3b0ce65 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#44 0x00007ffff361a489 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#45 0x00007ffff3b0c9df in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#46 0x00007ffff3b0ce65 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#47 0x00007ffff361a489 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#48 0x00007ffff3621b75 in QSignalMapper::mapped(QString const&) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#49 0x00007ffff3622127 in QSignalMapper::map(QObject*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#50 0x00007ffff361a281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#51 0x00007ffff1cdf132 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#52 0x00007ffff1cdf31f in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#53 0x00007ffff2131119 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#54 0x00007ffff2137272 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#55 0x00007ffff1d36144 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#56 0x00007ffff213880b in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#57 0x00007ffff1ce5894 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#58 0x00007ffff1ceb0bf in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#59 0x00007ffff2cf5cc6 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
#60 0x00007ffff3605e9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#61 0x00007ffff1ce6862 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#62 0x00007ffff1d662c1 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#63 0x00007ffff1d64bae in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#64 0x00007ffff1d8e0d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#65 0x00007ffff5056d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007ffff50570a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007ffff5057164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007ffff36353bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#69 0x00007ffff1d8dd5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#70 0x00007ffff3604c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#71 0x00007ffff3604ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
@mjcarroll
Copy link
Contributor

Has there been any update on this?

The rviz plugin seems to still fail on Groovy debs and source on Ubuntu 12.04 amd64.

Related answers.ros:

http://answers.ros.org/question/51674/rqt-then-choosing-rviz-plugin-core-dump

@hershwg
Copy link
Member

hershwg commented Jan 10, 2013

Sorry, I haven't gotten started on this yet. That Ogre::LogManager has caused crashes in the past.

If anyone can look into it before I get a chance, the issue is that Ogre::LogManager asserts that it is a singleton when apparently it is not.

@hershwg
Copy link
Member

hershwg commented Jan 10, 2013

Fixed in groovy-devel. Will release soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants