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

Dead loop occured when doing perf #867

Closed
choxsword opened this issue Dec 14, 2023 · 4 comments
Closed

Dead loop occured when doing perf #867

choxsword opened this issue Dec 14, 2023 · 4 comments
Labels

Comments

@choxsword
Copy link

choxsword commented Dec 14, 2023

image

企业微信截图_17025259212201
企业微信截图_17025385145680

The pictures above are generated by pstack and gdb. The async_profiler is maximizing CPU usage and does not exit. It seems that there is a spin lock which is not got released, leading to such dead loop issue.

@apangin
Copy link
Collaborator

apangin commented Dec 14, 2023

What profiler version are you running?
Can you show stack traces of other threads?

@choxsword
Copy link
Author

choxsword commented Dec 29, 2023

What profiler version are you running? Can you show stack traces of other threads?

version is Async-profiler 2.7 built on Nov 25 2022. The primary scene has already been lost. So I'm sorry that I cannot provide more informations except the exsisting one.

Other threads are our business threads, they all runs normally.

@apangin
Copy link
Collaborator

apangin commented Dec 30, 2023

There were many fixes since version 2.7. Please try an up-to-date version of the profiler.
2.7 is no longer supported.

@apangin
Copy link
Collaborator

apangin commented Dec 31, 2023

I'm closing the bug assuming it has been already fixed. Feel free to reopen if you encounter this again with a recent version.

@apangin apangin closed this as completed Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants