Stream: git-wasmtime

Topic: wasmtime / issue #4857 Panic compiling modules with NaN c...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 02 2022 at 21:03):

alexcrichton opened issue #4857:

On main:

$ cargo run compile foo.wat
    Finished dev [unoptimized + debuginfo] target(s) in 0.13s
     Running `target/debug/wasmtime compile foo.wat`
thread '<unnamed>' panicked at 'explicit panic', cranelift/codegen/src/scoped_hash_map.rs:125:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

with this input:

(module
  (func
    i32.const 0
    if  ;; label = @0
      unreachable
    end
    f32.const nan
    drop
  )
)

I believe this was introduced in https://github.com/bytecodealliance/wasmtime/pull/4849 (cc @afonso360 and @jameysharp )

view this post on Zulip Wasmtime GitHub notifications bot (Sep 02 2022 at 21:03):

alexcrichton labeled issue #4857:

On main:

$ cargo run compile foo.wat
    Finished dev [unoptimized + debuginfo] target(s) in 0.13s
     Running `target/debug/wasmtime compile foo.wat`
thread '<unnamed>' panicked at 'explicit panic', cranelift/codegen/src/scoped_hash_map.rs:125:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

with this input:

(module
  (func
    i32.const 0
    if  ;; label = @0
      unreachable
    end
    f32.const nan
    drop
  )
)

I believe this was introduced in https://github.com/bytecodealliance/wasmtime/pull/4849 (cc @afonso360 and @jameysharp )

view this post on Zulip Wasmtime GitHub notifications bot (Sep 02 2022 at 21:56):

jameysharp commented on issue #4857:

You're right. Given a little finesse, I think I can revert the changes to Ieee32 and Ieee64 without undoing the rest of the work.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 03 2022 at 00:26):

jameysharp closed issue #4857:

On main:

$ cargo run compile foo.wat
    Finished dev [unoptimized + debuginfo] target(s) in 0.13s
     Running `target/debug/wasmtime compile foo.wat`
thread '<unnamed>' panicked at 'explicit panic', cranelift/codegen/src/scoped_hash_map.rs:125:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

with this input:

(module
  (func
    i32.const 0
    if  ;; label = @0
      unreachable
    end
    f32.const nan
    drop
  )
)

I believe this was introduced in https://github.com/bytecodealliance/wasmtime/pull/4849 (cc @afonso360 and @jameysharp )


Last updated: Nov 22 2024 at 16:03 UTC