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

Open
bcmills opened this issue Mar 13, 2020 · 2 comments
Open

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

bcmills opened this issue Mar 13, 2020 · 2 comments
Milestone

Comments

@bcmills
Copy link
Member

@bcmills 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
Copy link
Member Author

@bcmills 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
Member Author

@bcmills bcmills commented Jun 8, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.