Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation into wasm fails for some patches #143

Open
sebpiq opened this issue Jan 3, 2024 · 1 comment
Open

Compilation into wasm fails for some patches #143

sebpiq opened this issue Jan 3, 2024 · 1 comment

Comments

@sebpiq
Copy link
Owner

sebpiq commented Jan 3, 2024

Got the error :

Whoops, the AssemblyScript compiler has crashed during optimize :-(
▌ 
▌ Here is the stack trace hinting at the problem, perhaps it's useful?
▌ 
▌ RuntimeError: Aborted(). Build with -sASSERTIONS for more info.
▌     at t (file:///home/spiq/code/webpd/WebPd/bin/cli.mjs:885:4806)
▌     at r (file:///home/spiq/code/webpd/WebPd/bin/cli.mjs:888:5468)
▌     at wasm://wasm/0136228a:wasm-function[94]:0xed30
▌     at wasm://wasm/0136228a:wasm-function[1844]:0x192e2b
▌     at wasm://wasm/0136228a:wasm-function[4808]:0x2fa0aa
▌     at wasm://wasm/0136228a:wasm-function[730]:0xbf5b7
▌     at wasm://wasm/0136228a:wasm-function[4811]:0x2fb0c0
▌     at IC (file:///home/spiq/code/webpd/WebPd/bin/cli.mjs:888:160163)
▌     at wasm://wasm/0136228a:wasm-function[1366]:0x12679f
▌     at wasm://wasm/0136228a:wasm-function[7656]:0x40c120
▌ 
▌ If you see where the error is, feel free to send us a pull request. If not,
▌ please let us know: https://github.com/AssemblyScript/assemblyscript/issues
▌ 
▌ Thank you!

this happens for example with the perc1 example from online compiler when compiling in CLI.

@sebpiq
Copy link
Owner Author

sebpiq commented Jan 11, 2024

Release 1.0.0-alpha.7 should fix this for most patches. However it still fails with some files (see AssemblyScript/assemblyscript#2810), but I cannot tell why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant