Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#2232 closed defect (fixed)

Crash on Endpoint::libDestroy() when there is an active call

Reported by: riza Owned by: riza
Priority: normal Milestone: release-2.10
Component: pjsua2 Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by riza)

A reference to AudioMedia for the call is stored in an internal list (MediaList). On libDestroy() the list is cleared, and the AudioMedia is expected to remove itself. However AudioMedia for an active call is not removed and leads to a crash. The use of internal list is not safe as described in #2189. This ticket will disable all of the deprecate API listed there.

Change History (3)

comment:1 Changed 5 months ago by riza

  • Description modified (diff)

comment:2 Changed 5 months ago by riza

  • Owner set to riza
  • Resolution set to fixed
  • Status changed from new to closed

In 6074:

Close #2232: Crash on Endpoint::libDestroy() when there is an active call.

comment:3 Changed 5 months ago by riza

In 6080:

Re #2232: Fix build error for swig wrapper. This fix will allow swig to import the preprocessor in config_site.h and config.hpp.

Note: See TracTickets for help on using tickets.