No.
internal\mtproto\write.go:18:26: internal compiler error: 'init': Value live at entry. It shouldn't be. func init, node bin.length, value nil
goroutine 70 [running]:
runtime/debug.Stack()
G:/workspace/golang/go/src/runtime/debug/stack.go:24 +0x65
cmd/compile/internal/base.FatalfAt({0x70a28?, 0xc0?}, {0xc001716550, 0x46}, {0xc001976a40, 0x4, 0x4})
G:/workspace/golang/go/src/cmd/compile/internal/base/print.go:227 +0x1d7
cmd/compile/internal/base.Fatalf(...)
G:/workspace/golang/go/src/cmd/compile/internal/base/print.go:196
cmd/compile/internal/ssagen.(*ssafn).Fatalf(0xc0017abe90?, {0x0?, 0x0?}, {0x19da3fb, 0x40}, {0xc00197cfc0, 0x3, 0xc000070b01?})
G:/workspace/golang/go/src/cmd/compile/internal/ssagen/ssa.go:7831 +0x177
cmd/compile/internal/ssagen.(*state).Fatalf(0xc000e081d0?, {0x19da3fb?, 0xc000070ae8?}, {0xc00197cfc0?, 0x17062e7?, 0xc00037c8c0?})
G:/workspace/golang/go/src/cmd/compile/internal/ssagen/ssa.go:936 +0x6f
cmd/compile/internal/ssagen.(*state).variable(0xc00191dc00, {0x1b163e8, 0xc0015e4160}, 0x20?)
G:/workspace/golang/go/src/cmd/compile/internal/ssagen/ssa.go:6528 +0x186
cmd/compile/internal/ssagen.(*state).exprCheckPtr(0xc00191dc00, {0x1b163e8?, 0xc0015e4160?}, 0x1)
G:/workspace/golang/go/src/cmd/compile/internal/ssagen/ssa.go:2684 +0x1bc
cmd/compile/internal/ssagen.(*state).expr(...)
G:/workspace/golang/go/src/cmd/compile/internal/ssagen/ssa.go:2642
cmd/compile/internal/ssagen.(*state).stmt(0xc00191dc00, {0x1b14e58, 0xc00179e140?})
G:/workspace/golang/go/src/cmd/compile/internal/ssagen/ssa.go:1675 +0x4a71
cmd/compile/internal/ssagen.(*state).stmtList(...)
G:/workspace/golang/go/src/cmd/compile/internal/ssagen/ssa.go:1421
cmd/compile/internal/ssagen.(*state).stmt(0xc00191dc00, {0x1b15080, 0xc00179a240?})
G:/workspace/golang/go/src/cmd/compile/internal/ssagen/ssa.go:1441 +0x45e5
cmd/compile/internal/ssagen.(*state).stmtList(...)
G:/workspace/golang/go/src/cmd/compile/internal/ssagen/ssa.go:1421
cmd/compile/internal/ssagen.(*state).stmt(0xc00191dc00, {0x1b14e58, 0xc0016054f0?})
G:/workspace/golang/go/src/cmd/compile/internal/ssagen/ssa.go:1436 +0x150
cmd/compile/internal/ssagen.(*state).stmtList(...)
G:/workspace/golang/go/src/cmd/compile/internal/ssagen/ssa.go:1421
cmd/compile/internal/ssagen.buildssa(0xc001311a40, 0x3)
G:/workspace/golang/go/src/cmd/compile/internal/ssagen/ssa.go:552 +0x1ee6
cmd/compile/internal/ssagen.Compile(0xc001311a40, 0x0?)
G:/workspace/golang/go/src/cmd/compile/internal/ssagen/pgen.go:185 +0x4c
cmd/compile/internal/gc.compileFunctions.func5.1(0x0?)
G:/workspace/golang/go/src/cmd/compile/internal/gc/compile.go:171 +0x3a
cmd/compile/internal/gc.compileFunctions.func3.1()
G:/workspace/golang/go/src/cmd/compile/internal/gc/compile.go:153 +0x32
created by cmd/compile/internal/gc.compileFunctions.func3
G:/workspace/golang/go/src/cmd/compile/internal/gc/compile.go:152 +0x245
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
No.
What operating system and processor architecture are you using (
go env)?go envOutputWhat did you do?
We got this error on our tip pipeline: https://github.com/gotd/td/actions/runs/3486077630/jobs/5832192510
Compiler fails to build this line:
https://github.com/gotd/td/blob/7aaba815698a4c2a57cfd68eac22ab4d84c74ad5/internal/mtproto/write.go#L18
I've tried to minimize the reproducer, but have had no success.
What did you expect to see?
Successful
go buildrun.What did you see instead?
Stack trace: