Assertion failure: rv, at /home/worker/workspace/build/src/dom/media/MediaManager.cpp:2778
Categories
(Core :: WebRTC: Audio/Video, defect, P3)
Tracking
()
People
(Reporter: jkratzer, Assigned: pehrsons)
References
(Blocks 1 open bug)
Details
(Keywords: assertion, regression, testcase)
Attachments
(3 files, 2 obsolete files)
Reporter | ||
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 2•7 years ago
|
||
Comment hidden (obsolete) |
Updated•7 years ago
|
Comment hidden (obsolete) |
Comment 6•7 years ago
|
||
Assignee | ||
Comment 7•7 years ago
|
||
Updated•7 years ago
|
Comment 8•5 years ago
|
||
This issue is still being hit by fuzzers.
A Pernosco session can be found here: https://pernos.co/debug/TTZ9JloPY4lcxZg0kJes9g/index.html
Hopefully this will help get the issue resolved.
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
I think we know what's going on here, we just need to get around to fixing it.
I'll steal this, hoping to find more time than jib has over the last 2 years (-:
Assignee | ||
Comment 11•5 years ago
|
||
I think the simplest solution here is to mimic what other users of EnumerateDevicesImpl (i.e., GetUserMedia) do and abort the promise with AbortError, should the window have gone away already. We already do this for enumerateDevices if we're in shutdown.
Assignee | ||
Comment 12•5 years ago
|
||
Tyson, do you have a newer testcase that works on Nightly, that I could land as a crashtest?
The attachment here does a POST to mozilla.org which the test suite dislikes.
Comment 13•5 years ago
|
||
I removed the calls to open()
and send()
and the test case works locally.
Assignee | ||
Comment 15•5 years ago
|
||
Simply removing the open()
and send()
calls didn't trigger this for me. I tested loading it from an http server, file://, and as a crashtest. On the other hand, the original testcase doesn't trigger the bug either, when I load it manually. Am I missing some prefs?
I'll upload the fix for now, and get back to the testcase should we find one that works.
Assignee | ||
Comment 16•5 years ago
|
||
Comment 17•5 years ago
|
||
Oops you are right. Sorry about that.
Here try this, it uses localhost so when accessed via a local webserver it should trigger the assertion.
Assignee | ||
Comment 18•5 years ago
|
||
I am not able to reproduce with the testcase. I'll note that timing here relies on the set of cameras the host machine has available. Even if this would reproduce on try, that would be one brittle crashtest. I think we'll have to land without one.
Comment 19•5 years ago
|
||
Comment 20•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 21•4 years ago
|
||
The failing assertion was https://hg.mozilla.org/mozilla-central/annotate/3ecda4678c49/dom/media/MediaManager.cpp#l2778 (based on the stacktrace and revision).
Description
•