Crash in [@ java.lang.RuntimeException: at org.webrtc.CameraCapturer.<init>]
Categories
(Core :: WebRTC: Audio/Video, defect, P2)
Tracking
()
People
(Reporter: bwc, Assigned: jhlin)
References
Details
(Keywords: crash)
Crash Data
Attachments
(2 files)
Crash report: https://crash-stats.mozilla.org/report/index/f5bcf3e0-24bb-40ed-9f9c-03e160230105
Java stack trace:
java.lang.RuntimeException
at org.webrtc.CameraCapturer.<init>(CameraCapturer.java:106)
at org.webrtc.Camera1Capturer.<init>(Camera1Capturer.java:6)
at org.webrtc.Camera1Enumerator.createCapturer(Camera1Enumerator.java:5)
at org.webrtc.videoengine.VideoCaptureAndroid.<init>(VideoCaptureAndroid.java:96)
This is our top crash right now.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
Looking at this and the related bugs, the line numbers in the stack seem to be pretty unreliable. It looks like this crash might be happening here, in a thread assertion:
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
The crash log java.lang.RuntimeException: No cameras attached.
suggests that Android failed to enumerate cameras on the device. While this is not a normal situation (the devices in the crash reports do have cameras), the exception should be caught to prevent Gecko from crashing.
Assignee | ||
Comment 3•2 years ago
|
||
Updated•2 years ago
|
Comment 4•2 years ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:jhlin, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Reporter | ||
Comment 6•9 months ago
|
||
Is this bug stuck? This is our top crasher (besides bug 1808025) right now.
Assignee | ||
Comment 7•9 months ago
|
||
Sorry, my bad. The fix is ready, but I failed to follow up on the test case. Will revise it and address the review comment ASAP.
Comment 9•9 months ago
|
||
Backed out for gv-junit failures on VideoCaptureTest.
Failure log: https://treeherder.mozilla.org/logviewer?job_id=449811749&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/85ad123faf67f92c548cbc665be1d739b0697b88
Comment 10•9 months ago
|
||
Comment 11•9 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e6f8898d2583
https://hg.mozilla.org/mozilla-central/rev/c61f6c3b2e0e
Updated•9 months ago
|
Description
•