#1873 closed defect (fixed)
iOS application getting killed after pjsua fail to release a disconnected transport
Reported by: | nanang | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.4.5 |
Component: | pjsua-lib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description (last modified by ming)
Important: The proper fix for this ticket is available in ticket #1893, which belonged to release 2.5.
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.
Change History (4)
comment:1 Changed 9 years ago by nanang
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 9 years ago by ming
- Description modified (diff)
comment:3 Changed 9 years ago by ming
In 5188:
comment:4 Changed 9 years ago by ming
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
In 5143: