Stream: git-wasmtime

Topic: wasmtime / PR #15232 Fix a segfault with guest-debug grow...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 16:09):

alexcrichton requested cfallin for a review on PR #15232.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 16:09):

alexcrichton opened PR #15232 from alexcrichton:fix-watchpoint-segfault to bytecodealliance:main:

This commit fixes an issue where watchpoints could cause a segfault if the debug handler grew memory. The native address being checked was calculated first, then the debug handler run, and then the original native address was used for a store. In the event of a memory growth, however, this could cause memory to move meaning that calling the debug handler could invalidate a native address. The fix here is to shuffle around where the debug handler is called, notably before the native address is created.

<!--
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 (Nov 11 2026 at 16:09):

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

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 16:09):

alexcrichton requested wasmtime-compiler-reviewers for a review on PR #15232.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 17:07):

:thumbs_up: cfallin submitted PR review:

Thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 17:07):

cfallin added PR #15232 Fix a segfault with guest-debug growing memories to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 17:31):

github-merge-queue[bot] removed PR #15232 Fix a segfault with guest-debug growing memories from the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 19:04):

alexcrichton updated PR #15232.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 19:05):

alexcrichton has enabled auto merge for PR #15232.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 19:17):

alexcrichton added PR #15232 Fix a segfault with guest-debug growing memories to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 19:20):

github-merge-queue[bot] removed PR #15232 Fix a segfault with guest-debug growing memories from the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 12 2026 at 15:19):

alexcrichton updated PR #15232.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 12 2026 at 15:19):

alexcrichton has enabled auto merge for PR #15232.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 12 2026 at 15:30):

alexcrichton added PR #15232 Fix a segfault with guest-debug growing memories to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 12 2026 at 15:53):

:check: alexcrichton merged PR #15232.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 12 2026 at 15:53):

alexcrichton removed PR #15232 Fix a segfault with guest-debug growing memories from the merge queue.


Last updated: Nov 19 2026 at 20:05 UTC