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

Fixed crash when changing rendering parameters for pointcloud2 while 'Selectable' box is unchecked #768

Merged
merged 1 commit into from
Sep 22, 2021

Conversation

ahcorde
Copy link
Contributor

@ahcorde ahcorde commented Sep 21, 2021

Signed-off-by: ahcorde ahcorde@gmail.com

Fixed #669

…'Selectable' box is unchecked

Signed-off-by: ahcorde <ahcorde@gmail.com>
Copy link
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks good to me with green CI.

I am somewhat concerned about the integrity of the cloud_infos_ member variable. There is a new_clouds_mutex lock which suggests to me that these callbacks can be called in multiple threads, but I don't know that for certain. It's probably something we should investigate, though it doesn't prevent this particular fix from going in.

@ahcorde
Copy link
Contributor Author

ahcorde commented Sep 21, 2021

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@ahcorde ahcorde merged commit 5c1f0d9 into ros2 Sep 22, 2021
@delete-merged-branch delete-merged-branch bot deleted the ahcorde/fix/pointcloudDisplay branch September 22, 2021 07:21
ahcorde added a commit that referenced this pull request Sep 22, 2021
…'Selectable' box is unchecked (#768)

Signed-off-by: ahcorde <ahcorde@gmail.com>
ahcorde added a commit that referenced this pull request Sep 22, 2021
…'Selectable' box is unchecked (#768)

Signed-off-by: ahcorde <ahcorde@gmail.com>
ahcorde added a commit that referenced this pull request Sep 22, 2021
…'Selectable' box is unchecked (#768) (#769)

Signed-off-by: ahcorde <ahcorde@gmail.com>
ahcorde added a commit that referenced this pull request Sep 22, 2021
…'Selectable' box is unchecked (#768) (#770)

Signed-off-by: ahcorde <ahcorde@gmail.com>
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.

Changing rendering parameters for pointcloud2 while 'Selectable' box is unchecked causes app to crash
3 participants