Pothagani / idoubs

Automatically exported from code.google.com/p/idoubs
0 stars 0 forks source link

Reconnection deadlock issue #172

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago

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

Attachments: