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

wasmer run segfaults on current master branch #3509

Closed
fschutt opened this issue Jan 20, 2023 · 1 comment · Fixed by #3511
Closed

wasmer run segfaults on current master branch #3509

fschutt opened this issue Jan 20, 2023 · 1 comment · Fixed by #3511

Comments

@fschutt
Copy link
Contributor

fschutt commented Jan 20, 2023

$ ./target/release/wasmer run ./lib/c-api/examples/assets/qjs.wasm
zsh: segmentation fault  ./target/release/wasmer run ./lib/c-api/examples/assets/qjs.wasm

$ ./target/release/wasmer -vV
wasmer 3.1.0 (580ba 2023-01-20)
binary: wasmer-cli
commit-hash: 580baeb5090ab825d082e4d5dbcafb9e880d3e06
commit-date: 2023-01-20
host: aarch64-apple-darwin
compiler: singlepass,cranelift

I have no more context on this bug, but it's a full segfault, no panic trace given. Not sure if this is because of zsh interaction, but even when doing codesign -d -vvv --entitlements :- ./target/release/wasmer it doesn't work on Mac.

@fschutt
Copy link
Contributor Author

fschutt commented Jan 20, 2023

This bug seems to be fine if you run it with --disable-cache. @ptitSeb reported problems on Linux:

target/release/wasmer run ./Lib/c-api/examples/assets/qjs.wasm

thread 'main' panicked at ‘assertion failed: !result.is_null()', /home/seb/.cargo/registry/src/github. con-lecc6299db9ec823/rkyv-0.7.39/src/impls/core/mod .rs:267:17

note: run with “RUST_BACKTRACE=1 environment variable to display a backtrace

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