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 runtime segfault #4294

Merged
merged 1 commit into from
Jan 4, 2023
Merged

Fix runtime segfault #4294

merged 1 commit into from
Jan 4, 2023

Conversation

SeanTAllen
Copy link
Member

When I implemented turning off the unsafe "don't trace immutable objects" optimization in PR #4256, I incorrectly caused opaque objects to be traced in a couple of scenarios.

Tracing opaque objects will result in a segfault like the one discovered by Gordon.

Fixes #4284

@SeanTAllen SeanTAllen requested a review from a team January 4, 2023 18:32
@SeanTAllen SeanTAllen added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Jan 4, 2023
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Jan 4, 2023
@SeanTAllen SeanTAllen force-pushed the issue-4284 branch 3 times, most recently from b38c69c to 474fb3c Compare January 4, 2023 19:36
When I implemented turning off the unsafe "don't trace immutable objects"
optimization in PR #4256, I incorrectly caused opaque objects to be
traced in a couple of scenarios.

Tracing opaque objects will result in a segfault like the one discovered
by Gordon.

Fixes #4284
@SeanTAllen SeanTAllen merged commit fa9aeed into main Jan 4, 2023
@SeanTAllen SeanTAllen deleted the issue-4284 branch January 4, 2023 21:32
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Jan 4, 2023
github-actions bot pushed a commit that referenced this pull request Jan 4, 2023
github-actions bot pushed a commit that referenced this pull request Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Null pointer access in libponyrt in GC
4 participants