tier4 / nebula

A universal LiDAR and radar driver for ROS 2, supporting Hesai, Velodyne, Robosense and Continental sensors.
https://tier4.github.io/nebula/
Apache License 2.0
51 stars 51 forks source link

fix(nebula_hw_interfaces): mystery segmentation fault #149

Closed knzo25 closed 5 months ago

knzo25 commented 6 months ago

PR Type

Related Links

Description

Depending on the platform, and the day (literally), I am experiencing segmentation faults with the robosense hw decoder. I tried to isolate the causes and to use instrumentation tools, but whenever I compiled not in release the error did not appear, so I could not make a complete report.

Conclusions I could take:

@mebasoglu Is there any reason for the sleep? Would you have any objection to delete it or turn it into a boost thread sleep?

Review Procedure

Remarks

Pre-Review Checklist for the PR Author

PR Author should check the checkboxes below when creating the PR.

Checklist for the PR Reviewer

Reviewers should check the checkboxes below before approval.

Post-Review Checklist for the PR Author

PR Author should check the checkboxes below before merging.

CI Checks

mojomex commented 5 months ago

The same change has been made in the single-node-refactoring

knzo25 commented 5 months ago

@mojomex I think the idea of the PR was for @mebasoglu to tell us if he had anything against us removing the sleep

mebasoglu commented 5 months ago

Hello, I apologize for the delay, I couldn't find enough time to check Nebula. I will try to take a look at.