Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Crash found on Camera2Source.stop #17

Open
adhithyagnair opened this issue Feb 18, 2019 · 0 comments
Open

Crash found on Camera2Source.stop #17

adhithyagnair opened this issue Feb 18, 2019 · 0 comments

Comments

@adhithyagnair
Copy link

I'm getting a inconsistent crash on camera2Source when scanning barcode.
It is quite too common in Honor 9 lite (Android : N )device and I'm also getting on other devices, but it is hard to reproduce.

This is the crash log I have got from firebase

Fatal Exception: java.lang.IllegalStateException
buffer is inaccessible
java.nio.DirectByteBuffer.get (DirectByteBuffer.java:219)
com.xxxx.xxxx.xxxx.camera2.Camera2Source.stop (Unknown Source:34)
com.xxxx.xxxx.xxxx.camera2.Camera2Source.stop (Unknown Source)
com.xxxx.xxxx.xxxx.camera2.Camera2Source$2.onImageAvailable (Unknown Source:15)
android.media.ImageReader$ListenerHandler.handleMessage (ImageReader.java:812)
android.os.Handler.dispatchMessage (Handler.java:108)
android.os.Looper.loop (Looper.java:166)
android.os.HandlerThread.run (HandlerThread.java:65)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant