Closed
Bug 829691
Opened 13 years ago
Closed 13 years ago
WebRTC crash [@sipcc::PeerConnectionImpl::CheckThreadInt]
Categories
(Core :: WebRTC, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: posidron, Unassigned)
References
Details
(Keywords: crash, testcase)
Attachments
(2 files, 1 obsolete file)
Tested with m-c changeset: 118260:f60b87eed1ac with the following patches applied:
https://bugzilla.mozilla.org/attachment.cgi?id=698334
https://bugzilla.mozilla.org/attachment.cgi?id=699413
Reporter | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
The crash was real, but only in an unfinished patch in Bug 825703. I've uploaded a new patch in that bug that doesn't have the problem. Please update.
Thanks for testing it. I'm closing it as Invalid though for clarity, since, technically, the crash never made it to the tree.
Reporter | ||
Comment 3•13 years ago
|
||
Yep, fixed but let's mark it as fixed. INVALID means there was no bug at all, which we usually set for some wired bug filings. We have a testcase here and your patch get's checked in later anyways, so it will be valid in the near term. ;)
Resolution: INVALID → FIXED
Comment 4•13 years ago
|
||
No crash with testcase = verified.
Status: RESOLVED → VERIFIED
Flags: in-testsuite?
Comment 5•13 years ago
|
||
Updated•13 years ago
|
Attachment #706801 -
Flags: review?(rjesup)
Comment 6•13 years ago
|
||
Comment on attachment 706801 [details] [diff] [review]
Crashtest
Review of attachment 706801 [details] [diff] [review]:
-----------------------------------------------------------------
r+, but do we need a crashtest for a crash that only happened when a set of unfinished patches were applied?
Attachment #706801 -
Flags: review?(rjesup) → review+
Comment 7•13 years ago
|
||
(In reply to Randell Jesup [:jesup] from comment #6)
> Comment on attachment 706801 [details] [diff] [review]
> Crashtest
>
> Review of attachment 706801 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> r+, but do we need a crashtest for a crash that only happened when a set of
> unfinished patches were applied?
I don't think it necessarily hurts to have it. Is there any maintenance cost to keeping it around?
Comment 8•13 years ago
|
||
Sure, in that it's testing for something very unlikely to be re-introduced (as it was an unfinished patch). All tests have a cost, especially crashtests as they each run in a new instance IIRC - you have to spin up a browser and run a testcase (or at least a new window or load a new page). Multiply by N checkins and M platforms and X try pushes.... Each one doesn't eat a lot, but building up testcases for extremely unlikely recurrences doesn't help.
Comment 9•13 years ago
|
||
Comment on attachment 706801 [details] [diff] [review]
Crashtest
Review of attachment 706801 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/tests/crashtests/829691.html
@@ +9,5 @@
> + <script type="application/javascript">
> + function start() {
> + var v0 = new window.mozRTCPeerConnection({});
> + var v0 = new window.mozRTCPeerConnection();
> + navigator.mozGetUserMedia({"muted":false,"fake":false}, function(v5) {
Beside the discussion if we need it or not, this might not do what it is intended to do. While this will work with a manual test on the users machine it will not find any device on our testing machines. Was fake=false explicitely necessary here? If not it should be removed before its possible landing.
Comment 10•13 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #9)
> Comment on attachment 706801 [details] [diff] [review]
> Crashtest
>
> Review of attachment 706801 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: dom/media/tests/crashtests/829691.html
> @@ +9,5 @@
> > + <script type="application/javascript">
> > + function start() {
> > + var v0 = new window.mozRTCPeerConnection({});
> > + var v0 = new window.mozRTCPeerConnection();
> > + navigator.mozGetUserMedia({"muted":false,"fake":false}, function(v5) {
>
> Beside the discussion if we need it or not, this might not do what it is
> intended to do. While this will work with a manual test on the users machine
> it will not find any device on our testing machines. Was fake=false
> explicitely necessary here? If not it should be removed before its possible
> landing.
There's no impact on that actually. The call made here would be equivalent of calling gUM with no parameters. Which from what I see actually doesn't do anything (which is probably a bug in itself).
Comment 11•13 years ago
|
||
The bug in relation to what should happen actually is bug 773986.
Comment 12•13 years ago
|
||
Actually, let's drop this all-together. I think Randell's point is right that there's no point to checking this in.
Updated•13 years ago
|
Flags: in-testsuite? → in-testsuite-
Updated•13 years ago
|
Attachment #706801 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•