Stream: git-wasmtime

Topic: wasmtime / PR #14923 Fix a `bail_bug!` eagerly cancelling...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 21 2026 at 19:54):

alexcrichton requested dicej for a review on PR #14923.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 21 2026 at 19:54):

alexcrichton opened PR #14923 from alexcrichton:fix-bail-bug-4 to bytecodealliance:main:

This commit fixes a possible bail_bug! being hit when a guest task is cancelled before it's started. In this situation the pending "switch item" was getting mixed up due to the assumptions of the internal cleanup_thread function.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.md

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Oct 21 2026 at 19:54):

alexcrichton requested wasmtime-core-reviewers for a review on PR #14923.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 21 2026 at 21:06):

:thumbs_up: dicej submitted PR review:

Eventually we should run out of forgot-to-save-and-restore-next-switch-context bugs to find and fix. They've got to be finite, right?

view this post on Zulip Wasmtime GitHub notifications bot (Oct 21 2026 at 21:08):

alexcrichton added PR #14923 Fix a bail_bug! eagerly cancelling a guest task to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 21 2026 at 21:31):

:check: alexcrichton merged PR #14923.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 21 2026 at 21:31):

alexcrichton removed PR #14923 Fix a bail_bug! eagerly cancelling a guest task from the merge queue.


Last updated: Oct 31 2026 at 23:03 UTC