personalrobotics / or_rviz

OpenRAVE viewer plugin that publishes the environment to RViz as InteractiveMarkers.
BSD 2-Clause "Simplified" License
5 stars 5 forks source link

segmentation fault with test.py #40

Closed ghanimmukhtar closed 7 years ago

ghanimmukhtar commented 7 years ago

Hi There,

So I installed the package in my workspace, and when I try the example rosrun or_rviz test.py it crashes, here is the terminal output:

2017-01-19 15:55:46,782 openrave [WARN] [kinbody.cpp:3335 KinBody::_ComputeInternalInformation] whiteboard link index 0 has no name
2017-01-19 15:55:46,783 openrave [WARN] [kinbody.cpp:3335 KinBody::_ComputeInternalInformation] whiteboard link index 1 has no name
WARNING: QApplication was not created in the main() thread.
[ INFO] [1484837747.860164192]: Stereo is NOT SUPPORTED
2017-01-19 15:55:47,860 ros.rviz [INFO] [/tmp/binarydeb/ros-indigo-rviz-1.11.15/src/rviz/ogre_helpers/render_system.cpp:431 RenderWindow* rviz::RenderSystem::makeRenderWindow] Stereo is NOT SUPPORTED
[ INFO] [1484837747.860302012]: OpenGl version: 4.5 (GLSL 4.5).
2017-01-19 15:55:47,860 ros.rviz [INFO] [/tmp/binarydeb/ros-indigo-rviz-1.11.15/src/rviz/ogre_helpers/render_system.cpp:209 RenderSystem::detectGlVersion] OpenGl version: 4.5 (GLSL 4.5).
Segmentation fault (core dumped)
ghanim@ghanim-HP-ZBook-15-G2:~/ws_moveit$ echo $CPATH 
/home/ghanim/ws_moveit/devel/include:/opt/ros/indigo/include
ghanim@ghanim-HP-ZBook-15-G2:~/ws_moveit$ echo $PATH 
/home/ghanim/ws_moveit/devel/bin:/opt/ros/indigo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
ghanim@ghanim-HP-ZBook-15-G2:~/ws_moveit$ echo $CMAKE_PREFIX_PATH 
/home/ghanim/ws_moveit/devel:/opt/ros/indigo

My system is ubuntu 14.04 trusty, and my ros is indigo, and the interactive_markers is installed, any idea what could cause the error above?

ClintLiddick commented 7 years ago

Hi @ghanimmukhtar, I cannot recreate your issue. What version of OpenRAVE are you using? We maintain our own folk of OpenRAVE (pr-openrave) that can be installed from the package repository here. Our software is only tested against our own version of OpenRAVE.

ghanimmukhtar commented 7 years ago

Hi @ClintLiddick you are totally right, I removed all my previous "libopenrave*" and installed the one you indicated then the example worked. Thanks

ClintLiddick commented 7 years ago

Great! Have fun!