Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Reconnection deadlock issue #172

Open
GoogleCodeExporter opened this issue Apr 13, 2015 · 1 comment
Open

Reconnection deadlock issue #172

GoogleCodeExporter opened this issue Apr 13, 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 boss...@yahoo.fr on 26 Mar 2014 at 11:56

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by boss...@yahoo.fr on 27 Mar 2014 at 3:45

Attachments:

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

No branches or pull requests

1 participant