Closed cockroach-teamcity closed 1 year ago
===== SEED =====
1682657602877739979
===== ERR =====
exit status 2
===== OUT =====
unexpected fault address 0x200004d9f000
fatal error: fault
runtime: g 197: unexpected return pc for runtime.sigpanic called from 0x0
stack: frame={sp:0x7ffc48d0e508, fp:0x7ffc48d0e558} stack=[0xc0004f8000,0xc0004fc000)
fatal error: unknown caller pc
runtime stack:
runtime.throw({0x111fac5?, 0x172e420?})
GOROOT/src/runtime/panic.go:1047 +0x5d fp=0x7ffc48d0e210 sp=0x7ffc48d0e1e0 pc=0x455f3d
runtime.gentraceback(0x4278b3?, 0x26c4808?, 0x7ffc48d0e5b8?, 0x7ffc48d0e5b8?, 0x0, 0x0, 0x7fffffff, 0x7ffc48d0e5d0, 0x11188b4?, 0x0)
GOROOT/src/runtime/traceback.go:269 +0x1cf7 fp=0x7ffc48d0e580 sp=0x7ffc48d0e210 pc=0x47f597
runtime.addOneOpenDeferFrame.func1()
GOROOT/src/runtime/panic.go:645 +0x6b fp=0x7ffc48d0e5f8 sp=0x7ffc48d0e580 pc=0x4550cb
runtime.systemstack()
src/runtime/asm_amd64.s:492 +0x49 fp=0x7ffc48d0e600 sp=0x7ffc48d0e5f8 pc=0x48a089
goroutine 197 [running]:
runtime: g 197: unexpected return pc for runtime.systemstack_switch called from 0x0
stack: frame={sp:0x7ffc48d0e400, fp:0x7ffc48d0e408} stack=[0xc0004f8000,0xc0004fc000)
runtime.systemstack_switch()
src/runtime/asm_amd64.s:459 fp=0x7ffc48d0e408 sp=0x7ffc48d0e400 pc=0x48a020
created by github.com/cockroachdb/pebble.(*DB).maybeCollectTableStatsLocked
github.com/cockroachdb/pebble/external/com_github_cockroachdb_pebble/table_stats.go:46 +0xa5
That smells more like a runtime issue.
Side node: the reproduction command isn't accurate. It needs the -trace
flag too.
$ go test -race -tags 'invariants' -exec 'stress -p 1' -timeout 0 -test.v -run TestMeta$ ./internal/metamorphic -seed 1682657602877739979 -ops "uniform:5000-10000"
Was trying to stress this on my Linux box with the same Go version and same SHA, but after 2 hours, nothing.
I did find this issue in Go, which is similar.
github.com/cockroachdb/pebble/internal/metamorphic.TestMeta failed with artifacts on refs/heads/master @ e955da9b332e:
Help
To reproduce, try: ```bash go test -tags 'invariants' -exec 'stress -p 1' -timeout 0 -test.v -run TestMeta$ ./internal/metamorphic -seed 1682657602877739979 -ops "uniform:5000-10000" ```
This test on roachdash | Improve this report!