Skip to content

Update wisp to v0.5.9 (churn + shutdown crash fixes)#5

Merged
MattDHill merged 1 commit into
Start9-Community:masterfrom
privkeyio:update-wisp-v0.5.9
Jun 29, 2026
Merged

Update wisp to v0.5.9 (churn + shutdown crash fixes)#5
MattDHill merged 1 commit into
Start9-Community:masterfrom
privkeyio:update-wisp-v0.5.9

Conversation

@kwsantiago

Copy link
Copy Markdown

Bumps the packaged wisp from v0.5.7 to v0.5.9, folding in v0.5.8 so it can be sideloaded once.

Fixes two SIGSEGV crash classes in the http.zig event-loop worker:

  1. Churn crash (v0.5.8, #120): a finished connection could be freed while the event loop still had a pending read for it, so the next read touched freed memory. Hit every few hours during normal operation. Connections are now removed from the event loop before being freed.
  2. Shutdown crash (v0.5.9, #115): when a query (REQ) was still being served as the relay stopped, the per-connection buffers the query was reading were freed before in-flight handlers finished. The worker pool now drains before any buffers are freed. (Completes the v0.5.7 fix, which joined too late.)

Storage was never at risk in either case.

Pinned to a temporary privkeyio http.zig fork (edad924 = upstream 8dc6441 + both fixes); upstream PRs karlseguin/http.zig#216 and #217. Will repoint to upstream in a follow-up once both merge.

  • Dockerfile: WISP_VERSION v0.5.7 -> v0.5.9, WISP_COMMIT -> bbea8bdd15d24ae5b9760e602fb3e2a7110e8ef0
  • current.ts: version 0.5.9:0 + release notes

Built locally: wisp_x86_64.s9pk, ReleaseSafe, baseline CPU.

@MattDHill MattDHill merged commit be897c7 into Start9-Community:master Jun 29, 2026
3 checks passed
@kwsantiago kwsantiago deleted the update-wisp-v0.5.9 branch July 1, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants