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

Rust panic in basic usage test on Intel 12th gen i9 #28

Open
plicease opened this issue Oct 21, 2022 · 1 comment
Open

Rust panic in basic usage test on Intel 12th gen i9 #28

plicease opened this issue Oct 21, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@plicease
Copy link
Member

t/00_diag.t ......... ok   
t/alien_wasmtime.t .. 1/? # 
# 
# 
# Alien::wasmtime->cflags        = -I/home/ollisg/dev/Alien-wasmtime/.build/XjoGeBWR7R/blib/lib/auto/share/dist/Alien-wasmtime/include
# Alien::wasmtime->cflags_static = -I/home/ollisg/dev/Alien-wasmtime/.build/XjoGeBWR7R/blib/lib/auto/share/dist/Alien-wasmtime/include
# Alien::wasmtime->install_type  = share
# Alien::wasmtime->libs          = -L/home/ollisg/dev/Alien-wasmtime/.build/XjoGeBWR7R/blib/lib/auto/share/dist/Alien-wasmtime/lib -lwasmtime
# Alien::wasmtime->libs_static   = -L/home/ollisg/dev/Alien-wasmtime/.build/XjoGeBWR7R/blib/lib/auto/share/dist/Alien-wasmtime/lib -lwasmtime
# Alien::wasmtime->version       = 0.22.1
# Alien::wasmtime->dynamic_libs  = /home/ollisg/dev/Alien-wasmtime/.build/XjoGeBWR7R/blib/lib/auto/share/dist/Alien-wasmtime/lib/libwasmtime.so
# 
# 
thread '<unnamed>' panicked at 'assertion failed: res.eax == 0', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/raw-cpuid-8.1.2/src/lib.rs:295:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
t/alien_wasmtime.t .. All 3 subtests passed 

Looks like this was fixed in rust-cpuid gz/rust-cpuid#45. Unfortunately we are pulling older binaries from the wasmtime project and can't update until Wasm.pm is updated to work with the newer versions of wasmtime. It may also be possible to build our own binaries as a stop gap. I haven't seen this before and I am guessing the trigger is the newer CPU that I am now using in my new system.

@plicease plicease added the bug Something isn't working label Oct 21, 2022
@plicease
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant