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 segfault happening in ICPSequence class #348

Merged
merged 2 commits into from Aug 27, 2019

Conversation

simonpierredeschenes
Copy link
Collaborator

@simonpierredeschenes simonpierredeschenes commented Aug 15, 2019

When the functions setDefault or loadFromYaml were called in the middle of a sequence of ICPs, the reference KD-tree held by the matcher was destroyed but not reconstructed afterward. It would cause a segfault on the next ICP because it tried to use the destroyed KD-tree.

Copy link
Contributor

@PhiBabin PhiBabin left a comment

Choose a reason for hiding this comment

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

LGTM

@simonpierredeschenes simonpierredeschenes merged commit eb9457d into master Aug 27, 2019
@simonpierredeschenes simonpierredeschenes deleted the icpsequence-fix branch August 27, 2019 13:00
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.

None yet

2 participants