Opened 14 years ago
Closed 14 years ago
#1230 closed defect (fixed)
Removed assertion in PJLIB for Posix when fails to release mutex (thanks Marcus Froeschl for the report)
Reported by: | bennylp | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-1.10 |
Component: | pjlib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: |
Description
Currently PJLIB would raise an assertion if it fails to release/destroy a pthread mutex. Considering that there may be a situation where a failure may occur, it's better to remove this assertion.
One sample scenario where this occurred (on iPhone):
- Registered with PJSUA to SIP server over 3G connection
- Turn on Airplane Mode of the iPhone device
- Because reachability was lost, our software will now shut down PJSUA
- PJSUA will crash when it tries to un-register from the SIP server on shutdown like this:
Change History (2)
comment:1 Changed 14 years ago by bennylp
- Summary changed from Removed assertion in PJLIB for Posix when fails to release mutex to Removed assertion in PJLIB for Posix when fails to release mutex (thanks Marcus Froeschl for the report)
comment:2 Changed 14 years ago by bennylp
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
(In [3524]) Fixed #1230: Removed assertion in PJLIB for Posix when fails to release mutex (thanks Marcus Froeschl for the report)