Opened 17 years ago

Closed 17 years ago

#491 closed defect (fixed)

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)

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 (2)

comment:1 Changed 17 years ago by bennylp

  • Description modified (diff)
  • Status changed from new to assigned
  • 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 17 years ago by bennylp

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

Fixed in r1817:

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