Stream: git-wasmtime

Topic: wasmtime / PR #14777 gdbstub and tests: bind to any free ...


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

cfallin opened PR #14777 from cfallin:fix-racy-debugger-port to bytecodealliance:main:

Addressing [this comment]: rather than search for a free port and then bind it, which has a TOCTOU race, we should add a mode to the gdbstub server to select any port, printing the bound port on startup, then connect to that one.

[this comment]: https://github.com/bytecodealliance/wasmtime/pull/14776#pullrequestreview-5540383266

<!--
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 15 2026 at 23:09):

cfallin requested dicej for a review on PR #14777.

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

cfallin requested wasmtime-core-reviewers for a review on PR #14777.

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

:thumbs_up: alexcrichton submitted PR review.

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

alexcrichton added PR #14777 gdbstub and tests: bind to any free port (when instructed); avoid racy integration test. to the merge queue

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

:check: alexcrichton merged PR #14777.

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

alexcrichton removed PR #14777 gdbstub and tests: bind to any free port (when instructed); avoid racy integration test. from the merge queue


Last updated: Oct 31 2026 at 23:03 UTC