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

[AllocOpt] Track deleted instructions #30128

Merged
merged 1 commit into from
Nov 28, 2018
Merged

[AllocOpt] Track deleted instructions #30128

merged 1 commit into from
Nov 28, 2018

Conversation

Keno
Copy link
Member

@Keno Keno commented Nov 23, 2018

It was possible for the instruction contained in first_safepoint to
be deleted, causing use-after-free problems later. Use a WeakVH
rather than a raw Instruction* to null-out the entry when the
Instruction gets deleted. In the future we may want to pay closer
attention to live ranges to avoid this problem entirely.

Fixes #30116

It was possible for the instruction contained in first_safepoint to
be delted, causing use-after-free problems later. Use a WeakVH
rather than a raw Instruction* to null-out the entry when the
Instruction gets deleted. In the future we may want to pay closer
attention to live ranges to avoid this problem entirely.

Fixes #30116
@ararslan ararslan added bugfix This change fixes an existing bug backport pending 1.0 labels Nov 23, 2018
@Keno Keno merged commit 437d87c into master Nov 28, 2018
@maleadt maleadt deleted the kf/30116 branch November 28, 2018 15:46
@KristofferC KristofferC mentioned this pull request Nov 28, 2018
61 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Julia 1.0.2 regression in Knet package with segfault
4 participants