Opened 9 years ago
Last modified 9 years ago
#1893 closed defect
iOS application getting killed after pjsua fail to release a disconnected transport — at Initial Version
Reported by: | ming | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.5 |
Component: | pjsua-lib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
This is related to #1482 point 2 (spurious wakeups problem after TCP disconnection).
Scenario:
- Registration for account A is in progress, and DNS is in the process of resolving the hostname, hence TCP transport is not created yet and account transport (pjsua_acc.auto_rereg.reg_tp) is set to NULL.
- Transport eventually gets created, but account transport is not updated.
- Transport disconnection occurs, normally pjsua will release the disconnected transport from the account, however as transport pointer of account A is NULL, pjsua fails to detect and release it immediately.
- Note that the transport stays not released/destroyed until a new registration by account A (using a new transport) is issued or the account is deleted.
Note: See
TracTickets for help on using
tickets.