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

Currently nightly does not provides stack probing #7239

Open
kwonoj opened this issue Apr 10, 2023 · 1 comment
Open

Currently nightly does not provides stack probing #7239

kwonoj opened this issue Apr 10, 2023 · 1 comment

Comments

@kwonoj
Copy link
Member

kwonoj commented Apr 10, 2023

Describe the bug

If plugin panics, on old nightly (nightly-2022-09-23) error looks like this:

 1: RuntimeError: out of bounds memory access
    2: heap_get_oob
    at Compiler.transformSync (/
...

building plugin with the nightly swc current uses (

nightly-2023-03-20
)

Now it says

thread '<unnamed>' panicked at 'not implemented: Stack probing is unimplemented on AArch64', /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cranelift-codegen-0.91.1/src/isa/aarch64/abi.rs:642:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Error: failed to handle: not implemented: Stack probing is unimplemented on AArch64
    at Compiler.transformSync

Since there's no full stack trace it wasn't very much helpful anyway, but now it doesn't even shows the error itself.

This is mostly for the tracking, looks like it's coming from somewhere upstream.

Input code

No response

Config

No response

Playground link

No response

Expected behavior

Provide proper runtime error

Actual behavior

No response

Version

latest

Additional context

No response

@kdy1 kdy1 added this to the Planned milestone Apr 10, 2023
@kwonoj
Copy link
Member Author

kwonoj commented Apr 12, 2023

wasmerio/wasmer#2808

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

No branches or pull requests

2 participants