Opened 15 years ago

Closed 15 years ago

#911 closed defect (fixed)

Crash when receiving NOTIFY after subscription is terminated (thanks Johan Lantz for the report)

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

Description

Ticket #873 causes crash on the following scenario on the subscriber side:

  • Subscription is established
  • Client sends SUBSCRIBE to refresh
  • The transaction fails with a failure response
  • Server sends NOTIFY

Change History (4)

comment:1 Changed 15 years ago by bennylp

In r2822:

  • fixed the bug by not processing the NOTIFY if the subscription is already terminated
  • also added SIPp scenario to reproduce the bug

comment:2 Changed 15 years ago by bennylp

In r2833:

  • added SIPp scenario for scenario when the first NOTIFY immediately terminates the subscription

comment:3 Changed 15 years ago by bennylp

The previous msg should read r2823

comment:4 Changed 15 years ago by bennylp

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

In r2824:

  • added subscription state name string in pjsua_buddy_info and display this in pjsua
Note: See TracTickets for help on using tickets.