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

Reconnection deadlock issue #172

Open
GoogleCodeExporter opened this issue May 4, 2015 · 1 comment
Open

Reconnection deadlock issue #172

GoogleCodeExporter opened this issue May 4, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

We found that the reconnection code is not surrounded by a background task, 
thus causing the application to be suspended in the middle of reconnection.
The library enters deadlock after running for ~5 hours. From the logs:
STACK_DISCONNECTED event is triggered, but reconnection does not take place. 
The library's thread is busy waiting for something, and therefore does not post 
the notification which should tell the application to reconnect.
The library's status remains CONNECTED, and is not updated.
Enter and place a call to see if the library is truly locked.
The application freezes instantly upon dialling. We believe the library is 
unresponsive at this point.
To solve this, we tested moving the library calling code to a separate thread 
than the main thread, and it seems to have fixed the problem, but only 
intermittently.
There are 2 types of deadlock we have been able to reproduce; please see logs 
attached. Thanks again for all your help.

Original issue reported on code.google.com by [email protected] on 26 Mar 2014 at 11:56

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 27 Mar 2014 at 3:45

Attachments:

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

No branches or pull requests

1 participant