Skip to content

Update wisp to v0.5.8 (epoll recv-on-freed-Conn crash fix)#4

Closed
kwsantiago wants to merge 1 commit into
Start9-Community:masterfrom
privkeyio:update-wisp-v0.5.8
Closed

Update wisp to v0.5.8 (epoll recv-on-freed-Conn crash fix)#4
kwsantiago wants to merge 1 commit into
Start9-Community:masterfrom
privkeyio:update-wisp-v0.5.8

Conversation

@kwsantiago

Copy link
Copy Markdown

Bumps the packaged wisp from v0.5.7 to v0.5.8.

Fixes a SIGSEGV that hit the relay every few hours during normal operation under connection churn: http.zig's epoll worker could free a finished connection while the event loop still had a pending read event for it, so the next read dereferenced freed memory (getState on a null/recycled connection). The pinned http.zig now removes the fd from the event loop and closes it on the loop thread before the connection is recycled. Storage was never at risk.

Pinned to a temporary privkeyio http.zig fork; upstream PR karlseguin/http.zig#216, will repoint to upstream in a follow-up once merged (privkeyio/wisp#120, #123).

  • Dockerfile: WISP_VERSION v0.5.7 -> v0.5.8, WISP_COMMIT -> c820359680262b0adea5506d41c9d73b4cb6bcc6
  • current.ts: version 0.5.8:0 + release notes

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

@kwsantiago

Copy link
Copy Markdown
Author

Superseded by the v0.5.9 update, which folds in this v0.5.8 epoll fix plus the v0.5.9 shutdown-buffer fix so it can be sideloaded once.

@kwsantiago kwsantiago closed this Jun 29, 2026
@kwsantiago kwsantiago deleted the update-wisp-v0.5.8 branch June 29, 2026 13:55
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.

1 participant