java.lang.RuntimeException at org.webrtc.ThreadUtils.invokeAtFrontUninterruptibly(ThreadUtils.java:3)
Categories
(Core :: WebRTC, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox82 | --- | unaffected |
firefox83 | --- | wontfix |
firefox84 | --- | wontfix |
firefox85 | --- | wontfix |
firefox86 | --- | wontfix |
firefox87 | --- | wontfix |
firefox88 | --- | wontfix |
firefox89 | --- | fix-optional |
firefox90 | --- | fix-optional |
People
(Reporter: eliza.balazs, Unassigned)
References
(Regression)
Details
(Keywords: crash, regression)
Crash Data
Steps to reproduce:
- Lanch Fenix and go to https://jsfiddle.net/pehrsons/yrbxrzhq/;
- Tap Start;
- Tap Allow from the "Allow jsfiddle.net to use your camera?" prompt;
- Repeat Step 3 for 27 times;
Expected result:
The prompt is displayed 27 times and at the end the log reads "DONE All 27 cases tested" at the bottom.
Actual result:
While tapping Allow from the prompt, the app crashes before getting to the 27th prompt:
https://crash-stats.mozilla.org/report/index/77454dff-8d56-40c3-b5f0-650740201029#tab-details
java.lang.RuntimeException
at org.webrtc.ThreadUtils.invokeAtFrontUninterruptibly(ThreadUtils.java:3)
at org.webrtc.TextureBufferImpl.toI420(TextureBufferImpl.java:1)
at org.webrtc.videoengine.VideoCaptureAndroid.onFrameCaptured(VideoCaptureAndroid.java:2)
at org.webrtc.CameraCapturer$2.onFrameCaptured(CameraCapturer.java:10)
at org.webrtc.Camera2Session$CaptureSessionCallback.lambda$onConfigured$0$Camera2Session$CaptureSessionCallback(Camera2Session.java:16)
at org.webrtc.-$$Lambda$Camera2Session$CaptureSessionCallback$UDvzHNj8-cAJE1WNByx98pxD9vA.onFrame(Unknown Source:2)
at org.webrtc.SurfaceTextureHelper.tryDeliverTextureFrame(SurfaceTextureHelper.java:21)
at org.webrtc.SurfaceTextureHelper.lambda$new$0$SurfaceTextureHelper(SurfaceTextureHelper.java:2)
at org.webrtc.-$$Lambda$SurfaceTextureHelper$7YTfC0byyd0o_zI7mNhfP12Gm0Q.onFrameAvailable(Unknown Source:2)
at android.graphics.SurfaceTexture$1.handleMessage(SurfaceTexture.java:206)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.os.HandlerThread.run(HandlerThread.java:65)
Device details: Motorola Moto G6 (Android 8)
Fenix version: Nightly 201029 05:01 (Build #2015772457) GV 84.0a1 from 10/29
This is not reproducible on https://jsfiddle.net/jib1/zaw8r956/
This issue is not reproducible with Pixel 2 (Android 9)
Comment 1•4 years ago
|
||
We seem to be getting an exception from yuvConverter.convert().
We could be out of video memory.
That would be a pity. We should handle such errors gracefully.
It seems like an issue in upstream still too.
OTOH, this test case is a bit artificial and might be triggering excess video memory usage. It might be useful looking into whether all these surfaces are cleaned up in a timely manner.
Comment 2•4 years ago
|
||
This is android (thus geckoview) specific, but it's in libwebrtc, which is owned by the media team.
Comment 3•4 years ago
|
||
Set release status flags based on info from the regressing bug 1616729
Updated•4 years ago
|
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Only a handful of crashes in pre-release, wontfix for 83.
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•2 years ago
|
![]() |
||
Updated•2 years ago
|
Comment 5•5 months ago
|
||
Closing because no crashes reported for 12 weeks.
Description
•