rqt crashes while expanding a topic

asked 2018-09-12 03:53:18 -0500

Ileana gravatar image

updated 2018-09-12 03:57:02 -0500

gvdhoorn gravatar image

Hello!

I have a rqt crash while trying to expand a topic which has been previously expanded and the player was stopped between expanding the topic first and second time. Please find below the scenario.

For some objective reasons, the paths to the project files have been replaced with "...". If more information is needed, I will provide it.

Thanks a lot for helping.

Environment:

  • OS: Ubuntu 16.04.5 LTS on an x86 with kernel 4.15.0-33-generic
  • ROS distribution: kinetic
  • Qt 5.5.1
  • gcc version 7.3.0
  • ROS environment variables:

    • ROS_ROOT=/opt/ros/kinetic/share/ros
    • ROS_PACKAGE_PATH=/home/... (the path of project folder)
    • ROS_MASTER_URI=http://localhost:11311
    • ROS_VERSION=1
    • ROSLISP_PACKAGE_DIRECTORIES=/home/.../devel_dev_debug/share/common-lisp
    • ROS_DISTRO=kinetic
    • ROS_LANG_DISABLE=genlisp;geneus;gennodejs
    • ROS_ETC_DIR=/opt/ros/kinetic/etc/ros

Steps to reproduce:

  • play a bag using the command: rosbag play my_rosbag.bag -l
  • open rqt
  • check and expand a single topic with a complex structure (containing fields of objects with array of children of dynamically length). Expand also these fields.
  • stop playing the bag
  • the topics of the bag are still displayed in rqt, but no value is displayed (not monitored)
  • play again the same bag with the same command as in point 1.
  • find and check the same topic you checked in point 3.
  • expand the selected topic
  • rqt crashes with the following error message:

    Traceback (most recent call last):
      File "/home/.../topic_widget.py", line 193, in refresh_topics
        self._update_topics_data()
      File "/home/...t/topic_widget.py", line 216, in _update_topics_data
        self.update_value(topic_info._topic_name, topic_info.last_message)
      File "/home/.../topic_widget.py", line 232, in update_value
        self.update_value(topic_name + '/' + slot_name, getattr(message, slot_name))
      File "/home/.../topic_widget.py", line 238, in update_value
        self.update_value(topic_name + '[%d]' % index, slot)
      File "/home/.../topic_widget.py", line 232, in update_value
        self.update_value(topic_name + '/' + slot_name, getattr(message, slot_name))
      File "/home/.../topic_widget.py", line 249, in update_value
        self._tree_items[topic_name].setText(self._column_index['value'], repr(message))
    RuntimeError: wrapped C/C++ object of type QTreeWidgetItem has been deleted
    
edit retag flag offensive close merge delete

Comments

Just to make sure (because of #q303093 and others): you don't have any outstanding updates to ROS pkgs?

gvdhoorn gravatar imagegvdhoorn ( 2018-09-12 03:58:17 -0500 )edit