alexcrichton commented on issue #3235:
Review-wise the first two commits here are https://github.com/bytecodealliance/wasmtime/pull/3231, so only the later commits are part of this PR
github-actions[bot] commented on issue #3235:
Subscribe to Label Action
cc @peterhuene
<details>
This issue or pull request has been labeled: "wasmtime:api"Thus the following users have been cc'd because of the following labels:
- peterhuene: wasmtime:api
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
alexcrichton commented on issue #3235:
Ok rebased on
main
now that #3231 has merged
alexcrichton commented on issue #3235:
On CI the ubuntu builder (x86_64 linux) failed with
failures: ---- wast::Cranelift::misc::bulk_memory_operations::imported_memory_copy_pooling stdout ---- thread 'wast::Cranelift::misc::bulk_memory_operations::imported_memory_copy_pooling' panicked at 'called `Result::unwrap()` on an `Err` value: failed directive on tests/misc_testsuite/bulk-memory-operations/imported-memory-copy.wast:94:1 Caused by: 0: result 0 didn't match 1: expected 1 / 0x0000000000000001 actual 0 / 0x0000000000000000', /home/runner/work/wasmtime/wasmtime/target/debug/build/wasmtime-cli-57f1ea6755e2ec03/out/wast_testsuite_tests.rs:333:18 stack backtrace: 0: rust_begin_unwind at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/std/src/panicking.rs:515:5 1: core::panicking::panic_fmt at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/panicking.rs:92:14 2: core::result::unwrap_failed at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/result.rs:1355:5 3: core::result::Result<T,E>::unwrap at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/result.rs:1037:23 4: all::wast::Cranelift::misc::bulk_memory_operations::imported_memory_copy_pooling at ./target/debug/build/wasmtime-cli-57f1ea6755e2ec03/out/wast_testsuite_tests.rs:328:17 5: all::wast::Cranelift::misc::bulk_memory_operations::imported_memory_copy_pooling::{{closure}} at ./target/debug/build/wasmtime-cli-57f1ea6755e2ec03/out/wast_testsuite_tests.rs:326:13 6: core::ops::function::FnOnce::call_once at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/ops/function.rs:227:5 7: core::ops::function::FnOnce::call_once at /rustc/a178d0322ce20e33eac124758e837cbd80a6f633/library/core/src/ops/function.rs:227:5 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. failures: wast::Cranelift::misc::bulk_memory_operations::imported_memory_copy_pooling test result: FAILED. 457 passed; 1 failed; 0 ignored; 0 measured; 213 filtered out; finished in 69.78s error: test failed, to rerun pass '-p wasmtime-cli --test all'
I'm going to rerun to see if it's spurious because I can't reproduce locally. If it's spurious, though, that makes this worse...
peterhuene commented on issue #3235:
That's worrisome and not something I've seen before.
peterhuene commented on issue #3235:
I can't explain why this would be spurious, but it gives me pause given the fact we just changed memory initialization code a bit (the failure appears to be on just validating that an imported memory has the expected data segment initialized).
alexcrichton commented on issue #3235:
Yeah I suspect the error is in my previous PR as well, I'll try to dig more into that tomorrow, this shouldn't land in the meantime
alexcrichton commented on issue #3235:
Ok I've reproduced this locally, more investigation tomorrow!
alexcrichton commented on issue #3235:
I believe the spurious failure I saw wasn't in this PR, but rather the previous PR, and should be fixed in https://github.com/bytecodealliance/wasmtime/pull/3238, so I'm gonna go ahead and merge this.
Last updated: Nov 22 2024 at 17:03 UTC