Opened 15 years ago

Closed 15 years ago

#1062 closed defect (fixed)

Assertion if 200/OK INVITE response is received during PJSUA-LIB destroy sequence

Reported by: bennylp Owned by: bennylp
Priority: minor Milestone: release-1.6
Component: pjsua-lib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

The pjsua_destroy() function performs event polling during the shutdown sequence. If a 200/OK INVITE response is received during this process, an assertion will be raised:

pjsua-x86_64-unknown-linux-gnu: ../src/pjmedia/session.c:604: pjmedia_session_info_from_sdp: Assertion `pool && endpt && si && local && remote' failed.

The assertion happens when negotiating the SDP and calling media update, which causes pjmedia_session_info_from_sdp() to be called. Unfortunately at this point the media endpoint has been destroyed and set to NULL, causing the assertion.

Change History (1)

comment:1 Changed 15 years ago by bennylp

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

(In [3153]) Fixed #1062 (Assertion if 200/OK INVITE response is received during PJSUA-LIB destroy sequence)

Note: See TracTickets for help on using tickets.