Closed
Bug 892911
Opened 11 years ago
Closed 10 years ago
WebRTC crash [@gsmsdp_negotiate_media_lines]
Categories
(Core :: WebRTC: Signaling, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: posidron, Assigned: abr)
References
Details
(Keywords: crash, testcase, Whiteboard: [leave-open])
Crash Data
Attachments
(4 files, 1 obsolete file)
(deleted),
text/html
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
abr
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Tested with hg.mozilla.org/integration/mozilla-inbound/rev/60865db5f5dc
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → adam
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 774570 [details] [diff] [review]
Check that media section is found before adding rtcp-fb attributes
I beleive the trigger here is the recvonly on the video line, where PC2 doesn't generate a corresponding media section. In any case, the trigger here is that we can reach this point in the code with media == 0. This check catches that situation.
Attachment #774570 -
Flags: review?(ekr)
Comment 5•11 years ago
|
||
Hmm... I note that the error is in setremote. I wonder if perhaps you shouldn't be adding the
rtcp-fb in this case at all. Won't you get another crack at it in createanswer?
Comment 6•11 years ago
|
||
There's a space after @ in the signature so that it shows up in crash stats.
Crash Signature: [@ gsmsdp_negotiate_media_lines]
Assignee | ||
Comment 7•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #774570 -
Attachment is obsolete: true
Attachment #774570 -
Flags: review?(ekr)
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 774722 [details] [diff] [review]
Check that media section is found before adding rtcp-fb attributes
You're right that this only makes sense when we're crafting an answer. I've adjusted the conditional accordingly. I'd still like to keep the null check for media in place; I can't rule out the possibility that we might get here with a null "media" even in the create_answer case.
Attachment #774722 -
Flags: review?(ekr)
Assignee | ||
Comment 9•11 years ago
|
||
r=ekr on the original patch via IRC.
https://hg.mozilla.org/integration/mozilla-inbound/rev/75d923fcb71c
Marking [leave-open] because I need to add some mochi tests here.
Whiteboard: [leave-open]
Comment 10•11 years ago
|
||
Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 774722 [details] [diff] [review]
Check that media section is found before adding rtcp-fb attributes
Setting r+ from IRC conversation
Attachment #774722 -
Flags: review?(ekr) → review+
Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 774570 [details] [diff] [review]
Check that media section is found before adding rtcp-fb attributes
Okay, this is the one that ekr r+'d (and the one that we landed). Marking as such and requesting aurora uplift:
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Bug 880067
User impact if declined: Browser crashiness
Testing completed (on m-c, etc.): Verified not to crash on attached testcase. Landed on m-i on 7/12, with no attributable regressions since then.
Risk to taking this patch (and alternatives if risky): This is the lowest risk patch you'll ever see -- all it does is check a pointer for NULL before dereferencing it.
String or IDL/UUID changes made by this patch: None
Attachment #774570 -
Attachment is obsolete: false
Attachment #774570 -
Flags: review+
Attachment #774570 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 774722 [details] [diff] [review]
Check that media section is found before adding rtcp-fb attributes
Obsoleting unapproved patch
Attachment #774722 -
Attachment is obsolete: true
Attachment #774722 -
Flags: review+
Updated•11 years ago
|
Attachment #774570 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 14•11 years ago
|
||
Updated•11 years ago
|
Comment 15•10 years ago
|
||
sdparta removed this function
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•