ros2 / rmw_iceoryx

rmw implementation for iceoryx
Apache License 2.0
144 stars 27 forks source link

`ros2 bag record -a` causes segfault. #51

Open ZhenshengLee opened 3 years ago

ZhenshengLee commented 3 years ago

Env

Observed

ros2 bag record -a causes segfault

zs@zs-3630:~$ ros2 bag record -a
Log level set to: [Warning]
[INFO] [1625574853.226275516] [rosbag2_storage]: Opened database 'rosbag2_2021_07_06-20_34_13/rosbag2_2021_07_06-20_34_13_0.db3' for READ_WRITE.
2021-07-06 20:34:13.228 [Warning]: Requested queue capacity 1000 exceeds the maximum possible one for this subscriber, limiting from 1000 to 256
[INFO] [1625574853.228191146] [rosbag2_transport]: Listening for topics...
[WARN] [1625574853.228413563] [rosbag2_transport]: Hidden topics are not recorded. Enable them with --include-hidden-topics
[INFO] [1625574853.229241649] [rosbag2_transport]: Subscribed to topic '/rslidar_points'
[INFO] [1625574853.229600856] [rosbag2_transport]: Subscribed to topic '/rosout'
[INFO] [1625574853.229893345] [rosbag2_transport]: Subscribed to topic '/parameter_events'
Segmentation fault (core dumped)

while ros2 bag record /rslidar_points specified topics is fine.

zs@zs-3630:~$ ros2 bag record /rslidar_points
Log level set to: [Warning]
[INFO] [1625574924.931204293] [rosbag2_storage]: Opened database 'rosbag2_2021_07_06-20_35_24/rosbag2_2021_07_06-20_35_24_0.db3' for READ_WRITE.
2021-07-06 20:35:24.933 [Warning]: Requested queue capacity 1000 exceeds the maximum possible one for this subscriber, limiting from 1000 to 256
[INFO] [1625574924.933614973] [rosbag2_transport]: Listening for topics...
[INFO] [1625574924.934774024] [rosbag2_transport]: Subscribed to topic '/rslidar_points'
[INFO] [1625574924.934875025] [rosbag2_transport]: All requested topics are subscribed. Stopping discovery...

Expected

ros2 bag record -a run without error

_Originally posted by @ZhenshengLee in https://github.com/ros2/rmw_iceoryx/issues/42#issuecomment-875405714_