-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
FATAL archived threads in combination with wasm not supported #29767
Comments
Do you use Workers or any native addons (in node_modules or otherwise)? Is there any chance of getting a reproduction with fewer dependencies? This may be a breaking change in V8 7.7 that we have overlooked. /cc @nodejs/v8 |
If I comment out the test that uses the package "source-map" ( |
I don't use workers but I do use native addons: package fibers, pg-libpq and koru itself has a small napi file. Other larger code bases that use koru but don't invoke the source-map code in their tests also run fine. |
source-map uses wasm. I can try to debug this a bit when I'm back on my laptop later tonight. |
Thanks! The problem is not consistent. It mostly fails but sometimes does not. I have also seen it fail when I just run |
tried looking into this a bit, not sure what is going on... going to need the v8 team i think |
node-fibers hacks the thread-local storage to trick V8 into thinking it's running separate threads/isolates, that probably has something to do with it. |
Can you please explain in which ways archived threads are used here? We did not expect users of that outside of chrome, and for the chrome use case we do not need to support WebAssembly. Note that a workaround for node might be to disable wasm code gc by passing --no-wasm-code-gc. |
using |
Node issue: nodejs/node#29767 Meteor's work-around: meteor/meteor@c37bab6 Meteor PR: meteor/meteor#10798
It does not appear that there's anything actionable here? Closing. Can reopen if necessary |
Could you elaborate a bit so we can find out if this is fixable in node-fibers? |
… and throwing errors like this nodejs/node#29767
v8/src/wasm/wasm-engine.cc
:I get the following error when running the server tests for my package "koru"
This error has never occurred on any previous version of node.
To run the tests you need to have postgres and libpq-dev installed and have superuser access to postgres (
sudo -u postgres createuser -drs $USER
).git clone https://github.com/jacott/koru.git cd koru npm i createdb korutest npm t -- --nodoc -s
The fatal error does not occur on any particular test as far as I can tell.
The text was updated successfully, but these errors were encountered: