-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
possibly dead lock #2080
Comments
Thanks @zhizhouzh, your analysis is correct as far as I can tell. I'll try to fix this. |
Please test #2083 and tell if it fixes the deadlock. |
Thanks, This issue does not reproduce any more with this patchset. |
Hi, any updates about this issue? Thanks! |
Unfortunately no. |
This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time. |
Hi experts,
I met a dead lock issue, the log is shown as below:
It seems, one thread holds
&tee_ta_mutex
and tries to seize&pgt_mu
bycondvar_wait(&pgt_cv, &pgt_mu);
. It's probably because of there is no enough pgt_cache entries, then this thread hangs itself to wait other thread to exit and to free pgt.But on the other side, the other thread is waiting for
&tee_ta_mutex
intee_ta_close_session()
. But this lock is seized by the first thread. So this thread is not able to free pgt. Finally results dead lock.Could anyone help to confirm it? Thanks!
The text was updated successfully, but these errors were encountered: