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

consumer_acceptance: an inherited EIGENSCRIPT_GFX selects a stale graphics runtime while the row PASSes

Aperta
#1,301 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
testing-qa

Direzione di ricerca

Start with tests/run_debug_ui_oracle.sh:11 and inspect the 16 consumer scripts to identify the runtime-selector variables they read. Run the critic fixture at /tmp/critic-ca/repro_gfx_env.py against the harness, then verify the row records overridden selectors and reports FAIL or UNRUNNABLE rather than PASS.

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

Descrizione

area:gates found-by:critic kind:silent-wrong

Found by the blind critic on the #1275 consumer_acceptance shrink (e283521). It is pre-existing: the old harness at 88ba928 behaves the same way.

Problem. A consumer that picks its graphics runtime from an inherited environment variable can run a stale binary while its row reads PASS. DMG's real selector is tests/run_debug_ui_oracle.sh:11: EIGS="$(dmg_runtime "$ROOT_DIR" "${EIGENSCRIPT_GFX:-${EIGENSCRIPT_BIN:-}}")". If EIGENSCRIPT_GFX is inherited from the caller's environment, it points at an absolute path the harness does not control. The row's headless candidate call is counted, so cand_calls>0 and the row PASSes, even though the graphics program ran on a different runtime.

Reproduce (critic's fixture: a byte-copy of DMG's tests/runtime.sh plus that selector line). The reproducer lives on the dev box, at /tmp/critic-ca/repro_gfx_env.py <harness>. Both harnesses: PASS, while executable-side logs show the stale graphics runtime ran the graphics program.

Done when:

  • The harness either unsets or overrides the runtime-selector variables consumers are known to read (EIGENSCRIPT_GFX, EIGENSCRIPT_BIN, EIGS, EIGENSCRIPT: derive the list from the 16 consumers' scripts, not by hand). Overriding points them at the counting shims, or at a 127 shim when the variant is not supplied.
  • The critic's fixture run against the harness reads FAIL, or UNRUNNABLE by name, instead of PASS.
  • The row record names which selector variables were overridden.
Lingua principale
C
Stelle
3
Fork
7
Merge medio
4h 15m
PR unite (30g)
106

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.