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

Properly declare global variables #941

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

byroot
Copy link
Contributor

@byroot byroot commented Nov 1, 2024

Fix: ruby/json#672

GC compaction might move these objects around so the global C variable MUST be declared to the GC so it's updated there too.

Fix: ruby/json#672

GC compaction might move these objects around so the global
C variable MUST be declared to the GC so it's updated there too.
@ohler55 ohler55 merged commit 2b3dc11 into ohler55:develop Nov 1, 2024
60 checks passed
@gmalette
Copy link

gmalette commented Nov 1, 2024

@ohler55 thanks for merging so fast! Can you release a new version please? The segfaults prevent us from upgrading

@ohler55
Copy link
Owner

ohler55 commented Nov 1, 2024

I will release this evening.

@ohler55
Copy link
Owner

ohler55 commented Nov 1, 2024

Released! Thanks for the fix.

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.

New segfault in >= 2.7.3 at the intersection of bootsnap, oj, activesupport, GC.verify_compaction_references
3 participants