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: TestBlockProfile failures with "Bad mutex entry" #37844

Closed
bcmills opened this issue Mar 13, 2020 · 5 comments
Closed

runtime/pprof: TestBlockProfile failures with "Bad mutex entry" #37844

bcmills opened this issue Mar 13, 2020 · 5 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Mar 13, 2020

--- FAIL: TestBlockProfile (0.18s)
    --- FAIL: TestBlockProfile/debug=1 (0.00s)
        pprof_test.go:707: Bad mutex entry, expect:
…            
    --- FAIL: TestBlockProfile/proto (0.00s)
 …
        pprof_test.go:728: No matching stack entry for mutex, want [sync.(*Mutex).Lock runtime/pprof.blockMutex runtime/pprof.TestBlockProfile]
FAIL
FAIL	runtime/pprof	5.161s

CC @hyangah @pjweinbgo

2020-03-12T23:17:02-5d70cb0/linux-ppc64-buildlet
2020-03-12T20:00:02-e221a75/linux-ppc64-buildlet
2020-03-02T16:24:47-d7c073e/darwin-arm64-mn4m2zdaios
2020-01-19T15:28:32-02816a2/darwin-arm64-mn4m2zdaios
2019-11-18T14:40:07-afac2c0/darwin-arm64-mn4m2zdaios

@bcmills bcmills added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Mar 13, 2020
@bcmills bcmills added this to the Backlog milestone Mar 13, 2020
@bcmills
Copy link
Contributor Author

bcmills commented Mar 13, 2020

See also #6999 (possibly the same root cause).

Looks like the test is somehow missing a profile entry.

@bcmills
Copy link
Contributor Author

bcmills commented Jun 8, 2020

@odeke-em
Copy link
Member

@bcmills
Copy link
Contributor Author

bcmills commented Feb 2, 2021

@gopherbot
Copy link

Change https://go.dev/cl/384534 mentions this issue: runtime/pprof: skip TestBlockProfile

@bcmills bcmills self-assigned this Feb 10, 2022
@bcmills bcmills modified the milestones: Backlog, Go1.18 Feb 10, 2022
@rsc rsc unassigned bcmills Jun 23, 2022
@golang golang locked and limited conversation to collaborators Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants