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

fix(nebula_hw_interfaces): mystery segmentation fault #149

Closed
wants to merge 0 commits into from

Conversation

knzo25
Copy link
Collaborator

@knzo25 knzo25 commented May 17, 2024

PR Type

  • Bug Fix

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:

  • When the error appears, it is due to the info rather than the data stream
  • If I disable either of the streams it works
  • If I remove the sleep mentioned in the diff, the problem disapears. Alternatively, if I replace std with boost for the sleep, it dissapears.

@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.

  • Assign PR to reviewer

Checklist for the PR Reviewer

Reviewers should check the checkboxes below before approval.

  • Commits are properly organized and messages are according to the guideline
  • (Optional) Unit tests have been written for new behavior
  • PR title describes the changes

Post-Review Checklist for the PR Author

PR Author should check the checkboxes below before merging.

  • All open points are addressed and tracked via issues or tickets

CI Checks

  • Build and test for PR: Required to pass before the merge.

@knzo25 knzo25 requested a review from mebasoglu May 17, 2024 01:07
@knzo25 knzo25 marked this pull request as ready for review May 17, 2024 08:22
@mojomex mojomex changed the base branch from main to develop June 6, 2024 06:44
@mojomex mojomex closed this Jun 6, 2024
@mojomex mojomex force-pushed the fix/robosense_hw_segfault branch from e4e189d to ddc7e50 Compare June 6, 2024 06:45
@mojomex
Copy link
Collaborator

mojomex commented Jun 6, 2024

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

@knzo25
Copy link
Collaborator Author

knzo25 commented Jun 6, 2024

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

@mebasoglu
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants