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
Original issue reported on code.google.com by
boss...@yahoo.fr
on 26 Mar 2014 at 11:56Attachments: