Opened 12 years ago

Closed 12 years ago

#351 closed defect (fixed)

Possible deadlock in pjsua-api presence subscription (thanks Paul Levin)

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.8.0
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

The locking order of PJSUA_LOCK() and dialog's mutex in presence framework in PJSUA-API is not uniform, and this may cause deadlock.

Change History (1)

comment:1 Changed 12 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from Possible deadlock in pjsua-api presence subscription to Possible deadlock in pjsua-api presence subscription (thanks Paul Levin)

Fixed in r1401.

The locking order is now dialog's mutex then PJSUA_LOCK().

Note: See TracTickets for help on using tickets.