Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ros2 bag record -a causes segfault. #51

Open
ZhenshengLee opened this issue Jul 9, 2021 · 0 comments
Open

ros2 bag record -a causes segfault. #51

ZhenshengLee opened this issue Jul 9, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@ZhenshengLee
Copy link
Contributor

ZhenshengLee commented Jul 9, 2021

Env

  • Ubuntu 20.04.02 LTS
  • GCC 9.3.0
  • ros2 foxy

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 #42 (comment)

@mossmaurice mossmaurice added the bug Something isn't working label Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants