Skip to content

Compilation into wasm fails for some patches #143

Description

@sebpiq

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions