An error raised by a builtin in a compiled callee loses its source excerpt and caret
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 57/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- C
- Estrelas
- 3
- Forks
- 7
- Merge médio
- 3h 28min
- PRs com merge (30d)
- 270
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de InauguralSystems/EigenScript
-
area:gates kind:gate-defect
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
InauguralSystems/EigenScript#2476 ·
Mantenedores costumam responder em até 1 dia
-
area:gates needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
InauguralSystems/EigenScript#2462 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
The hosted-RNG check refuses a clean tree that has a tracked file with a double quote in its nameAbertaarea:gates kind:gate-defect needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
InauguralSystems/EigenScript#2461 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
area:gates kind:gate-defect needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
InauguralSystems/EigenScript#2458 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
`http_post`: `headers` text with something after its JSON value now means no headers, without a wordAbertaarea:http kind:silent-wrong
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
InauguralSystems/EigenScript#2394 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de InauguralSystems/EigenScript
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
flipperdevices/flipperzero-firmware#4520 ·
Mantenedores costumam responder em até 1 dia
-
area/build-framework kind/enhancement priority/low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
yugabyte/yugabyte-db#38826 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
the-miint/duckdb-miint#497 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
meshcore-dev/MeshCore#3891 · 1 comentário ·
Mantenedores costumam responder em até 1 dia