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

go tool trace is broken, "failed to parse any useful part of the trace: misuse of region in goroutine" #58364

Open
tiancaiamao opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@tiancaiamao
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

start tidb, run some workload

then use the trace tool

curl 'http://127.0.0.1:10080/debug/pprof/trace?seconds=3' > trace.out
go tool trace -http=:6062 trace.out 
2024/12/18 11:29:22 Preparing trace for viewer...
failed to parse any useful part of the trace: misuse of region in goroutine 387: region end {228 pdclient.tsoReqSend} when the inner-most active region start event is {0 pdclient.tsoReqSend}

2. What did you expect to see? (Required)

go tool trace works.

3. What did you see instead (Required)

It's broken.

failed to parse any useful part of the trace: misuse of region in goroutine 387: region end {228 pdclient.tsoReqSend} when the inner-most active region start event is {0 pdclient.tsoReqSend}

4. What is your TiDB version? (Required)

@tiancaiamao tiancaiamao added the type/bug The issue is confirmed as a bug. label Dec 18, 2024
@jebter jebter added the sig/sql-infra SIG: SQL Infra label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

2 participants