Opened 13 years ago

Closed 13 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):

  1. Registered with PJSUA to SIP server over 3G connection
  2. Turn on Airplane Mode of the iPhone device
  3. Because reachability was lost, our software will now shut down PJSUA
  4. PJSUA will crash when it tries to un-register from the SIP server on shutdown like this:

Change History (2)

comment:1 Changed 13 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 13 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

(In [3524]) Fixed #1230: Removed assertion in PJLIB for Posix when fails to release mutex (thanks Marcus Froeschl for the report)

Note: See TracTickets for help on using tickets.