Opened 11 years ago

Closed 11 years ago

#1623 closed defect (fixed)

Concurrency issues in PJSUA-LIB

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-2.1
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no


This ticket is the placeholder for various concurrency issues in PJSIP.

Change History (2)

comment:1 Changed 11 years ago by bennylp

In 4363:

Re #1623: fixed deadlock between conference mutex and ICE. Scenario:

  • sound device thread calls put_frame() which gets the conf mutex, and is calling transport sendto() to send RTP packet which requires ICE mutex.
  • The worker thread finished ICE negotiation and notifies PJSUA-LIB and application while holding ICE group lock, app then do conf_connect() which causes deadlock.

This fix defer the callback to a timer.

comment:2 Changed 11 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.