-
Notifications
You must be signed in to change notification settings - Fork 20
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
When running under Meteor: archived threads in combination with wasm not supported #12
Comments
That is... interesting. I'm not familiar with archived threads, a quick google indicates they're an internal V8 structure. Do you have suggestions for a fix here? |
I wonder if it's something the Rust to JavaScript compilation is using. I'm also curious why the server side is using WASM at all. There's a ton I don't know here, but that's a couple things that stand out. |
We use WASM from Node.js if we can't get valid bindings. This is the install script. I don't think this problem is related to Rust->WASM, it seems to be more in how the wasm is run than anything in the wasm bytecode itself. I'm also not familiar at all with meteor so. I'll try to see if I can figure something out this weekend. |
So if I'm understanding correctly, it's likely that Meteor is messing up the |
FWIW, I expect to be looking into how Meteor might be messing up the install on Monday. |
It looks like the missing native support was because the latest version was missing a file. I've updated the publish script to make sure to generate it each time. It will be fixed in 2.1.3. |
With the new version, I'm still seeing the same error when running under Meteor. The really odd thing is that the log shows native bindings being retrieved:
The error is the same. Is there some way for the fallback to be triggered at runtime even if it wasn't triggered at install time? |
We do point the Sorry I haven't looked into it more yet. Busy the last week moving to a new place. Should have more time this coming weekend. |
With all the best humor, I'll consider your apology appropriate and accept it only when I'm paying you :D I probably need to spend the afternoon pushing other things forward, but might look into it later in the week. Otherwise it'll happen when you get time :) |
Just FYI, we're having a contractor look into this. He's not sure he has the skills for it, but he's going to look into it and see if it's something he can get done in a reasonable number of hours. |
Hi, I am the contractor. I have looked into the issue for a bit and found this error is thrown as soon as it uses WASM related code. I am not sure it is the reference to WASM in the In the past thread related issues in Meteor have proven to be tedious. Though, for our project, we would really like to use your awesome package. Do you think it would be possible to publish the native code only (and disable WASM completely, I wonder if this is related to a collision of Meanwhile I will discuss options internally. |
We ended up moving the hashing into a microservice since this problem isn't seen under plain Node. And then I reimplemented that in Go since it's easier to do all the non-hashing parts in Go than in JavaScript, but that's another story. |
We're hoping to use BLAKE3 for content hashing due to its awesome speed. The server is in Meteor and we're getting an error that appears to be very low level.
Reproduction:
This issuse seems to be related: nodejs/node#29767 .
It suggests
--no-wasm-code-gc
, but that is already in use:The error message appears to come from here: https://chromium.googlesource.com/v8/v8/+/master/src/wasm/wasm-engine.cc#106
which contains this comment:
The text was updated successfully, but these errors were encountered: