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
NB: The program runs without error and with the expected output when I use the wasm32-wasi target, or when I use the native target without the --debug flag .
After doing some debugging the trace looks like this:
In this PR I will add tests for the example programs in
`examples/milestone`.
There's currently an runtime assertion error generated by the Hanoi
example #1919, so it'd be good to
test these programs in the future.
I compiled the Hanoi example with the
--debug
flag for the native target on macOS aarch64:https://github.com/anoma/juvix/blob/dbe9ff61d794637a3315068c65bfd296512f07dc/examples/milestone/Hanoi/Hanoi.juvix
When running the program you get the following error:
NB: The program runs without error and with the expected output when I use the
wasm32-wasi
target, or when I use thenative
target without the--debug
flag .After doing some debugging the trace looks like this:
JUVIX_STR_CONCAT -
juvix/runtime/src/juvix/api.h
Line 79 in dbe9ff6
CONCAT_CSTRINGS -
juvix/runtime/src/juvix/object/cstring.h
Line 43 in dbe9ff6
ALLOC -
juvix/runtime/src/juvix/mem/alloc.h
Line 50 in dbe9ff6
and the failing assertion is caused by an
is_same_page
check:juvix/runtime/src/juvix/mem/alloc.h
Line 51 in dbe9ff6
The text was updated successfully, but these errors were encountered: