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/heap failures #68906

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

runtime/pprof: TestProfilerStackDepth/heap failures #68906

gopherbot opened this issue Aug 15, 2024 · 4 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/heap"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestProfilerStackDepth/heap
panic: runtime.errorString("integer divide by zero")
fatal error: panic holding locks

goroutine 3 gp=0x14000002c40 m=5 mp=0x14000580008 [running]:
runtime.throw({0x104a12b3e?, 0x104baff30?})
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/panic.go:1067 +0x38 fp=0x140000efc30 sp=0x140000efc00 pc=0x1049020a8
panic({0x104a750c0?, 0x104baff30?})
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/panic.go:771 +0x1a8 fp=0x140000efce0 sp=0x140000efc30 pc=0x104901ea8
runtime.panicdivide()
...
runtime/pprof.goroutineDeep(0x104a0ed95?, 0x5?)
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2560 +0xa8 fp=0x1400013bf80 sp=0x1400013bf50 pc=0x1049f97e8
runtime/pprof.produceProfileEvents(0x1400010c9c0, 0x80)
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2580 +0x90 fp=0x1400013bfb0 sp=0x1400013bf80 pc=0x1049f98e0
runtime/pprof.TestProfilerStackDepth.gowrap1()
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2456 +0x2c fp=0x1400013bfd0 sp=0x1400013bfb0 pc=0x1049f92ac
runtime.goexit({})
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400013bfd0 sp=0x1400013bfd0 pc=0x10490a694
created by runtime/pprof.TestProfilerStackDepth in goroutine 12205
	/Volumes/Work/s/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/heap"
2024-08-15 20:19 gotip-darwin-arm64_13 go@dc5389d8 runtime/pprof.TestProfilerStackDepth/heap [ABORT] (log)
=== RUN   TestProfilerStackDepth/heap
panic: runtime.errorString("integer divide by zero")
fatal error: panic holding locks

goroutine 3 gp=0x14000002c40 m=5 mp=0x14000580008 [running]:
runtime.throw({0x104a12b3e?, 0x104baff30?})
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/panic.go:1067 +0x38 fp=0x140000efc30 sp=0x140000efc00 pc=0x1049020a8
panic({0x104a750c0?, 0x104baff30?})
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/panic.go:771 +0x1a8 fp=0x140000efce0 sp=0x140000efc30 pc=0x104901ea8
runtime.panicdivide()
...
runtime/pprof.goroutineDeep(0x104a0ed95?, 0x5?)
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2560 +0xa8 fp=0x1400013bf80 sp=0x1400013bf50 pc=0x1049f97e8
runtime/pprof.produceProfileEvents(0x1400010c9c0, 0x80)
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2580 +0x90 fp=0x1400013bfb0 sp=0x1400013bf80 pc=0x1049f98e0
runtime/pprof.TestProfilerStackDepth.gowrap1()
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2456 +0x2c fp=0x1400013bfd0 sp=0x1400013bfb0 pc=0x1049f92ac
runtime.goexit({})
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400013bfd0 sp=0x1400013bfd0 pc=0x10490a694
created by runtime/pprof.TestProfilerStackDepth in goroutine 12205
	/Volumes/Work/s/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

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "runtime/pprof" && test == "TestProfilerStackDepth/heap"
2024-08-15 20:28 gotip-darwin-arm64_13 go@bd8977be runtime/pprof.TestProfilerStackDepth/heap [ABORT] (log)
=== RUN   TestProfilerStackDepth/heap
fatal error: integer divide by zero

runtime stack:
runtime.throw({0x100823b8a?, 0x14000080008?})
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/panic.go:1067 +0x38 fp=0x16f986b00 sp=0x16f986ad0 pc=0x1007120a8
runtime.panicCheck2({0x100823b8a?, 0x1006d00f4?})
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/panic.go:79 +0x44 fp=0x16f986b20 sp=0x16f986b00 pc=0x1006d6f94
runtime.panicdivide()
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/panic.go:240 +0x28 fp=0x16f986b40 sp=0x16f986b20 pc=0x1006d77b8
...
runtime/pprof.goroutineDeep(0x7?, 0x140004060b9?)
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2560 +0xa8 fp=0x1400010ff80 sp=0x1400010ff50 pc=0x1008097e8
runtime/pprof.produceProfileEvents(0x140000b2d00, 0x80)
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2580 +0x90 fp=0x1400010ffb0 sp=0x1400010ff80 pc=0x1008098e0
runtime/pprof.TestProfilerStackDepth.gowrap1()
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2456 +0x2c fp=0x1400010ffd0 sp=0x1400010ffb0 pc=0x1008092ac
runtime.goexit({})
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x1400010ffd0 sp=0x1400010ffd0 pc=0x10071a694
created by runtime/pprof.TestProfilerStackDepth in goroutine 8913
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2456 +0xe4

watchflakes

@gopherbot
Copy link
Contributor Author

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

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "runtime/pprof" && test == "TestProfilerStackDepth/heap"
2024-08-16 14:47 gotip-darwin-arm64_13 go@0320616d runtime/pprof.TestProfilerStackDepth/heap [ABORT] (log)
=== RUN   TestProfilerStackDepth/heap
panic: runtime.errorString("integer divide by zero")
fatal error: panic holding locks

goroutine 3 gp=0x14000002c40 m=7 mp=0x14000580808 [running]:
runtime.throw({0x104e22b9e?, 0x104fbff30?})
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/panic.go:1067 +0x38 fp=0x14000326bf0 sp=0x14000326bc0 pc=0x104d120a8
panic({0x104e850c0?, 0x104fbff30?})
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/panic.go:771 +0x1a8 fp=0x14000326ca0 sp=0x14000326bf0 pc=0x104d11ea8
runtime.panicdivide()
...
runtime/pprof.goroutineDeep(0x14007e1a9c0?, 0x7c?)
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2560 +0xa8 fp=0x14000177f80 sp=0x14000177f50 pc=0x104e09848
runtime/pprof.produceProfileEvents(0x14007e1a9c0, 0x80)
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2580 +0x90 fp=0x14000177fb0 sp=0x14000177f80 pc=0x104e09940
runtime/pprof.TestProfilerStackDepth.gowrap1()
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2456 +0x2c fp=0x14000177fd0 sp=0x14000177fb0 pc=0x104e0930c
runtime.goexit({})
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000177fd0 sp=0x14000177fd0 pc=0x104d1a694
created by runtime/pprof.TestProfilerStackDepth in goroutine 36944
	/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/pprof/pprof_test.go:2456 +0xe4

watchflakes

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