-
Notifications
You must be signed in to change notification settings - Fork 93
MiniRacer hangs after fork #175
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
Comments
Posted on v8 users here: |
Backtrace:
|
This is a workaround for rubyjs/mini_racer#175
Looks like a similar problem here:
|
FYI, v8 are implementing a single threaded version of platform to resolve this, we would like to make this optional in mini_racer (pending this landing in v8) https://chromium-review.googlesource.com/c/v8/v8/+/2416501/3 We need to build a custom version of v8 to test and make a PR to mini racer that exposes the new interface to opt for "single threaded mode" on platform. |
This sounds a bit like the behaviour we are seeing as well in #170. |
looks like the single threaded version got merged, did that make it into min_racer yet? |
@chaffeqa I think we need to wait on libv8 8.9 for this, I can't find it in the 8.8 changelog |
This is now working as of latest commit, see: https://github.com/rubyjs/mini_racer/blob/master/test/test_forking.rb |
@cataphract / @nightpool previous versions of mini_racer were fork friendly ... but now sadly it looks like we totally stall after forks due to a GC thread.
Repro is:
Any ideas how we can sort this out?
The text was updated successfully, but these errors were encountered: