[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

go test SIGSEGV on mips64el for gitsign/0.13.0-1



All,

I got a SIGSEGV from running 'go test' on mips64el in gitsign.  Does
anyone understand any of the backtrace below?  Has anyone seen this for
any other Go packages?  Buildd log here:

https://buildd.debian.org/status/fetch.php?pkg=gitsign&arch=mips64el&ver=0.13.0-1&stamp=1744282800&raw=0

I've asked for a giveback so we can learn if this was a spurious crash
or happens more than once, but the mips64el buildd seems busy.

Which package would be the right one to file a crash like this on?
golang-1.24-go?

/Simon

PS. This e-mail is a re-send to the debian-go list because I used the
wrong e-mail address in my first post which was already delivered to
debian-mips: https://lists.debian.org/debian-mips/2025/04/msg00008.html

   dh_auto_test -a -O--builddirectory=_build -O--buildsystem=golang
	cd _build && go test -vet=off -v -p 4 github.com/sigstore/gitsign github.com/sigstore/gitsign/cmd/gitsign-credential-cache github.com/sigstore/gitsign/docs/cli github.com/sigstore/gitsign/internal github.com/sigstore/gitsign/internal/attest github.com/sigstore/gitsign/internal/cache github.com/sigstore/gitsign/internal/cache/api github.com/sigstore/gitsign/internal/cache/service github.com/sigstore/gitsign/internal/cert github.com/sigstore/gitsign/internal/commands/attest github.com/sigstore/gitsign/internal/commands/initialize github.com/sigstore/gitsign/internal/commands/root github.com/sigstore/gitsign/internal/commands/show github.com/sigstore/gitsign/internal/commands/verify github.com/sigstore/gitsign/internal/commands/verify-tag github.com/sigstore/gitsign/internal/commands/version github.com/sigstore/gitsign/internal/config github.com/sigstore/gitsign/internal/fork/ietf-cms github.com/sigstore/gitsign/internal/fork/ietf-cms/timestamp github.com/sigstore/gitsign/internal/fulcio github.com/sigstore/gitsign/internal/fulcio/fulcioroots github.com/sigstore/gitsign/internal/git github.com/sigstore/gitsign/internal/git/gittest github.com/sigstore/gitsign/internal/gitsign github.com/sigstore/gitsign/internal/gpg github.com/sigstore/gitsign/internal/io github.com/sigstore/gitsign/internal/rekor github.com/sigstore/gitsign/internal/rekor/oid github.com/sigstore/gitsign/internal/signature github.com/sigstore/gitsign/internal/signerverifier github.com/sigstore/gitsign/pkg/fulcio github.com/sigstore/gitsign/pkg/git github.com/sigstore/gitsign/pkg/gitsign github.com/sigstore/gitsign/pkg/predicate github.com/sigstore/gitsign/pkg/rekor github.com/sigstore/gitsign/pkg/version
# github.com/google/trillian
SIGSEGV: segmentation violation
PC=0xa2c28 m=2 sigcode=128 addr=0x0

goroutine 0 gp=0xc000002a80 m=2 mp=0xc000060808 [idle]:
runtime.step({0x1268e2c, 0x7efb4, 0x7efb4}, 0xc000079ec0, 0xc000079ea0, 0x0)
	runtime/symtab.go:1248 fp=0xc000079e40 sp=0xc000079e40 pc=0xa2c28
runtime.funcMaxSPDelta(...)
	runtime/symtab.go:1191
runtime.newstack()
	runtime/stack.go:1085 +0x860 fp=0xc000079fc8 sp=0xc000079e40 pc=0x9c1d8
runtime.morestack()
	runtime/asm_mips64x.s:277 +0x78 fp=0xc000079fd0 sp=0xc000079fc8 pc=0xc9a08

goroutine 176 gp=0xc00287c380 m=2 mp=0xc000060808 [running]:
cmd/compile/internal/ssagen.(*state).exprCheckPtr(0xc002f98000, {0xf5dc70, 0xc000fa12c0}, 0x1)
	cmd/compile/internal/ssagen/ssa.go:2786 +0x20 fp=0xc000100500 sp=0xc000100500 pc=0xa07d98
cmd/compile/internal/ssagen.(*state).expr(...)
	cmd/compile/internal/ssagen/ssa.go:2783
cmd/compile/internal/ssagen.(*state).stmt(0xc002f98000, {0xf5eff8, 0xc0029fd6d0})
	cmd/compile/internal/ssagen/ssa.go:1706 +0x8fc0 fp=0xc000100af0 sp=0xc000100500 pc=0xa03e70
cmd/compile/internal/ssagen.(*state).stmtList(...)
	cmd/compile/internal/ssagen/ssa.go:1449
cmd/compile/internal/ssagen.buildssa(0xc001ac97c0, 0x0, 0x0)
	cmd/compile/internal/ssagen/ssa.go:580 +0x3564 fp=0xc000100ea0 sp=0xc000100af0 pc=0x9f4f5c
cmd/compile/internal/ssagen.Compile(0xc001ac97c0, 0x0, 0x0)
	cmd/compile/internal/ssagen/pgen.go:304 +0xbc fp=0xc000100f78 sp=0xc000100ea0 pc=0x9e5294
cmd/compile/internal/gc.compileFunctions.func5.1(0x0)
	cmd/compile/internal/gc/compile.go:189 +0x64 fp=0xc000100fb0 sp=0xc000100f78 pc=0xc7e144
cmd/compile/internal/gc.compileFunctions.func3.1()
	cmd/compile/internal/gc/compile.go:171 +0x5c fp=0xc000100fd8 sp=0xc000100fb0 pc=0xc7e60c
runtime.goexit({})
	runtime/asm_mips64x.s:671 +0x4 fp=0xc000100fd8 sp=0xc000100fd8 pc=0xcbcf4
created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 13
	cmd/compile/internal/gc/compile.go:170 +0x2d8

goroutine 1 gp=0xc0000021c0 m=nil [sync.WaitGroup.Wait]:
runtime.gopark(0xe0ed40, 0x1547a00, 0x18, 0x5, 0x4)
	runtime/proc.go:435 +0x140 fp=0xc0018a95e0 sp=0xc0018a95c8 pc=0xc3250
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.semacquire1(0xc0028a4fe8, 0x0, 0x1, 0x0, 0x18)
	runtime/sema.go:188 +0x2a8 fp=0xc0018a9628 sp=0xc0018a95e0 pc=0x929c8
sync.runtime_SemacquireWaitGroup(0xc0028a4fe8)
	runtime/sema.go:110 +0x58 fp=0xc0018a9658 sp=0xc0018a9628 pc=0xc5200
sync.(*WaitGroup).Wait(0xc0028a4fe0)
	sync/waitgroup.go:118 +0x98 fp=0xc0018a9670 sp=0xc0018a9658 pc=0xe89e8
cmd/compile/internal/gc.compileFunctions(0x0)
	cmd/compile/internal/gc/compile.go:201 +0x38c fp=0xc0018a96d0 sp=0xc0018a9670 pc=0xc7df5c
cmd/compile/internal/gc.Main(0xe0de28)
	cmd/compile/internal/gc/main.go:316 +0x2d70 fp=0xc0018a9ef8 sp=0xc0018a96d0 pc=0xc81c10
main.main()
	cmd/compile/main.go:57 +0x1d4 fp=0xc0018a9f68 sp=0xc0018a9ef8 pc=0xcbafb4
runtime.main()
	runtime/proc.go:283 +0x394 fp=0xc0018a9fd8 sp=0xc0018a9f68 pc=0x74afc
runtime.goexit({})
	runtime/asm_mips64x.s:671 +0x4 fp=0xc0018a9fd8 sp=0xc0018a9fd8 pc=0xcbcf4

goroutine 2 gp=0xc000002700 m=nil [force gc (idle)]:
runtime.gopark(0xe0ed40, 0x153bd00, 0x11, 0xa, 0x1)
	runtime/proc.go:435 +0x140 fp=0xc00005afa8 sp=0xc00005af90 pc=0xc3250
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.forcegchelper()
	runtime/proc.go:348 +0x13c fp=0xc00005afd8 sp=0xc00005afa8 pc=0x75054
runtime.goexit({})
	runtime/asm_mips64x.s:671 +0x4 fp=0xc00005afd8 sp=0xc00005afd8 pc=0xcbcf4
created by runtime.init.6 in goroutine 1
	runtime/proc.go:336 +0x48

goroutine 3 gp=0xc000002c40 m=nil [GC sweep wait]:
runtime.gopark(0xe0ed40, 0x153c1c0, 0xc, 0x9, 0x1)
	runtime/proc.go:435 +0x140 fp=0xc00005b740 sp=0xc00005b728 pc=0xc3250
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.bgsweep(0xc00003a080)
	runtime/mgcsweep.go:276 +0x10c fp=0xc00005b7c8 sp=0xc00005b740 pc=0x500f4
runtime.gcenable.gowrap1()
	runtime/mgc.go:204 +0x64 fp=0xc00005b7d8 sp=0xc00005b7c8 pc=0x3d9bc
runtime.goexit({})
	runtime/asm_mips64x.s:671 +0x4 fp=0xc00005b7d8 sp=0xc00005b7d8 pc=0xcbcf4
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:204 +0xc4

goroutine 4 gp=0xc000002e00 m=nil [GC scavenge wait]:
runtime.gopark(0xe0ed40, 0x153cac0, 0xd, 0xa, 0x2)
	runtime/proc.go:435 +0x140 fp=0xc00005bf80 sp=0xc00005bf68 pc=0xc3250
runtime.goparkunlock(...)
	runtime/proc.go:441
runtime.(*scavengerState).park(0x153cac0)
	runtime/mgcscavenge.go:425 +0x9c fp=0xc00005bfa8 sp=0xc00005bf80 pc=0x4c4cc
runtime.bgscavenge(0xc00003a080)
	runtime/mgcscavenge.go:653 +0x80 fp=0xc00005bfc8 sp=0xc00005bfa8 pc=0x4cbf8
runtime.gcenable.gowrap2()
	runtime/mgc.go:205 +0x64 fp=0xc00005bfd8 sp=0xc00005bfc8 pc=0x3d944
runtime.goexit({})
	runtime/asm_mips64x.s:671 +0x4 fp=0xc00005bfd8 sp=0xc00005bfd8 pc=0xcbcf4
created by runtime.gcenable in goroutine 1
	runtime/mgc.go:205 +0x130

goroutine 5 gp=0xc000003340 m=nil [finalizer wait]:
runtime.gopark(0xe0ea90, 0x1571a38, 0x10, 0xa, 0x1)
	runtime/proc.go:435 +0x140 fp=0xc00005a738 sp=0xc00005a720 pc=0xc3250
runtime.runfinq()
	runtime/mfinal.go:196 +0x198 fp=0xc00005a7d8 sp=0xc00005a738 pc=0x3c2c8
runtime.goexit({})
	runtime/asm_mips64x.s:671 +0x4 fp=0xc00005a7d8 sp=0xc00005a7d8 pc=0xcbcf4
created by runtime.createfing in goroutine 1
	runtime/mfinal.go:166 +0xa8

goroutine 186 gp=0xc000003a40 m=nil [runnable]:
time.runtimeNow()
	runtime/time.go:17 +0x1c fp=0xc002f29e38 sp=0xc002f29e38 pc=0xc80a4
time.Now(...)
	time/time.go:1341
cmd/compile/internal/ssa.Compile(0xc002ebaea0)
	cmd/compile/internal/ssa/compile.go:96 +0xbcc fp=0xc002f2daf0 sp=0xc002f29e38 pc=0x4d6efc
cmd/compile/internal/ssagen.buildssa(0xc0016bb040, 0x1, 0x0)
	cmd/compile/internal/ssagen/ssa.go:600 +0x36d8 fp=0xc002f2dea0 sp=0xc002f2daf0 pc=0x9f50d0
cmd/compile/internal/ssagen.Compile(0xc0016bb040, 0x1, 0x0)
	cmd/compile/internal/ssagen/pgen.go:304 +0xbc fp=0xc002f2df78 sp=0xc002f2dea0 pc=0x9e5294
cmd/compile/internal/gc.compileFunctions.func5.1(0x1)
	cmd/compile/internal/gc/compile.go:189 +0x64 fp=0xc002f2dfb0 sp=0xc002f2df78 pc=0xc7e144
cmd/compile/internal/gc.compileFunctions.func3.1()
	cmd/compile/internal/gc/compile.go:171 +0x5c fp=0xc002f2dfd8 sp=0xc002f2dfb0 pc=0xc7e60c
runtime.goexit({})
	runtime/asm_mips64x.s:671 +0x4 fp=0xc002f2dfd8 sp=0xc002f2dfd8 pc=0xcbcf4
created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 13
	cmd/compile/internal/gc/compile.go:170 +0x2d8

goroutine 13 gp=0xc000003dc0 m=nil [select]:
runtime.gopark(0xe0eda0, 0x0, 0x9, 0x3, 0x1)
	runtime/proc.go:435 +0x140 fp=0xc000056d88 sp=0xc000056d70 pc=0xc3250
runtime.selectgo(0xc000056fb8, 0xc000056f38, 0x0, 0x0, 0x2, 0x1)
	runtime/select.go:351 +0x8f0 fp=0xc000056ee8 sp=0xc000056d88 pc=0x912c0
cmd/compile/internal/gc.compileFunctions.func3()
	cmd/compile/internal/gc/compile.go:159 +0x144 fp=0xc000056fd8 sp=0xc000056ee8 pc=0xc7e33c
runtime.goexit({})
	runtime/asm_mips64x.s:671 +0x4 fp=0xc000056fd8 sp=0xc000056fd8 pc=0xcbcf4
created by cmd/compile/internal/gc.compileFunctions in goroutine 1
	cmd/compile/internal/gc/compile.go:152 +0x188

goroutine 141 gp=0xc00008b340 m=nil [runnable]:
slices.pdqsortCmpFunc[...]({0xc002ea7990, 0xf, 0x40}, 0x0, 0x6, 0x4, 0xe0e8e8)
	slices/zsortanyfunc.go:61 +0x20 fp=0xc002ea7698 sp=0xc002ea7698 pc=0x9698a0
slices.pdqsortCmpFunc[...]({0xc002ea7990, 0xf, 0x40}, 0x0, 0xf, 0x4, 0xe0e8e8)
	slices/zsortanyfunc.go:121 +0x8a8 fp=0xc002ea7760 sp=0xc002ea7698 pc=0x96a128
slices.SortFunc[...](...)
	slices/sort.go:32
cmd/compile/internal/ssa.schedule(0xc002e58680)
	cmd/compile/internal/ssa/schedule.go:265 +0x514 fp=0xc002ea7e38 sp=0xc002ea7760 pc=0x943624
cmd/compile/internal/ssa.Compile(0xc002e58680)
	cmd/compile/internal/ssa/compile.go:97 +0xccc fp=0xc002eabaf0 sp=0xc002ea7e38 pc=0x4d6ffc
cmd/compile/internal/ssagen.buildssa(0xc001ac6c80, 0x2, 0x0)
	cmd/compile/internal/ssagen/ssa.go:600 +0x36d8 fp=0xc002eabea0 sp=0xc002eabaf0 pc=0x9f50d0
cmd/compile/internal/ssagen.Compile(0xc001ac6c80, 0x2, 0x0)
	cmd/compile/internal/ssagen/pgen.go:304 +0xbc fp=0xc002eabf78 sp=0xc002eabea0 pc=0x9e5294
cmd/compile/internal/gc.compileFunctions.func5.1(0x2)
	cmd/compile/internal/gc/compile.go:189 +0x64 fp=0xc002eabfb0 sp=0xc002eabf78 pc=0xc7e144
cmd/compile/internal/gc.compileFunctions.func3.1()
	cmd/compile/internal/gc/compile.go:171 +0x5c fp=0xc002eabfd8 sp=0xc002eabfb0 pc=0xc7e60c
runtime.goexit({})
	runtime/asm_mips64x.s:671 +0x4 fp=0xc002eabfd8 sp=0xc002eabfd8 pc=0xcbcf4
created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 13
	cmd/compile/internal/gc/compile.go:170 +0x2d8

goroutine 188 gp=0xc002d2f340 m=nil [runnable]:
runtime.asyncPreempt2()
	runtime/preempt.go:308 +0x5c fp=0xc002f0ff38 sp=0xc002f0ff20 pc=0x72d9c
runtime.asyncPreempt()
	runtime/preempt_mips64x.s:76 +0x10c fp=0xc002f10120 sp=0xc002f0ff38 pc=0xcce2c
cmd/compile/internal/ssa.(*sparseSet).add(...)
	cmd/compile/internal/ssa/sparseset.go:36
cmd/compile/internal/ssa.storeOrder(...)
	cmd/compile/internal/ssa/schedule.go:402
cmd/compile/internal/ssa.nilcheckelim(0xc002ebb520)
	cmd/compile/internal/ssa/nilcheck.go:117 +0x1504 fp=0xc002f11e38 sp=0xc002f10128 pc=0x536894
cmd/compile/internal/ssa.Compile(0xc002ebb520)
	cmd/compile/internal/ssa/compile.go:97 +0xce8 fp=0xc002f15af0 sp=0xc002f11e38 pc=0x4d7018
cmd/compile/internal/ssagen.buildssa(0xc0016bba40, 0x3, 0x0)
	cmd/compile/internal/ssagen/ssa.go:600 +0x36d8 fp=0xc002f15ea0 sp=0xc002f15af0 pc=0x9f50d0
cmd/compile/internal/ssagen.Compile(0xc0016bba40, 0x3, 0x0)
	cmd/compile/internal/ssagen/pgen.go:304 +0xbc fp=0xc002f15f78 sp=0xc002f15ea0 pc=0x9e5294
cmd/compile/internal/gc.compileFunctions.func5.1(0x3)
	cmd/compile/internal/gc/compile.go:189 +0x64 fp=0xc002f15fb0 sp=0xc002f15f78 pc=0xc7e144
cmd/compile/internal/gc.compileFunctions.func3.1()
	cmd/compile/internal/gc/compile.go:171 +0x5c fp=0xc002f15fd8 sp=0xc002f15fb0 pc=0xc7e60c
runtime.goexit({})
	runtime/asm_mips64x.s:671 +0x4 fp=0xc002f15fd8 sp=0xc002f15fd8 pc=0xcbcf4
created by cmd/compile/internal/gc.compileFunctions.func3 in goroutine 13
	cmd/compile/internal/gc/compile.go:170 +0x2d8

r0   0x0	r1   0x0
r2   0xad0893766521abd9	r3   0xc000079ea0
r4   0x1	r5   0xa07d78
r6   0x0	r7   0x0
r8   0x2	r9   0x2
r10  0x1	r11  0x4000000
r12  0x1	r13  0xfffffffffd580800
r14  0x0	r15  0x0
r16  0xc002e7a8f0	r17  0x0
r18  0x3	r19  0xc00004aec8
r20  0x0	r21  0x145d8a0
r22  0x0	r23  0x0
r24  0x958632c2272997c2	r25  0x2efb74df98b869df
r26  0x0	r27  0x0
r28  0x0	r29  0xc000079e40
r30  0xc000002a80	r31  0x9c1d8
pc   0xa2c28	link 0x9c1d8
lo   0xc738	hi   0x0
FAIL	github.com/sigstore/gitsign [build failed]

Attachment: signature.asc
Description: PGP signature


Reply to: