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

线程泄漏检测疑似存在误报的情况? #263

Open
Ian0903 opened this issue Nov 29, 2023 · 0 comments
Open

线程泄漏检测疑似存在误报的情况? #263

Ian0903 opened this issue Nov 29, 2023 · 0 comments

Comments

@Ian0903
Copy link

Ian0903 commented Nov 29, 2023

image
捕获的线程泄漏,tid为15568。

image
业务代码该线程已设置为pthread_detach状态

image
KOOM hook到的相关日志对应的时间点和线程打印没有设置pthread_detach,于是标记为泄漏线程。

这边业务的场景是循环创建线程(大概3-5秒)创建一个线程,会偶现上面疑似误报的情况。

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

No branches or pull requests

1 participant