Open singpolyma-shopify opened 5 years ago
Thanks for reporting the bug!
Could you try with Polymerase engine enabled? There's a known bug in the register allocator for interpreter mode.
That's the AOT mode? When I enable that it takes a looong time and then says "unable to open compiled code"
Has this bug solved? Can life be used in production env?
I haven't tested this specific case in awhile, but in general we have had much more luck with AOT (though you can't run it under many Docker setups because of the userfaultfd
requirement)
https://0x0.st/zcgm.wasm
The above wasm works in
nodejs
and using wagon'swasm-run
command, but running with life I get a different return value.Calling the exported function
run
with no arguments should return4
and innodejs
andwasm-run
it does but running under life I get0
.I know it's a big blob but I have not yet been able to get a smaller version that triggers the bug.