Stream: git-wasmtime

Topic: wasmtime / PR #14741 avoid panic when `call_async` future...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 14 2026 at 15:46):

alexcrichton opened PR #14741 from alexcrichton:fix-panic-when-future-dropped to bytecodealliance:main:

As the test illustrates, it's possible for such a future to be dropped when it has been queued to run (i.e. is no longer in the instance's pending set due to backpressure) but has not yet been run. Prior to this patch, that led to a panic in TypedFunc::call_async_concurrent::SignalDrop::drop. This addresses that by modifying StoreOpaque::cancel_guest_subtask_without_lowered_parameters to look for and remove any matching tasks in the
ConcurrentState::high_priority and ConcurrentState::low_priority queues if they weren't found in the pending set.

Part of https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-3r89-v5mq-j5xf

view this post on Zulip Wasmtime GitHub notifications bot (Oct 14 2026 at 15:46):

alexcrichton requested cfallin for a review on PR #14741.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 14 2026 at 15:46):

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

view this post on Zulip Wasmtime GitHub notifications bot (Oct 14 2026 at 18:50):

github-actions[bot] added the label wasmtime:api on PR #14741.

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

:thumbs_up: cfallin submitted PR review.

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

cfallin added PR #14741 avoid panic when call_async future dropped while queued to the merge queue.

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

:check: cfallin merged PR #14741.

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

cfallin removed PR #14741 avoid panic when call_async future dropped while queued from the merge queue.


Last updated: Oct 31 2026 at 23:03 UTC