You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Uncaught (in worker "em-pthread-4") RangeError: Maximum call stack size exceeded
at postMessage (file:///C:/Users/Alex/Desktop/joltnode/node_modules/.deno/[email protected]/node_modules/jolt-physics/dist/jolt-physics.debug.multithread.wasm-compat.js:1:1)
at postMessage (file:///C:/Users/Alex/Desktop/joltnode/node_modules/.deno/[email protected]/node_modules/jolt-physics/dist/jolt-physics.debug.multithread.wasm-compat.js:1:1)
at postMessage (file:///C:/Users/Alex/Desktop/joltnode/node_modules/.deno/[email protected]/node_modules/jolt-physics/dist/jolt-physics.debug.multithread.wasm-compat.js:1:1)
at postMessage (file:///C:/Users/Alex/Desktop/joltnode/node_modules/.deno/[email protected]/node_modules/jolt-physics/dist/jolt-physics.debug.multithread.wasm-compat.js:1:1)
at postMessage (file:///C:/Users/Alex/Desktop/joltnode/node_modules/.deno/[email protected]/node_modules/jolt-physics/dist/jolt-physics.debug.multithread.wasm-compat.js:1:1)
at postMessage (file:///C:/Users/Alex/Desktop/joltnode/node_modules/.deno/[email protected]/node_modules/jolt-physics/dist/jolt-physics.debug.multithread.wasm-compat.js:1:1)
at postMessage (file:///C:/Users/Alex/Desktop/joltnode/node_modules/.deno/[email protected]/node_modules/jolt-physics/dist/jolt-physics.debug.multithread.wasm-compat.js:1:1)
at postMessage (file:///C:/Users/Alex/Desktop/joltnode/node_modules/.deno/[email protected]/node_modules/jolt-physics/dist/jolt-physics.debug.multithread.wasm-compat.js:1:1)
at postMessage (file:///C:/Users/Alex/Desktop/joltnode/node_modules/.deno/[email protected]/node_modules/jolt-physics/dist/jolt-physics.debug.multithread.wasm-compat.js:1:1)
at postMessage (file:///C:/Users/Alex/Desktop/joltnode/node_modules/.deno/[email protected]/node_modules/jolt-physics/dist/jolt-physics.debug.multithread.wasm-compat.js:1:1)
error: Uncaught (in worker "em-pthread-5") RangeError: Maximum call stack size exceeded
at postMessage (file:///C:/Users/Alex/Desktop/joltnode/node_modules/.deno/[email protected]/node_modules/jolt-physics/dist/jolt-physics.debug.multithread.wasm-compat.js:1:1)
...
It works fine on Node runtimes, and I've been able to use it when passing the .wasm file via locateFile. Could be related to This issue?
The text was updated successfully, but these errors were encountered:
I'm afraid that this is a bit beyond my control, emscripten generates the call to postMessage that fails:
if(ENVIRONMENT_IS_NODE&&(ENVIRONMENT_IS_PTHREAD)){// Create as web-worker-like an environment as we can.varparentPort=worker_threads['parentPort'];parentPort.on('message',(msg)=>global.onmessage?.({data: msg}));Object.assign(globalThis,{self: global,postMessage: (msg)=>parentPort['postMessage'](msg),});}
Steps to reproduce:
Run the following code on a Deno runtime
Results in:
It works fine on Node runtimes, and I've been able to use it when passing the .wasm file via locateFile. Could be related to This issue?
The text was updated successfully, but these errors were encountered: