go 运行时:测试调试调用增长堆栈失败

ubbxdtey  于 6个月前  发布在  Go
关注(0)|答案(3)|浏览(53)
#!watchflakes
post <- pkg == "runtime" && test == "TestDebugCallGrowStack" && log ~ `morestack on g0`

自动创建的问题以收集这些故障。
示例( log ):

fatal: morestack on g0
trap in unknown function runtime.abort
SIGTRAP: trace trap
PC=0x70a99c42f662 m=12 sigcode=128

rax    0x17
rbx    0x70a99c767be2
rcx    0x70a99c430fd5
rdx    0x17
rdi    0x2
...
fs     0x0
gs     0x0

runtime.notetsleepg(0x70a900000064?, 0x30?)
	/workdir/go/src/runtime/lock_futex.go:236 +0x29 fp=0xc00091be78 sp=0xc00091be40 pc=0x70a99c3c37e9
runtime.InjectDebugCall(0xc0000c3040, {0x70a99c82d7c0, 0x70a99c8c2cb8}, 0x0, {0x0, 0x0}, 0x70a99c8c31e0, 0x0)
	/workdir/go/src/runtime/export_debug_test.go:68 +0x3c5 fp=0xc00091bf00 sp=0xc00091be78 pc=0x70a99c4200c5
runtime_test.TestDebugCallGrowStack(0xc000304340)
	/workdir/go/src/runtime/debug_test.go:221 +0x56 fp=0xc00091bf70 sp=0xc00091bf00 pc=0x70a99c6b0a76
testing.tRunner(0xc000304340, 0x70a99c8c15c0)

watchflakes

sxissh06

sxissh061#

找到新的 Jmeter 板测试碎片:

#!watchflakes
default <- pkg == "runtime" && test == "TestDebugCallGrowStack"

2023-10-03 14:10 android-amd64-emu go@98289021 runtime.TestDebugCallGrowStack ( log )

fatal: morestack on g0
trap in unknown function runtime.abort
SIGTRAP: trace trap
PC=0x70a99c42f662 m=12 sigcode=128

rax    0x17
rbx    0x70a99c767be2
rcx    0x70a99c430fd5
rdx    0x17
rdi    0x2
...
fs     0x0
gs     0x0

runtime.notetsleepg(0x70a900000064?, 0x30?)
	/workdir/go/src/runtime/lock_futex.go:236 +0x29 fp=0xc00091be78 sp=0xc00091be40 pc=0x70a99c3c37e9
runtime.InjectDebugCall(0xc0000c3040, {0x70a99c82d7c0, 0x70a99c8c2cb8}, 0x0, {0x0, 0x0}, 0x70a99c8c31e0, 0x0)
	/workdir/go/src/runtime/export_debug_test.go:68 +0x3c5 fp=0xc00091bf00 sp=0xc00091be78 pc=0x70a99c4200c5
runtime_test.TestDebugCallGrowStack(0xc000304340)
	/workdir/go/src/runtime/debug_test.go:221 +0x56 fp=0xc00091bf70 sp=0xc00091bf00 pc=0x70a99c6b0a76
testing.tRunner(0xc000304340, 0x70a99c8c15c0)

watchflakes

pbgvytdp

pbgvytdp3#

更新了 watchflakes 模式,使用 post 代替 default 并匹配故障消息。

相关问题