Ticket #491 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Crash in TCP/TLS transport when the listener is destroyed (thanks Christian Grigis)

Reported by: bennylp Owned by: bennylp
Priority: major Milestone: release-0.9.0
Component: pjsip Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by bennylp) (diff)

The TCP and TLS transport keep pointer reference to its listener. When the listener is destroyed by application, PJSIP will crash when the transport is performing keep-alive transmission because it tries to access the listener which is no longer there.

Thanks Christian Grigis for reporting this.

Change History

comment:1 Changed 9 years ago by bennylp

  • Status changed from new to assigned
  • Description modified (diff)
  • Summary changed from Crash when destroying TLS transport upon application shutdown to Crash in TCP/TLS transport when the listener is destroyed (thanks Christian Grigis)

comment:2 Changed 9 years ago by bennylp

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

Fixed in r1817:

  • TCP/TLS transport should not keep the listener instance.
Note: See TracTickets for help on using tickets.