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.
During the development of #639, I noticed that the nofib test shootout/n-body fails with
Main: JSException "RuntimeError: barf: malloc
at ExceptionHelper.barf (file:///home/skull/tweag/asterius-alt/asterius/nofib/shootout/n-body/rts.exception.mjs:147:13)
at barf (wasm-function[132]:0x7747)
at Main_.Lc8NO (wasm-function[41]:0x3ff5)
at scheduleTSO (wasm-function[4107]:0xd99a4)
at scheduleTSO_wrapper (wasm-function[4108]:0xd99d1)
at Scheduler.tick (file:///home/skull/tweag/asterius-alt/asterius/nofib/shootout/n-body/rts.scheduler.mjs:346:22)
at Immediate.<anonymous> (file:///home/skull/tweag/asterius-alt/asterius/nofib/shootout/n-body/rts.scheduler.mjs:381:29)
at processImmediate (internal/timers.js:456:21)"
This probably means that we have no working implementation of malloc for node to use.
To Reproduce
Download Main.hs from here, build it with Asterius, and execute using node:
Describe the bug
During the development of #639, I noticed that the nofib test
shootout/n-body
fails withThis probably means that we have no working implementation of
malloc
for node to use.To Reproduce
Download
Main.hs
from here, build it with Asterius, and execute using node:Expected behavior
The program should execute without errors. The expected stdout can be found here.
Environment
The text was updated successfully, but these errors were encountered: