Ticket #351 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

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

comment:1 Changed 10 years ago by bennylp

  • Status changed from new to closed
  • Resolution set to fixed
  • 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.