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, disable V8's thread-isolated allocator #311

Closed
wants to merge 1 commit into from

Conversation

bnoordhuis
Copy link
Collaborator

Fixes: #300

@bnoordhuis
Copy link
Collaborator Author

This is against V8 12.x. Is there a specific branch I should be targeting instead of main? libv8-node-22?

@SamSaffron
Copy link
Collaborator

SamSaffron commented Aug 20, 2024 via email

@bnoordhuis
Copy link
Collaborator Author

You will need to also edit version.rb to target the right version

Ah, that makes perfect sense! Updated.

Is this patch going to be easy to maintain?

It should be because it should be temporary. I'll back-port the V8 fix to Node's V8 fork.

@bnoordhuis
Copy link
Collaborator Author

I'll take a closer look tomorrow why rake test segfaults (it's not a pkey thing) but if it's not something straightforward, I'll just PR libv8-node instead and disable PKRU in V8.

@bnoordhuis
Copy link
Collaborator Author

bnoordhuis commented Aug 21, 2024

I'll PR libv8-node instead, closing.

edit: rubyjs/libv8-node#53

@bnoordhuis bnoordhuis closed this Aug 21, 2024
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.

mini_racer 0.12.0 Segmentation fault on x86_64-linux with libv8-node 21.7.2.0
2 participants