Opened 14 years ago

Last modified 14 years ago

#569 closed defect

Non-uniform locking order between SRTP & ICE cause deadlock — at Initial Version

Reported by: nanang Owned by: nanang
Priority: normal Milestone: release-1.0-rc1
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Sample case:

  • Worker thread is receiving an RTP packet, it gets the ICE lock and about to get the SRTP lock, other thread is trying to send an RTP packet, it successfully acquire the SRTP lock, but unable to acquire ICE lock since it is hold by the worker thread, deadlock.

Solution:

  • Make the locking order of SRTP & ICE uniform or independent.

Change History (0)

Note: See TracTickets for help on using tickets.