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 crash on RGENGC_CHECK_MODE=4 #4610

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

peterzhu2118
Copy link
Member

When running btest there is a crash when compiled with RGENGC_CHECK_MODE=4. The crash happens because during_gc is not turned off before gc_marks_check is called, causing the marking to happen on the main mark stack instead of mark stack created in objspace_allrefs.

When running btest there is a crash when compiled with
RGENGC_CHECK_MODE=4. The crash happens because `during_gc` is not
turned off before `gc_marks_check` is called, causing the marking to
happen on the main mark stack instead of mark stack created in
`objspace_allrefs`.
@peterzhu2118 peterzhu2118 merged commit 03dc664 into ruby:master Jun 29, 2021
@peterzhu2118 peterzhu2118 deleted the pz-check-mode-4-crash branch June 29, 2021 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant