Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

test_gfx_ctype_locale.sh starts Xvfb without -noreset, so a gfx case can die "x11 not available" under load

Aperta Adatta ai principianti
#2,215 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
1-3 ore
Idoneità per principianti
90/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
testing

Direzione di ricerca

Leggi tests/test_gfx_ctype_locale.sh e individua l’avvio del server Xvfb; controlla come lo script attende che sia pronto e come esegue i suoi casi gfx. Aggiungi il flag richiesto, quindi esegui make gfx-x11-regressions e verifica il comportamento della sonda indicato, con e senza il flag.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:gfx kind:bug

Found while fixing #2204 (PR #2214).

tests/test_gfx_ctype_locale.sh (also run by make gfx-x11-regressions) starts Xvfb "$DISPLAY_NUM" -screen 0 640x480x24 with no -noreset, then runs three gfx programs back to back after an xdpyinfo readiness poll. Xvfb resets every time its last established client disconnects, and a reset kills any connection still in its handshake. This is the same race that made test_gfx_utf8_title.sh fail with gfx_open: SDL_Init failed: x11 not available.

Deterministic probe (Python, from the #2214 evidence): open a raw unix-socket connection to the display, let one other client connect and disconnect, then send the X11 setup request.

  • plain Xvfb: pending client: CLOSED by server
  • Xvfb -noreset: pending client: SETUP OK

In this script a gfx case that loses the race prints different output, so the cmp check fails with "ctype builtin output depends on gfx or the environment locale". That would point the reader at the wrong cause.

Done when

  • grep -n 'Xvfb .*-noreset' tests/test_gfx_ctype_locale.sh matches the server start.
  • make gfx-x11-regressions passes.
  • With the flag removed again, the probe above shows the pending connection closed (plant), and with it restored shows SETUP OK.

— Duet (orchestrator)

Lingua principale
C
Stelle
3
Fork
7
Merge medio
8h 36m
PR unite (30g)
406

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di InauguralSystems/EigenScript

Tutte le issue di InauguralSystems/EigenScript

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.