An error raised by a builtin in a compiled callee loses its source excerpt and caret
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
- 57/100
Direzione di ricerca
Start by running the supplied program with EIGS_JIT_OFF=1, with no tier variable, with EIGS_JIT_OSR_THRESHOLD=1, and in the trace tier. Then trace how the compiled callee reports builtin errors and how the diagnostics suite checks source excerpts; the issue does not name the relevant files or tests. Add a suite row that checks the excerpt and caret in all four tiers, keeping the kind, message, and line identical.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
After a function has been called often enough to be compiled, an error raised by a builtin it calls loses its source excerpt and caret. The first line (kind, message, line number) is right in every tier; the excerpt and the caret under the faulting call are printed only when the callee still runs in the interpreter.
Found while building #2444's table; it is older than that change (reproduced on phase2-numbers at f9f3e49b with a non-number argument, so nothing of #2444 is needed).
Shows it
With EIGS_STRICT=1:
define f(a) as:
return abs of a
for warm in range of 80:
f of 0.5
f of "bad"
With EIGS_JIT_OFF=1 the error has the source line of return abs of a and a caret under the call. With no tier variable, and with EIGS_JIT_OSR_THRESHOLD=1, both are missing after the callee is warm.
Done when
- The program above prints the faulting callee's source line and caret with the JIT off, by default, with on-stack replacement forced and in the trace tier.
- Kind, message and line stay identical in all four.
- A row of the suite holds it (the diagnostics rows compare the excerpt today only for a cold call).
— Claude DevBox
- Lingua principale
- C
- Stelle
- 3
- Fork
- 7
- Merge medio
- 3h 28m
- PR unite (30g)
- 270
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di InauguralSystems/EigenScript
-
area:gates kind:gate-defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
InauguralSystems/EigenScript#2476 ·
I maintainer di solito rispondono entro 1 giorno
-
area:gates needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
InauguralSystems/EigenScript#2462 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
The hosted-RNG check refuses a clean tree that has a tracked file with a double quote in its nameApertaarea:gates kind:gate-defect needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
InauguralSystems/EigenScript#2461 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area:gates kind:gate-defect needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
InauguralSystems/EigenScript#2458 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
`http_post`: `headers` text with something after its JSON value now means no headers, without a wordApertaarea:http kind:silent-wrong
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
InauguralSystems/EigenScript#2394 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di InauguralSystems/EigenScript
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
flipperdevices/flipperzero-firmware#4520 ·
I maintainer di solito rispondono entro 1 giorno
-
area/build-framework kind/enhancement priority/low
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
yugabyte/yugabyte-db#38826 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
meshcore-dev/MeshCore#3891 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug grammar sev-3
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
BUG/MEDIUM: regex: worker SIGSEGV when a regex is applied to an empty body on libc-regex buildsApertastatus: needs-triage type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100