Stream: git-wasmtime

Topic: wasmtime / issue #10181 Wasm GC: internal assertion failu...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 11 2025 at 17:41):

fitzgen edited issue #10181:

Test Case

constprop.zip

Steps to Reproduce

Run the following command:

./target/debug/wasmtime  -W=all-proposals=y constprop.wasm

Expected Results

This works fine if one add the -C collector=null option:

$ ./target/debug/wasmtime -C collector=null  -W=all-proposals=y constprop.wasm
booleans: passed
integers: passed
floats: passed
32-bit integers: passed
native integers: passed
64-bit integers: passed
integer conversions: passed
32-bit integer conversions: passed
native integer conversions: passed
64-bit integer conversions: passed

Actual Results

This crashes with an Illegal instruction error.

Versions and Environment

Wasmtime commit: 0e0560087beff704bc111a1abb1d6a80c1b5da70

Operating system: Linux

Architecture: x64

view this post on Zulip Wasmtime GitHub notifications bot (Mar 12 2025 at 20:23):

fitzgen closed issue #10181:

Test Case

constprop.zip

Steps to Reproduce

Run the following command:

./target/debug/wasmtime  -W=all-proposals=y constprop.wasm

Expected Results

This works fine if one add the -C collector=null option:

$ ./target/debug/wasmtime -C collector=null  -W=all-proposals=y constprop.wasm
booleans: passed
integers: passed
floats: passed
32-bit integers: passed
native integers: passed
64-bit integers: passed
integer conversions: passed
32-bit integer conversions: passed
native integer conversions: passed
64-bit integer conversions: passed

Actual Results

This crashes with an Illegal instruction error.

Versions and Environment

Wasmtime commit: 0e0560087beff704bc111a1abb1d6a80c1b5da70

Operating system: Linux

Architecture: x64

view this post on Zulip Wasmtime GitHub notifications bot (Mar 12 2025 at 20:23):

fitzgen commented on issue #10181:

constprop.wasm is passing on main now (at least as of 5b9e87650) so I think this just relied on a combination of a couple different bug fixes that landed around the same time.

If anyone finds any similar bugs, please file a new issue!

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2025 at 11:17):

tanishiking commented on issue #10181:

@fitzgen I tested 9da52ede33a9f8996832b0210579ef15296addbd, and it seems that various issues I was experiencing in my environment (such as illegal instructions and occasionally values were unexpectedly overwritten with zero values) no longer happens.
Thank you very much for the fixes!

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2025 at 11:17):

tanishiking edited a comment on issue #10181:

@fitzgen I tested the build 9da52ede33a9f8996832b0210579ef15296addbd, and it seems that various issues I was experiencing in my environment (such as illegal instructions and occasionally values were unexpectedly overwritten with zero values) no longer happens.
Thank you very much for the fixes!

view this post on Zulip Wasmtime GitHub notifications bot (Mar 13 2025 at 17:04):

fitzgen commented on issue #10181:

@tanishiking

@fitzgen I tested the build 9da52ed, and it seems that various issues I was experiencing in my environment (such as illegal instructions and occasionally values were unexpectedly overwritten with zero values) no longer happens.
Thank you very much for the fixes!

Great to hear! Please do not hesitate to file issues for anything else you might encounter! :)


Last updated: Apr 17 2025 at 21:03 UTC