jsk-ros-pkg / jsk_recognition

JSK perception ROS packages
https://github.com/jsk-ros-pkg/jsk_recognition
275 stars 190 forks source link

Publishing same object using SelectPointCloudPublishAction twice crashes rviz #69

Closed wesleypchan closed 10 years ago

wesleypchan commented 10 years ago

Steps to reproduce:

  1. Start roscore
  2. roslaunch jsk_pcl_ros tracking.launch
  3. rosrun rviz rviz
  4. select and object in rviz
  5. click SelectPointCloudPublish Action in the SelectPointCloudPublishAction plugin.
  6. re-select the same object in rviz
  7. click SelectPointCloudPublish Action in the SelectPointCloudPublishAction plugin again. -> rviz crashes.

Reproducibility 5/5 times. ROS version: hydro Camera: Xtion PRO Live

Not reproducible if jsk_pcl_ros tracker is not running.

============== output from terminal running rviz ============== wesleyc@equuleus:~/ros/hydro/src/jsk-ros-pkg/jsk_recognition/jsk_pcl_ros/include/jsk_pcl_ros$ rosrun rviz rviz [ INFO] [1398833987.803890825]: rviz version 1.10.14 [ INFO] [1398833987.803956189]: compiled against OGRE version 1.7.4 (Cthugha) [ERROR] [1398833987.838891948]: Skipping XML Document "/home/wesleyc/ros/hydro/src/bosch-ros-pkg/stacks/bosch_shared_autonomy/bosch_object_segmentation_gui/lib/rviz_plugin.yaml" which had no Root Element. This likely means the XML is malformed or missing. [ INFO] [1398833988.183860078]: Stereo is NOT SUPPORTED [ INFO] [1398833988.183949720]: OpenGl version: 4.4 (GLSL 4.4). [ERROR] [1398833988.323733688]: Skipping XML Document "/home/wesleyc/ros/hydro/src/bosch-ros-pkg/stacks/bosch_shared_autonomy/bosch_object_segmentation_gui/lib/rviz_plugin.yaml" which had no Root Element. This likely means the XML is malformed or missing. [ERROR] [1398833988.356534370]: Skipping XML Document "/home/wesleyc/ros/hydro/src/bosch-ros-pkg/stacks/bosch_shared_autonomy/bosch_object_segmentation_gui/lib/rviz_plugin.yaml" which had no Root Element. This likely means the XML is malformed or missing. [ERROR] [1398833988.449641450]: Skipping XML Document "/home/wesleyc/ros/hydro/src/bosch-ros-pkg/stacks/bosch_shared_autonomy/bosch_object_segmentation_gui/lib/rviz_plugin.yaml" which had no Root Element. This likely means the XML is malformed or missing. [ERROR] [1398833989.072018867]: Skipping XML Document "/home/wesleyc/ros/hydro/src/bosch-ros-pkg/stacks/bosch_shared_autonomy/bosch_object_segmentation_gui/lib/rviz_plugin.yaml" which had no Root Element. This likely means the XML is malformed or missing. [ERROR] [1398833989.595340562]: Skipping XML Document "/home/wesleyc/ros/hydro/src/bosch-ros-pkg/stacks/bosch_shared_autonomy/bosch_object_segmentation_gui/lib/rviz_plugin.yaml" which had no Root Element. This likely means the XML is malformed or missing. [ INFO] [1398834041.818093321]: num > 493! [ INFO] [1398834043.394398092]: num > 493! [ INFO] [1398834044.216829427]: num > 493! [ INFO] [1398834048.470367020]: num > 406! Segmentation fault (core dumped)

================== output from terminal running tracker.launch =============== [ INFO] [1398834270.537679670]: Tracking.. 46312 [ INFO] [1398834270.579608361]: Tracking.. 46206 [ INFO] [1398834270.629592114]: Tracking.. 46334 [ INFO] [1398834270.668419490]: Tracking.. 46163 [ INFO] [1398834270.716657668]: Tracking.. 46382 [ INFO] [1398834270.764416083]: Tracking.. 46136 [ INFO] [1398834270.807682917]: Tracking.. 46280 [ INFO] [1398834270.851970664]: Tracking.. 46319 [ INFO] [1398834270.891480243]: Tracking.. 45983 [ INFO] [1398834270.942302903]: Tracking.. 46107 [ INFO] [1398834270.992710290]: Tracking.. 46175 [ INFO] [1398834271.041415621]: Tracking.. 45818 [ INFO] [1398834271.090642854]: Tracking.. 46124 [ INFO] [1398834271.176652822]: Tracking.. 46168

k-okada commented 10 years ago

fixed ? @wesleypchan

garaemon commented 10 years ago

ping @wesleypchan

wesleypchan commented 10 years ago

Sorry for the delayed response. I need to fix my email setting to get the notifications properly.

Just tried git pulling and testing again but the problem is still there.

aginika commented 10 years ago

Is this problem solved?