Stream: git-wasmtime

Topic: wasmtime / issue #15277 Cranelift: "pushed stack maps out...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 22:13):

alexcrichton opened issue #15277:

This input:

test compile
target x86_64

function %f(i64, i64, i64) -> i64 tail {
    ss0 = explicit_slot 16, align = 8
    sig0 = () preserve_all
    fn0 = colocated %g sig0
block0(v0: i64, v1: i64, v2: i64):
    v3 = stack_addr.i64 ss0
    store notrap v0, v3
    v4 = interrupt_poll v1, v2, user3, stack_map=[i64 @ ss0+0]
    call fn0(), stack_map=[i64 @ ss0+8]
    v5 = interrupt_poll v4, v2, user3, stack_map=[i64 @ ss0+0]
    return v5
}

fails with:

$ clif-util test x64.clif
thread 'worker #1' panicked at cranelift/codegen/src/machinst/buffer.rs:1868:9:
pushed stack maps out of order: 26 is not less than 26

The same happens with target aarch64.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 22:13):

alexcrichton added the bug label to Issue #15277.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 22:13):

alexcrichton added the cranelift label to Issue #15277.


Last updated: Nov 19 2026 at 20:05 UTC