[Galaxy S III Original Android Development] xpduyson:
Camera on lasted Facebook Messenger update crash and unuseable

CM14.1 20161214

Facebook Messenger 100.0.29.61

full logcat: https://gist.githubusercontent.com/...ebf6979725b3c5a76e29ccbbf77b6e9/gistfile1.txt

12-16 22:09:12.730 22638-23579/com.facebook.orca E/BufferQueueProducer: [ImageReader-640x480f23m2-22638-5] dequeueBuffer: createGraphicBuffer failed
12-16 22:09:12.730 22638-23579/com.facebook.orca E/Legacy-CameraDevice-JNI: LegacyCameraDevice_nativeProduceFrame: Error while producing frame Out of memory (-12).
12-16 22:09:12.733 22638-23579/com.facebook.orca E/CameraDeviceGLThread-1: Received exception on GL render thread:
java.lang.UnsupportedOperationException: Unknown error -12
at android.hardware.camera2.legacy.LegacyExceptionUtils.throwOnError(LegacyExceptionUtils.java:77)
at android.hardware.camera2.legacy.LegacyCameraDevice.produceFrame(LegacyCameraDevice.java:683)
at android.hardware.camera2.legacy.SurfaceTextureRenderer.drawIntoSurfaces(SurfaceTextureRenderer.java:775)
at android.hardware.camera2.legacy.GLThreadManager$1.handleMessage(GLThreadManager.java:105)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
12-16 22:09:12.733 22638-23579/com.facebook.orca I/CameraDeviceState: Legacy camera service transitioning to state ERROR
12-16 22:09:12.735 22638-23570/com.facebook.orca E/com.facebook.cameracore.camerasdk.api2.FbCameraDeviceImplV2: CameraStateCallback onError: 4
12-16 22:09:12.737 22638-23570/com.facebook.orca E/CameraCaptureSession: Session 0: Exception while stopping repeating:
android.hardware.camera2.CameraAccessException: CAMERA_ERROR (3): The camera device has encountered a serious error
at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2023)
at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:952)
at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:395)
at com.facebook.tools.dextr.runtime.a.d.a(:36707)
at com.facebook.cameracore.camerasdk.api2.FbCameraDeviceImplV2.B(:501025)
at com.facebook.cameracore.camerasdk.api2.f.a(:501441)
at com.facebook.cameracore.camerasdk.api2.f.onError(:501451)
at android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks$1.run(CameraDeviceImpl.java:1684)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
12-16 22:09:13.239 22638-22638/com.facebook.orca E/com.facebook.cameracore.camerasdk.common.FbCameraStateException: Error encountered in camera device
12-16 22:09:13.240 22638-22638/com.facebook.orca E/com.facebook.cameracore.camerasdk.b.g: open onError
com.facebook.cameracore.camerasdk.common.FbCameraStateException: Error encountered in camera device
at com.facebook.cameracore.camerasdk.api2.h.run(:501469)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6126)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
12-16 22:09:13.249 22638-23537/com.facebook.orca E/msgr.ACRA: Handling exception for soft error
com.facebook.common.errorreporting.p: montage_camera_core_open | Error encountered in camera device
at com.facebook.common.errorreporting.i.a(:7986)
at com.facebook.messaging.montage.composer.cameracore.i.b$redex0(:1242337)
at com.facebook.messaging.montage.composer.cameracore.p.a(:1242409)
at com.facebook.cameracore.camerasdk.b.h.a(:501733)
at com.facebook.cameracore.camerasdk.b.b.a(:501646)
at com.facebook.cameracore.camerasdk.api2.h.run(:501469)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6126)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Caused by: com.facebook.cameracore.camerasdk.common.FbCameraStateException: Error encountered in camera device
at com.facebook.cameracore.camerasdk.api2.h.run(:501469)*
at android.os.Handler.handleCallback(Handler.java:751)*
at android.os.Handler.dispatchMessage(Handler.java:95)*
at android.os.Looper.loop(Looper.java:154)*
at android.app.ActivityThread.main(ActivityThread.java:6126)*
at java.lang.reflect.Method.invoke(Native Method)*
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)*
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)*
12-16 22:09:13.251 22638-23474/com.facebook.orca E/libEGL: eglMakeCurrent:835 error 3009 (EGL_BAD_MATCH)