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

Abierto
#318 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
zig
Área
networking

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Zig
Estrellas
1.5k
Forks
40
Merge medio
7 h 16 min
PR fusionados (30 d)
762

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de fizzyedit/fizzy

Todos los issues de fizzyedit/fizzy

Issues similares

Más issues de Networking

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.