Closed Bug 1135372 Opened 9 years ago Closed 9 years ago

Intermittent browser_devices_get_user_media_in_frame.js | application crashed [@ mozilla::MediaManager::Observe(nsISupports *,char const *,wchar_t const *)] after "Assertion failure: device, at dom\media\MediaManager.cpp:2058"

Categories

(Core :: WebRTC, defect, P3)

x86_64
Windows 8.1
defect

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox39 --- fixed
firefox40 --- fixed
firefox41 --- fixed
firefox-esr31 --- fixed
firefox-esr38 --- fixed

People

(Reporter: RyanVM, Unassigned)

References

Details

(Keywords: assertion, crash, intermittent-failure)

Attachments

(1 file)

Attached file test log —
Seems to be on Aurora only. It's particularly awful because Treeherder isn't able to parse it easy, so one has to go through the full log to find it.

http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-aurora-win64-debug/1424496002/mozilla-aurora_win8_64-debug_test-mochitest-browser-chrome-1-bm110-tests1-windows-build5.txt.gz
The assert in the c++ code is immediately preceeded by 

JavaScript strict warning: resource://app/modules/ContentWebRTC.jsm, line 49: ReferenceError: reference to undefined property devices[deviceIndex] [1]

from here in the log from comment 0:
> 22:37:56     INFO -  TEST DEVICES: No test devices found (in media.{audio,video}_loopback_dev, using fake streams.
> 22:37:57     INFO -  JavaScript strict warning: resource://app/modules/ContentWebRTC.jsm, line 49: ReferenceError: reference to undefined property devices[deviceIndex]
> 22:37:57     INFO -  Assertion failure: device, at c:\builds\moz2_slave\m-aurora-w64-d-000000000000000\build\dom\media\MediaManager.cpp:2058
> 22:37:57     INFO -  #01: nsObserverService::NotifyObservers(nsISupports *,char const *,wchar_t const *) [xpcom/ds/nsObserverService.cpp:333]

[1] http://mxr.mozilla.org/mozilla-aurora/source/browser/modules/ContentWebRTC.jsm?rev=510873b2ee88#49
florian: can you help figure out what's up here?  Specifically resource://app/modules/ContentWebRTC.jsm, line 49: ReferenceError: reference to undefined property devices[deviceIndex] [1]
Flags: needinfo?(florian)
I wonder if this error:
JavaScript error: resource://app/modules/ContentWebRTC.jsm, line 35: TypeError: mm is null
(which apparently is present in the test logs even when the failure doesn't occur) could be related.

My thoughts when looking at the test log are "are we attempting to accept a gUM request in an iframe that no longer exists already?".

Also, it seems this test log has several other TEST-UNEXPECTED-FAIL lines; so I wonder if it could be that the process was already a mess when we reached the gUM tests.

Ryan, has this failure occurred more than once?
Flags: needinfo?(florian) → needinfo?(ryanvm)
Yes
Flags: needinfo?(ryanvm)
higher bug priority because requires manual searching to find - treeherder log not auto-searchable.
Severity: normal → major
Flags: firefox-backlog+
Priority: -- → P3
Depends on: 1169243
Fixed by bug 1169243.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: