alexcrichton opened PR #14910 from alexcrichton:fix-bail-bug-3 to bytecodealliance:main:
This commit fixes a situation where a component calls the host, the host calls some other component which traps, and then the host returns to the original call normally. Previously this hit a
bail_bug!since the stale state of the previous trapping component was still leftover and not fully cleaned up. The fix here is to prevent reentering components upon return if the store is flagged as having trapped.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested pchickey for a review on PR #14910.
alexcrichton removed the review request for wasmtime-core-reviewers from PR #14910.
alexcrichton requested wasmtime-core-reviewers for a review on PR #14910.
:thumbs_up: pchickey submitted PR review.
alexcrichton added PR #14910 Fix a bail_bug! on recursive host calls to the merge queue.
alexcrichton removed PR #14910 Fix a bail_bug! on recursive host calls from the merge queue.
:check: alexcrichton merged PR #14910.
Last updated: Oct 31 2026 at 23:03 UTC