Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

`interrupt_poll` isn't handled by the inliner or by stack maps

Abierto
#14,926 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
compilers

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

cranelift

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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de bytecodealliance/wasmtime

Todos los issues de bytecodealliance/wasmtime

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.