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
{{ message }}
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
Describe the bug
I got runtime errors when trying to run a heavy project by ahc-dist command with --gc-threshold option. Different errors were throwed according to --gc-threshold value for the same program. Here's the commands and the corresponding errors:
ahc-dist --input-exe myprog --run
file:///workspace/rts.gc.mjs:466
throw new WebAssembly.RuntimeError();
^
RuntimeError
at GC.evacuateClosure (file:///workspace/rts.gc.mjs:466:15)
at GC.scavengeClosureAt (file:///workspace/rts.gc.mjs:477:34)
at GC.scavengePointersFirst (file:///workspace/rts.gc.mjs:481:41)
at GC.scavengeClosure (file:///workspace/rts.gc.mjs:826:14)
at GC.scavengeLoop (file:///workspace/rts.gc.mjs:750:31)
at GC.performGC (file:///workspace/rts.gc.mjs:1065:10)
at Scheduler.returnedFromTSO (file:///workspace/rts.scheduler.mjs:114:17)
at Scheduler.tick (file:///workspace/rts.scheduler.mjs:355:14)
at Immediate.<anonymous> (file:///workspace/rts.scheduler.mjs:118:33)
at processImmediate (node:internal/timers:463:21)
file:///workspace/rts.memory.mjs:101
return this.dataView.getBigUint64(p, true);
^
RangeError: Offset is outside the bounds of the DataView
at DataView.getBigUint64 (<anonymous>)
at Memory.i64Load (file:///workspace/rts.memory.mjs:101:26)
at GC.evacuateClosure (file:///workspace/rts.gc.mjs:255:37)
at GC.scavengeClosureAt (file:///workspace/rts.gc.mjs:477:34)
at GC.scavengePointersFirst (file:///workspace/rts.gc.mjs:481:41)
at GC.scavengeClosure (file:///workspace/rts.gc.mjs:799:14)
at GC.scavengeLoop (file:///workspace/rts.gc.mjs:750:31)
at GC.performGC (file:///workspace/rts.gc.mjs:1065:10)
at Scheduler.returnedFromTSO (file:///workspace/rts.scheduler.mjs:114:17)
at Scheduler.tick (file:///workspace/rts.scheduler.mjs:355:14)
JSException
RuntimeError: function signature mismatch
at <anonymous>:wasm-function[4596]:0xdd37f
at scheduleTSO (<anonymous>:wasm-function[4597]:0xdd3ac)
at Scheduler.tick (file:///workspace/rts.scheduler.mjs:347:22)
at Immediate.<anonymous> (file:///workspace/rts.scheduler.mjs:118:33)
at processImmediate (node:internal/timers:463:21)
To Reproduce
It's in a private repo now, sorry for the inconvenience. But I can provide access if needed.
Expected behavior
The expected behavior is only the performance differences when given different values for --gc-threshold, and the progrom should all end with success.
Environment
OS name + version: MacOS 12.6
Version of the code: docker latest
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
I got runtime errors when trying to run a heavy project by
ahc-dist
command with--gc-threshold
option. Different errors were throwed according to--gc-threshold
value for the same program. Here's the commands and the corresponding errors:ahc-dist --input-exe myprog --run
ahc-dist --input-exe myprog --run --gc-threshold=150
ahc-dist --input-exe myprog --run --gc-threshold=350
ahc-dist --input-exe myprog --run --gc-threshold=550
To Reproduce
It's in a private repo now, sorry for the inconvenience. But I can provide access if needed.
Expected behavior
The expected behavior is only the performance differences when given different values for
--gc-threshold
, and the progrom should all end with success.Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: