Opened 12 years ago

Closed 12 years ago

#1548 closed defect (worksforme)

Crash due to racing condition in timer when call is disconnected quickly (thanks Joshua Colp for the report!)

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

Description

Crash if call is disconnected quickly after setup, due to the timer callback that is running while the call is being destroyed. Two locations were found:

  1. in ICE session, in start_periodic_check() timer callback.
  2. in pjsua_media.c, in med_tp_timer_cb() timer callback.

Solving this issue perfectly is quite difficult, hence only workaround is implemented. This should be good in most cases.

Change History (2)

comment:1 Changed 12 years ago by bennylp

In 4196:

Re #1548: Crash due to racing condition in timer when call is disconnected quickly (thanks Joshua Colp for the report!)

comment:2 Changed 12 years ago by bennylp

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