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

Crash when creating runtimes on multiple threads; Debugging showed that internally the two runtimes used the same memory map for their v8 engines #952

Open
rscarson opened this issue Nov 3, 2024 · 0 comments

Comments

@rscarson
Copy link
Contributor

rscarson commented Nov 3, 2024

Related to rscarson/rustyscript#228

Multiple users are reporting a segfault when instantiating JsRuntime instances on multiple threads

From one user's report:

Debugging showed that internally the two runtimes used the same memory map for their v8 engines, causing segfault. Fixed it via creating snapshots of the runtimes, which made them reference their own memory map not a global one.

Issue was reported on some Linux hosts, I cannot reproduce it on my end

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

No branches or pull requests

1 participant