Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1358 closed defect (fixed)

Crash in event handling in pjsua-lib

Reported by: bennylp Owned by: nanang
Priority: normal Milestone: release-2.0-alpha2
Component: pjsua-lib Version: 2.0-dev-branch
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Crash on receiving UPDATE or re-INVITE.

Change History (4)

comment:1 Changed 8 years ago by bennylp

  • Milestone changed from release-2.0-beta to release-2.0-alpha2

comment:2 Changed 8 years ago by bennylp

  • Owner changed from bennylp to nanang
  • Status changed from new to assigned

comment:3 Changed 8 years ago by nanang

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [3778]) Fix #1358:

  • Fixed wrong place of video capture & render event subscription initialization, causing it getting reinitted while being subscribed.
  • Moved capture/render event unsubscription to be after capture/render port stopped. Also restart the capturer (after being stopped for unsubsciption & stream detachment) only when the capturer is being used by other, e.g: stream or preview.
  • Fixed error handling in pjsua_call_reinvite(), call pjsip_dlg_dec_lock() only if dlg is successfully acquired.
  • Minor: added [un]subscribtion log to event.

comment:4 Changed 8 years ago by nanang

(In [3782]) Re #1358 (minor updates in event.c):

  • Avoid compile warning when trace is disabled.
  • Added pointer of subscriber in [un]subscription log trace.
Note: See TracTickets for help on using tickets.