Closed
Bug 837421
Opened 10 years ago
Closed 10 years ago
WebRTC ConnectDataConnection causes assertion failures if called a second time
Categories
(Core :: WebRTC: Networking, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: posidron, Assigned: jesup)
References
Details
(Keywords: crash, testcase, Whiteboard: [webrtc][blocking-webrtc+][qa-])
Crash Data
Attachments
(4 files)
Click the button to reproduce.
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
Tested with m-c changeset: 120354:2cc710018b14
Comment 3•10 years ago
|
||
This patch landed on on January 30th on m-c. Do you still see it with todays nightly? I can't reproduce it on OS X.
Reporter | ||
Comment 4•10 years ago
|
||
I still get it with m-i changeset: 120658:4466d3ff8ada
Comment 5•10 years ago
|
||
It might be ASAN only? Can you verify that?
Reporter | ||
Comment 6•10 years ago
|
||
No, that's a normal assertion failure.
Assignee | ||
Comment 7•10 years ago
|
||
Ok, the problem (caught by the assertion) is that ConnectDataConnection is only meant to be called once (and is supposed to be a temporary interface until we can get the proper negotiation and configuration written).
Assignee: nobody → rjesup
Summary: WebRTC Assertion failure: !mMasterSocket, at netwerk/sctp/datachannel/DataChannel.cpp:190 and crash [@mozilla::DataChannelConnection::~DataChannelConnection] → WebRTC ConnectDataConnection causes assertion failures if called a second time
Whiteboard: [webrtc][blocking-webrtc+]
Assignee | ||
Comment 8•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #709441 -
Flags: review?(tterribe)
Comment 9•10 years ago
|
||
Comment on attachment 709441 [details] [diff] [review] Webrtc: Ignore second call to ConnectDataConnection Review of attachment 709441 [details] [diff] [review]: ----------------------------------------------------------------- ::: media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.cpp @@ +623,5 @@ > #ifdef MOZILLA_INTERNAL_API > + if (mDataConnection) { > + CSFLogError(logTag,"%s DataConnection already connected",__FUNCTION__); > + // Ignore the request to connect when already connected. This entire > + // implementation is temporary. If aNumstreams is more than the amount of streams we have now, we should probably request more here. Since actually doing that looks like work, at least leave a note here about it.
Attachment #709441 -
Flags: review?(tterribe) → review+
Assignee | ||
Comment 10•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b10cbe334217
Target Milestone: --- → mozilla21
Comment 11•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b10cbe334217
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Flags: in-testsuite?
Whiteboard: [webrtc][blocking-webrtc+] → [webrtc][blocking-webrtc+][qa-]
Comment 12•10 years ago
|
||
Updated•10 years ago
|
Attachment #710083 -
Flags: review?(rjesup)
Assignee | ||
Updated•10 years ago
|
Attachment #710083 -
Flags: review?(rjesup) → review+
Updated•10 years ago
|
Keywords: checkin-needed
Comment 13•10 years ago
|
||
The manifest changes for the crash test don't look ok. Jason, please check this.
Keywords: checkin-needed
Updated•10 years ago
|
Attachment #710083 -
Flags: feedback-
Comment 14•10 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #13) > The manifest changes for the crash test don't look ok. Jason, please check > this. Umm...I don't see a problem here. The changes are adding in the crashtest file and reordering the one crashtest such that the numbers are in order. So I have to disagree.
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Attachment #710083 -
Flags: feedback-
Comment 15•10 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #14) > (In reply to Henrik Skupin (:whimboo) from comment #13) > > The manifest changes for the crash test don't look ok. Jason, please check > > this. > > Umm...I don't see a problem here. The changes are adding in the crashtest > file and reordering the one crashtest such that the numbers are in order. So > I have to disagree. So in short, there's no issues with the manifest file in itself with doing the small fix on the reordering.
Comment 16•10 years ago
|
||
Comment on attachment 710083 [details] [diff] [review] Crashtest v1 Review of attachment 710083 [details] [diff] [review]: ----------------------------------------------------------------- Sorry for that. It's totally true. Landed as: https://hg.mozilla.org/integration/mozilla-inbound/rev/de6ad98785e0
Attachment #710083 -
Flags: checkin+
Updated•10 years ago
|
Flags: in-testsuite? → in-testsuite+
Keywords: checkin-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•