-
Notifications
You must be signed in to change notification settings - Fork 25
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
Deadlock in [rest device] when called from activation state machine #654
Comments
Hello @tcard and @ricardopereira If I can help you, please let me know, I would gladly collaborate to solve this issue. |
Hello @tcard and @ricardopereira, Just wondering if you have been able to take a look on this? And again, if there's anything I can do, I'll be happy to do it. |
@itolisto Not yet, sorry. But I'll look at it today. You're using the |
@ricardopereira Yes, I’m using the push branch. |
Hi @ricardopereira, Just checking again if you have had the chance to take a look on this. Sorry if I'm being annoying (: And again, if I can help please tell me. 👍 |
@itolisto Sorry. I had to deal with an other issue the other day. I'll reach you later today to test this out please 😊 |
A test should be added with this issue at #662 |
@itolisto Can you test the fix using the |
@ricardopereira Testing this right now. |
@ricardopereira I can't reproduce the issue anymore, I believe this is fixed. 👍 Thank you for your help |
Good to hear! Thank you |
A customer has reported a crash due to this. The call stack shows that
[rest device]
was called from the state machine while already holding the lock. We need to ensure this doesn't happen; we probably need a[rest device_nosync]
method like the others we have around, and use that from the activation machine, and put andispatch_async
on entry points of the state machine.The text was updated successfully, but these errors were encountered: