question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When running under Meteor: archived threads in combination with wasm not supported

See original GitHub issue

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:

# install meteor
# I wrote this reproduction using 1.9, but I believe my colleague has tried
# beta versions.
nvm use 12
meteor create --react simple-todos-2
cd simple-todos-2
meteor npm install blake3
meteor
^C
# apologies for being old school. ed isn't usable, but it is scriptable!
ed server/main.js
%p
/function
-1
i
var blake3 = require('blake3');
.
%p
wq
meteor
# observe crash:
W20200303-14:22:16.239(-5)? (STDERR)
W20200303-14:22:16.288(-5)? (STDERR)
W20200303-14:22:16.288(-5)? (STDERR) #
W20200303-14:22:16.288(-5)? (STDERR) # Fatal error in , line 0
W20200303-14:22:16.289(-5)? (STDERR) # archived threads in combination with wasm not supported
W20200303-14:22:16.289(-5)? (STDERR) #
W20200303-14:22:16.289(-5)? (STDERR) #
W20200303-14:22:16.290(-5)? (STDERR) #
W20200303-14:22:16.290(-5)? (STDERR) #FailureMessage Object: 0x102e79240

This issuse seems to be related: https://github.com/nodejs/node/issues/29767 .

It suggests --no-wasm-code-gc, but that is already in use:

ps aux | grep no-wasm-code-gc
sk               23007  21.5  3.4 17398548 281708 s011  S+    2:27PM   0:15.17 /Users/sk/.meteor/packages/meteor-tool/.1.9.0.z44zal++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/node --max-old-space-size=4096 --no-wasm-code-gc /Users/sk/.meteor/packages/meteor-tool/.1.9.0.z44zal++os.osx.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.osx.x86_64/tools/index.js

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:

Archived threads are rarely used, and not combined with Wasm at the moment. Implement this and test it properly once we have a use case for that.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
connor4312commented, Mar 7, 2020

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.

1reaction
sethwkleincommented, Mar 10, 2020

With all the best humor, I’ll consider your apology appropriate and accept it only when I’m paying you 😄

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 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

FATAL archived threads in combination with wasm not ...
To run the tests you need to have postgres and libpq-dev installed and have superuser access to postgres ( sudo -u postgres createuser...
Read more >
"archived threads in combination with wasm not supported ...
WebAssembly “archived threads in combination with wasm not supported” error, error 2. Have tried using older versions of the package?
Read more >
src/wasm/wasm-engine.cc - v8/v8 - Git at Google
moment. Implement this and test it properly once we have a use case for. // that. FATAL("archived threads in combination with wasm not...
Read more >
Meteor - Bountysource
Source maps do not appear to be working on the Cordova builds for me. ... On Meteor 2.2 running on Linux, when creating...
Read more >
sitemap-questions-36.xml - Stack Overflow
... https://stackoverflow.com/questions/303116/system-windows-threading- ... -and-return-false-not-working-on-some-jcarousellite-a-element 2022-03-11 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found