Opened 14 years ago
Closed 14 years ago
#1149 closed defect (fixed)
Crash when holding the call after receiving SDP answer with multiple codecs (thanks Cyril GY for the report)
Reported by: | bennylp | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-1.8.5 |
Component: | pjsip | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: |
Description (last modified by bennylp)
pjsua as caller, with the following scenario:
- --> INVITE
- <-- 18x (with SDP and multiple codecs/format list in m= line)
- --> UPDATE (pjsip sends UPDATE to lock to one codec)
- <-- 200/OK to UPDATE
- <-- 200/OK to INVITE
- --> ACK
- --> UPDATE or re-INVITE --> this will crash
The first UPDATE is sent to instruct callee to use only one particular codec. This feature was implemented in #476. The second UPDATE is to hold the call.
PJSIP crashes on the last step above when it tries to build SDP to be sent to remote host. This is because the SDP in it's cache is corrupted, presumably because it was built with the wrong flip-flop pool.
Change History (2)
comment:1 Changed 14 years ago by bennylp
- Description modified (diff)
comment:2 Changed 14 years ago by bennylp
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
(In [3349]) Fixed #1149 (Crash when holding the call after receiving SDP answer with multiple codecs (thanks Cyril GY for the report)):