Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

app: a Debug launch sometimes panics with ISCONN on a network thread

Open
#318 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
zig
Domain
networking

Research direction

The payload names no files. Start by searching the fizzy code for std network connect calls on the launch path: the update check, the plugin store or registry fetch, Drive, and the single-instance socket. Check whether any of them calls connect again after a non-blocking connect has already completed. Done means either a launch loop in CI reproduces the ISCONN panic with a clear cause, or the bug is filed upstream with Zig and a fizzy-side fix is merged.

Written by the indexing model from the issue text.

Description

bug

About 1 Debug launch in 10 panics on a background network thread with:

programmer bug caused syscall error: ISCONN

It happens inside Zig std's concurrent connect. Seen while doing #313's local verdict runs on macOS. It isn't caused by that work: it shows up at launch, before any tape runs.

EISCONN from connect means the socket is already connected. A non-blocking connect that completed is being connected again (a retry or poll loop calling connect a second time instead of reading SO_ERROR), or a socket is reused. Std treats it as unreachable, so Debug panics and release builds have undefined behaviour.

To do:

  • Find which fizzy code does a network connect at launch (update check, plugin store or registry fetch, Drive, the single-instance socket) and how it calls std.
  • Decide whether the bug is fizzy's use of the API or std's. If std's, report it upstream to Zig with a reproduction; if fizzy's, fix it here.

It's intermittent, so the verdict run can't gate on it yet. A CI loop of launches would show it.

🤖 Generated with Claude Code

Dominant language
Zig
Stars
1.5k
Forks
40
Avg merge
5h 35m
Merged PRs (30d)
151

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fizzyedit/fizzy

All issues in fizzyedit/fizzy

Similar issues

More Networking issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.