xixi-box removed the review request for wasmtime-compiler-reviewers from PR #15285.
xixi-box opened PR #15285 from xixi-box:fix/issue-15277-5d042ce-c9d671a3 to bytecodealliance:main:
Fixes #15277
Root cause: A call return PC can equal the following interrupt_poll fault PC, causing distinct user stack maps to share an address and violate their strict ordering; inserting a NOP before the poll when these PCs collide preserves both maps.
<!-- oss-scout-job:job-9193e006-1300-423c-9dd2-c9d671a305f3 -->
Tests:
target/debug/clif-util test -v cranelift/filetests/filetests/isa/interrupt-poll-after-call.clif(fails on base; passes with this patch).
Regression coverage:cranelift/filetests/filetests/isa/interrupt-poll-after-call.clif.AI assistance: Codex helped implement and test this change. oss-scout independently replayed the regression before opening this PR.
xixi-box requested wasmtime-compiler-reviewers for a review on PR #15285.
xixi-box requested cfallin for a review on PR #15285.
github-actions[bot] added the label cranelift on PR #15285.
github-actions[bot] added the label cranelift:area:machinst on PR #15285.
github-actions[bot] added the label cranelift:area:aarch64 on PR #15285.
github-actions[bot] added the label cranelift:area:x64 on PR #15285.
:memo: cfallin submitted PR review:
Thanks. Can you address the comment below? Also, can you fix this for aarch64 as well?
:speech_balloon: cfallin created PR review comment:
Rather than doing this, let's do something else:
- Let's not add any additional complexity to the
MachBuffer; I think we can handle this during emission in the backends.- Let's keep some state in the
EmitStaterecording the last offset at which we emitted a stack map.- Let's then add a NOP if and only if we try to emit a stack map at an offset that already has a stack map.
xixi-box updated PR #15285.
:cross_mark: cfallin closed without merge PR #15285.
cfallin commented on PR #15285:
@xixi-box I see this note in your latest commit message (ca9dda5):
Local Rust tests unavailable; validation pending CI.Given the general principle of "contributors should be engaged with the project", and after talking with another maintainer and getting more context on some of your other PRs, I am going to go ahead and close this: you were asked to stop making AI-assisted contributions where you don't have a personal understanding of the work, and "have not even installed a Rust toolchain" is a good sign that you are not actually developing locally and understanding the issues here. (Also, a contributor pushing untested changes to our CI intentionally is wasteful.) I will fix this issue on my own in the manner I had suggested.
Thanks!
Last updated: Nov 19 2026 at 20:05 UTC