`interrupt_poll` isn't handled by the inliner or by stack maps
Los mantenedores suelen responder en 1 día
@Shoryamishra61 ya está trabajando en esto.
Desde el 22/10/2026.
- #14947 de @Shoryamishra61 — abierto
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Start with the reproducer inputs and the two reported panic sites: cranelift/codegen/src/inline.rs:239 and cranelift/codegen/src/machinst/lower.rs:966. Run the shown cargo run -p cranelift-tools test foo.clif cases for the inline and compile paths. Done means both inputs pass without panicking; the issue does not identify the relevant implementation or tests beyond these reproducers.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
This input:
test inline
target x86_64
function %callee(i64, i64) -> i64 tail {
block0(v0: i64, v1: i64):
v2 = interrupt_poll v0, v1, user3
return v2
}
function %caller(i64, i64) -> i64 system_v {
fn0 = %callee(i64, i64) -> i64 tail
block0(v0: i64, v1: i64):
v2 = call fn0(v0, v1)
return v2
}
fails with:
$ cargo run -p cranelift-tools test foo.clif
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s
Running `target/debug/clif-util test foo.clif`
thread 'worker #3' (2504781) panicked at cranelift/codegen/src/inline.rs:239:21:
should have matched all call instructions, but found: inst0: v2 = interrupt_poll.i64 v0, v1, user3
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2026-10-21T20:48:10Z ERROR cranelift_filetests::concurrent] FAIL: panicked in worker #3: should have matched all call instructions, but found: inst0: v2 = interrupt_poll.i64 v0, v1, user3
FAIL foo.clif: panicked in worker #3: should have matched all call instructions, but found: inst0: v2 = interrupt_poll.i64 v0, v1, user3
1 tests
Error: 1 failure
and this input:
test compile
target x86_64
target aarch64
function %f(i64, i64) -> i64 tail {
ss0 = explicit_slot 8
block0(v0: i64, v1: i64):
v5 = stack_addr.i64 ss0
store v0, v5
v2 = interrupt_poll v0, v1, user3, stack_map=[i64 @ ss0+0]
v3 = load.i64 v5
v4 = iadd v2, v3
return v4
}
fails with:
$ cargo run -p cranelift-tools test foo.clif
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s
Running `target/debug/clif-util test foo.clif`
thread 'worker #3' (2506268) panicked at cranelift/codegen/src/machinst/lower.rs:966:17:
assertion `left == right` failed
left: 0
right: 1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[2026-10-21T20:49:41Z ERROR cranelift_filetests::concurrent] FAIL: panicked in worker #3: assertion `left == right` failed
left: 0
right: 1
FAIL foo.clif: panicked in worker #3: assertion `left == right` failed
left: 0
right: 1
1 tests
Error: 1 failure
cc @erikrose
- Lenguaje dominante
- Rust
- Estrellas
- 18.7k
- Forks
- 1.9k
- Merge medio
- 20 h 33 min
- PR fusionados (30 d)
- 377
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de bytecodealliance/wasmtime
-
bug wasm-proposal:exceptions wasmtime:debugging
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
bytecodealliance/wasmtime#14102 ·
Los mantenedores suelen responder en 1 día
-
wasm-proposal:gc
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
bytecodealliance/wasmtime#13808 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Add volatile flag to MemFlagsAbiertocranelift cranelift:area:clif cranelift:goal:optimize-speed enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
bytecodealliance/wasmtime#1598 · 9 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
wasm-proposal:component-model-async
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
bytecodealliance/wasmtime#14950 ·
Los mantenedores suelen responder en 1 día
-
wasm-proposal:component-model-async
Dificultad 4/5 3-5 días Aptitud para principiantes 49/100
bytecodealliance/wasmtime#14949 ·
Los mantenedores suelen responder en 1 día
Todos los issues de bytecodealliance/wasmtime
Issues similares
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
area:sim good first issue kind:feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
Los mantenedores suelen responder en 1 día
-
The demo's interval button and chart legend keep the previous interval after an interval changeAbiertobug ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
userFRM/egui-charts#670 ·
Los mantenedores suelen responder en 1 día
-
docs good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
Usenova-Labs/usenova-backend#35 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
lugassawan/swe-workbench#823 ·
Los mantenedores suelen responder en 1 día