Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime/pprof: TestProfilerStackDepth failures #68892

Closed
gopherbot opened this issue Aug 15, 2024 · 2 comments
Closed

runtime/pprof: TestProfilerStackDepth failures #68892

gopherbot opened this issue Aug 15, 2024 · 2 comments
Assignees
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsFix The path to resolution is known, but the work has not been done.

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
default <- pkg == "runtime/pprof" && test == "TestProfilerStackDepth"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestProfilerStackDepth
panic: runtime.errorString("integer divide by zero")
fatal error: panic on system stack

runtime stack:
runtime.throw({0x7ff7ab38e484?, 0x7ff7ab4ee150?})
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:1067 +0x38 fp=0x3d4d9ff400 sp=0x3d4d9ff3d0 pc=0x7ff7ab21f2a8
panic({0x7ff7ab35b0e0?, 0x7ff7ab4ee150?})
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:749 +0x2bc fp=0x3d4d9ff4b0 sp=0x3d4d9ff400 pc=0x7ff7ab21f1bc
runtime.panicdivide()
...
runtime.asyncPreempt2()
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/preempt.go:306 +0x2c fp=0x40000d1dd0 sp=0x40000d1db0 pc=0x7ff7ab1e96dc
runtime.asyncPreempt()
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/preempt_arm64.s:47 +0x9c fp=0x40000d1fc0 sp=0x40000d1dd0 pc=0x7ff7ab2281cc
runtime/pprof.TestProfilerStackDepth.gowrap1()
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2456 fp=0x40000d1fd0 sp=0x40000d1fd0 pc=0x7ff7ab328390
runtime.goexit({})
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x40000d1fd0 sp=0x40000d1fd0 pc=0x7ff7ab227634
created by runtime/pprof.TestProfilerStackDepth in goroutine 70880
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2456 +0xe4

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Aug 15, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "runtime/pprof" && test == "TestProfilerStackDepth"
2024-08-15 00:52 gotip-windows-arm64 go@49adb8e4 runtime/pprof.TestProfilerStackDepth [ABORT] (log)
=== RUN   TestProfilerStackDepth
panic: runtime.errorString("integer divide by zero")
fatal error: panic on system stack

runtime stack:
runtime.throw({0x7ff7ab38e484?, 0x7ff7ab4ee150?})
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:1067 +0x38 fp=0x3d4d9ff400 sp=0x3d4d9ff3d0 pc=0x7ff7ab21f2a8
panic({0x7ff7ab35b0e0?, 0x7ff7ab4ee150?})
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:749 +0x2bc fp=0x3d4d9ff4b0 sp=0x3d4d9ff400 pc=0x7ff7ab21f1bc
runtime.panicdivide()
...
runtime.asyncPreempt2()
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/preempt.go:306 +0x2c fp=0x40000d1dd0 sp=0x40000d1db0 pc=0x7ff7ab1e96dc
runtime.asyncPreempt()
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/preempt_arm64.s:47 +0x9c fp=0x40000d1fc0 sp=0x40000d1dd0 pc=0x7ff7ab2281cc
runtime/pprof.TestProfilerStackDepth.gowrap1()
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2456 fp=0x40000d1fd0 sp=0x40000d1fd0 pc=0x7ff7ab328390
runtime.goexit({})
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x40000d1fd0 sp=0x40000d1fd0 pc=0x7ff7ab227634
created by runtime/pprof.TestProfilerStackDepth in goroutine 70880
	C:/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2456 +0xe4

watchflakes

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Aug 15, 2024
@rhysh rhysh self-assigned this Aug 15, 2024
@rhysh rhysh added NeedsFix The path to resolution is known, but the work has not been done. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Aug 15, 2024
@gopherbot
Copy link
Contributor Author

Change https://go.dev/cl/606115 mentions this issue: runtime: store zero-delay mutex contention events

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsFix The path to resolution is known, but the work has not been done.
Projects
Archived in project
Development

No branches or pull requests

2 participants