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 dangling reference in static allocation. #900

Merged

Conversation

iwanders
Copy link
Contributor

This line caused a segfault on static object construction. Details and discussion on clearpathrobotics#1. Backtrace is similar to #75, but issue persisted with march=native and without, also confirmed that all libraries are using the exact same compilation flags.

Fyi @efernandez

@varunagrawal
Copy link
Collaborator

Oh wow that is a great catch (and thanks for linking the discussion to the clearpathrobotics repo).

Copy link
Collaborator

@varunagrawal varunagrawal left a comment

Choose a reason for hiding this comment

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

Great catch and thanks for the contribution @iwanders!

@varunagrawal varunagrawal added the bugfix Fixes an issue or bug label Oct 21, 2021
@varunagrawal varunagrawal merged commit db88546 into borglab:develop Oct 22, 2021
@mikepurvis mikepurvis deleted the CORE-20522-dangling-reference branch October 22, 2021 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes an issue or bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants