ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The plotting plugin in rqt_bag did not lock the bag file when it was reading it; this lead to rare cases where multiple threads would try to read from the bag at the same time, with both threads moving the file point around and probably corrupting one another.

This bug seems significantly rarer on machines with very high disk bandwidth, so I see the error far less frequently than you report because my laptop has a fast processor and solid state drive.

I have a proposed fix in the bag_plot_lock branch of my forl of rqt_common_plugins; please give this a try and let me know if it fixes the issue for you.

The plotting plugin in rqt_bag did not lock the bag file when it was reading it; this lead to rare cases where multiple threads would try to read from the bag at the same time, with both threads moving the file point around and probably corrupting one another.

This bug seems significantly rarer on machines with very high disk bandwidth, so I see the error far less frequently than you report because my laptop has a fast processor and solid state drive.

I have a proposed fix in the bag_plot_lock branch of my forl fork of rqt_common_plugins; please give this a try and let me know if it fixes the issue for you.