Crash in [@ java.lang.IllegalStateException: at java.nio.DirectByteBuffer.get] when using the camera
Categories
(Firefox for Android :: QR, defect, P5)
Tracking
()
People
(Reporter: csadilek, Unassigned)
Details
Crash Data
From github: https://github.com/mozilla-mobile/fenix/issues/28390.
Steps to reproduce
Tried but didn't know how to reproduce.
Hope the saved logcat output could help.Expected behaviour
Normal operation.
Actual behaviour
Crashed.
Device name
Google Pixel 2
Android version
Android 9.0
Firefox release type
Firefox Nightly
Firefox version
110a1
Device logs
01-03 23:21:23.621 28415 29616 E AndroidRuntime: FATAL EXCEPTION: CameraBackground
01-03 23:21:23.621 28415 29616 E AndroidRuntime: Process: org.mozilla.fenix, PID: 28415
01-03 23:21:23.621 28415 29616 E AndroidRuntime: java.lang.IllegalStateException: buffer is inaccessible
01-03 23:21:23.621 28415 29616 E AndroidRuntime: at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:232)
01-03 23:21:23.621 28415 29616 E AndroidRuntime: at java.nio.ByteBuffer.get(ByteBuffer.java:556)
01-03 23:21:23.621 28415 29616 E AndroidRuntime: at mozilla.components.feature.qr.QrFragment$Companion.readImageSource$feature_qr_release(QrFragment.kt:692)
01-03 23:21:23.621 28415 29616 E AndroidRuntime: at mozilla.components.feature.qr.QrFragment$imageAvailableListener$1.onImageAvailable(QrFragment.kt:219)
01-03 23:21:23.621 28415 29616 E AndroidRuntime: at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:800)
01-03 23:21:23.621 28415 29616 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
01-03 23:21:23.621 28415 29616 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
01-03 23:21:23.621 28415 29616 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:65)Additional information
No response
┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Comment 1•2 years ago
|
||
I found crash reports and the signature for this crash. Priority P5 because the crash volume is very low. If we get steps to reproduce, then we can increase the priority.
Crash report: https://crash-stats.mozilla.org/report/index/4375b431-3df5-4c8c-a3ed-83fbb0230127
Java stack trace:
java.lang.IllegalStateException
at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:232)
at java.nio.ByteBuffer.get(ByteBuffer.java:493)
at mozilla.components.feature.qr.QrFragment$Companion.readImageSource$feature_qr_release(QrFragment.kt:18)
at mozilla.components.feature.qr.QrFragment$imageAvailableListener$1.onImageAvailable(QrFragment.kt:23)
at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:812)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.os.HandlerThread.run(HandlerThread.java:65)
Updated•2 years ago
|
Updated•2 years ago
|
Description
•