Using ffa2bd2. The offending commit is probably something recent (last 2 weeks).
I'm seeing this compiler failure building a (proprietary) test:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5b43b2]
goroutine 1 [running]:
panic(0xa2e120, 0xc42000e0a0)
src/runtime/panic.go:502 +0x1b2
cmd/compile/internal/gc.(*Mpint).Cmp(0x0, 0xc42007b1d0, 0xc424c325a0)
src/cmd/compile/internal/gc/mpint.go:252 +0x22
cmd/compile/internal/gc.walkexpr(0xc424c32630, 0xc44340f498, 0xc424c32900)
src/cmd/compile/internal/gc/walk.go:1521 +0xa23c
cmd/compile/internal/gc.walkexpr(0xc424c327e0, 0xc44340f498, 0x0)
src/cmd/compile/internal/gc/walk.go:738 +0x1261
cmd/compile/internal/gc.walkstmt(0xc424c327e0, 0xc424c32a20)
src/cmd/compile/internal/gc/walk.go:192 +0xe59
cmd/compile/internal/gc.walkstmtlist(0xc439669900, 0x11, 0x20)
src/cmd/compile/internal/gc/walk.go:80 +0x4d
cmd/compile/internal/gc.walk(0xc424c439e0)
src/cmd/compile/internal/gc/walk.go:65 +0x1e4
cmd/compile/internal/gc.compile(0xc424c439e0)
src/cmd/compile/internal/gc/pgen.go:391 +0x1d4
cmd/compile/internal/gc.funccompile(0xc424c439e0)
src/cmd/compile/internal/gc/dcl.go:1258 +0x186
cmd/compile/internal/gc.Main()
src/cmd/compile/internal/gc/main.go:484 +0x2065
cmd/compile/internal/amd64.Main()
src/cmd/compile/internal/amd64/galign.go:93 +0x2fa
main.main()
src/cmd/compile/main.go:33 +0x2a3
\cc @randall77 @mdempsky @ianlancetaylor
I'm still trying to strip the offending code into a smaller reproduction. Any advice on how to isolate the problem is welcome.
Using ffa2bd2. The offending commit is probably something recent (last 2 weeks).
I'm seeing this compiler failure building a (proprietary) test:
\cc @randall77 @mdempsky @ianlancetaylor
I'm still trying to strip the offending code into a smaller reproduction. Any advice on how to isolate the problem is welcome.