[Moto G4 Play ROMs, Kernels, Recoveries, & Other De] Baltaz:
Camera issue

I've had issues recording videos, like others, ever since I installed this ROM (around January 2018). I don't know if there's an issue opened in a bug tracker for it.

[EDIT] Actually I guess the corresponding issue is jira.lineageos.org/browse/REGRESSION-1705 (as a new user I'm not allowed to post external links).

What happens is that sometimes it works, sometimes it does not. When it does not, I may be able to record a video, but when playing it back I realize that the video stops/freezes at one point, while the audio still continues. When I try opening the app again and start recording, it just crashes.

Here's the logcat of the last 2 crashes. As can be seen I'm using net.sourceforge.opencamera , as I thought the default app might be the culprit, but it obviously didn't help.

--------- beginning of crash
03-18 16:12:57.798 10313 10326 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 10326 (Binder:10313_2)
03-18 16:12:57.861 11006 11006 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-18 16:12:57.861 11006 11006 F DEBUG : LineageOS Version: '14.1-20180315-NIGHTLY-harpia'
03-18 16:12:57.861 11006 11006 F DEBUG : Build fingerprint: 'motorola/harpia/harpia:6.0.1/MPI24.241-15.3/3:user/release-keys'
03-18 16:12:57.861 11006 11006 F DEBUG : Revision: '0'
03-18 16:12:57.861 11006 11006 F DEBUG : ABI: 'arm'
03-18 16:12:57.861 11006 11006 F DEBUG : pid: 10313, tid: 10326, name: Binder:10313_2 >>> net.sourceforge.opencamera <<<
03-18 16:12:57.861 11006 11006 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
03-18 16:12:57.861 11006 11006 F DEBUG : r0 00000000 r1 c00f96b8 r2 acd1e000 r3 b642a8dd
03-18 16:12:57.861 11006 11006 F DEBUG : r4 00000000 r5 00000000 r6 b2fe46c8 r7 b64234a9
03-18 16:12:57.861 11006 11006 F DEBUG : r8 b2fe48b0 r9 b3d2ae40 sl b650b059 fp 00000000
03-18 16:12:57.861 11006 11006 F DEBUG : ip b47b4b58 sp b2fe46b0 lr b479b1ff pc b63088e6 cpsr 000e0030
03-18 16:12:57.880 11006 11006 F DEBUG :
03-18 16:12:57.880 11006 11006 F DEBUG : backtrace:
03-18 16:12:57.880 11006 11006 F DEBUG : #00 pc 000078e6 /system/lib/libcutils.so (native_handle_close+3)
03-18 16:12:57.880 11006 11006 F DEBUG : #01 pc 000281fb /system/lib/libcamera_client.so
03-18 16:12:57.880 11006 11006 F DEBUG : #02 pc 00023e07 /system/lib/libcamera_client.so (_ZN7android6Camera27releaseRecordingFrameHandleEP13native_handle+46)
03-18 16:12:57.880 11006 11006 F DEBUG : #03 pc 00029af3 /system/lib/libcamera_client.so (_ZN7android22BnCameraRecordingProxy10onTransactEjRKNS_6ParcelEPS1_j+262)
03-18 16:12:57.880 11006 11006 F DEBUG : #04 pc 00035923 /system/lib/libbinder.so (_ZN7android7BBinder8transactEjRKNS_6ParcelEPS1_j+70)
03-18 16:12:57.880 11006 11006 F DEBUG : #05 pc 0003d049 /system/lib/libbinder.so (_ZN7android14IPCThreadState14executeCommandEi+560)
03-18 16:12:57.880 11006 11006 F DEBUG : #06 pc 0003cd2b /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+114)
03-18 16:12:57.880 11006 11006 F DEBUG : #07 pc 0003d1eb /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+38)
03-18 16:12:57.880 11006 11006 F DEBUG : #08 pc 0004f539 /system/lib/libbinder.so
03-18 16:12:57.880 11006 11006 F DEBUG : #09 pc 0000e43d /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140)
03-18 16:12:57.880 11006 11006 F DEBUG : #10 pc 00066d45 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
03-18 16:12:57.880 11006 11006 F DEBUG : #11 pc 00047853 /system/lib/libc.so (_ZL15__pthread_startPv+22)
03-18 16:12:57.880 11006 11006 F DEBUG : #12 pc 00019b7d /system/lib/libc.so (__start_thread+6)
03-18 16:13:10.840 11047 11059 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 11059 (Binder:11047_1)
03-18 16:13:10.921 11366 11366 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-18 16:13:10.921 11366 11366 F DEBUG : LineageOS Version: '14.1-20180315-NIGHTLY-harpia'
03-18 16:13:10.922 11366 11366 F DEBUG : Build fingerprint: 'motorola/harpia/harpia:6.0.1/MPI24.241-15.3/3:user/release-keys'
03-18 16:13:10.922 11366 11366 F DEBUG : Revision: '0'
03-18 16:13:10.922 11366 11366 F DEBUG : ABI: 'arm'
03-18 16:13:10.922 11366 11366 F DEBUG : pid: 11047, tid: 11059, name: Binder:11047_1 >>> net.sourceforge.opencamera <<<
03-18 16:13:10.922 11366 11366 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
03-18 16:13:10.922 11366 11366 F DEBUG : r0 00000000 r1 c00f96b8 r2 b42b3e00 r3 b642a8dd
03-18 16:13:10.922 11366 11366 F DEBUG : r4 00000000 r5 00000000 r6 b30e86c8 r7 b64234a9
03-18 16:13:10.922 11366 11366 F DEBUG : r8 b30e88b0 r9 b3d2aec0 sl b650b059 fp 00000000
03-18 16:13:10.922 11366 11366 F DEBUG : ip b47b4b58 sp b30e86b0 lr b479b1ff pc b63088e6 cpsr 00070030
03-18 16:13:10.932 11366 11366 F DEBUG :
03-18 16:13:10.932 11366 11366 F DEBUG : backtrace:
03-18 16:13:10.932 11366 11366 F DEBUG : #00 pc 000078e6 /system/lib/libcutils.so (native_handle_close+3)
03-18 16:13:10.932 11366 11366 F DEBUG : #01 pc 000281fb /system/lib/libcamera_client.so
03-18 16:13:10.932 11366 11366 F DEBUG : #02 pc 00023e07 /system/lib/libcamera_client.so (_ZN7android6Camera27releaseRecordingFrameHandleEP13native_handle+46)
03-18 16:13:10.932 11366 11366 F DEBUG : #03 pc 00029af3 /system/lib/libcamera_client.so (_ZN7android22BnCameraRecordingProxy10onTransactEjRKNS_6ParcelEPS1_j+262)
03-18 16:13:10.932 11366 11366 F DEBUG : #04 pc 00035923 /system/lib/libbinder.so (_ZN7android7BBinder8transactEjRKNS_6ParcelEPS1_j+70)
03-18 16:13:10.932 11366 11366 F DEBUG : #05 pc 0003d049 /system/lib/libbinder.so (_ZN7android14IPCThreadState14executeCommandEi+560)
03-18 16:13:10.933 11366 11366 F DEBUG : #06 pc 0003cd2b /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+114)
03-18 16:13:10.933 11366 11366 F DEBUG : #07 pc 0003d1eb /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+38)
03-18 16:13:10.933 11366 11366 F DEBUG : #08 pc 0004f539 /system/lib/libbinder.so
03-18 16:13:10.933 11366 11366 F DEBUG : #09 pc 0000e43d /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140)
03-18 16:13:10.933 11366 11366 F DEBUG : #10 pc 00066d45 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
03-18 16:13:10.933 11366 11366 F DEBUG : #11 pc 00047853 /system/lib/libc.so (_ZL15__pthread_startPv+22)
03-18 16:13:10.933 11366 11366 F DEBUG : #12 pc 00019b7d /system/lib/libc.so (__start_thread+6)

03-20 15:44:20.690 16984 16996 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 16996 (Binder:16984_1)
03-20 15:44:20.891 31615 31615 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-20 15:44:20.891 31615 31615 F DEBUG : LineageOS Version: '14.1-20180315-NIGHTLY-harpia'
03-20 15:44:20.891 31615 31615 F DEBUG : Build fingerprint: 'motorola/harpia/harpia:6.0.1/MPI24.241-15.3/3:user/release-keys'
03-20 15:44:20.891 31615 31615 F DEBUG : Revision: '0'
03-20 15:44:20.891 31615 31615 F DEBUG : ABI: 'arm'
03-20 15:44:20.892 31615 31615 F DEBUG : pid: 16984, tid: 16996, name: Binder:16984_1 >>> net.sourceforge.opencamera <<<
03-20 15:44:20.892 31615 31615 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
03-20 15:44:20.892 31615 31615 F DEBUG : r0 00000000 r1 c00f96b8 r2 b42b3e00 r3 b642a8dd
03-20 15:44:20.892 31615 31615 F DEBUG : r4 00000000 r5 00000000 r6 b30e86c8 r7 b64234a9
03-20 15:44:20.892 31615 31615 F DEBUG : r8 b30e88b0 r9 b42712d0 sl b650b059 fp 00000000
03-20 15:44:20.892 31615 31615 F DEBUG : ip b47b4b58 sp b30e86b0 lr b479b1ff pc b63088e6 cpsr 00070030
03-20 15:44:20.911 31615 31615 F DEBUG :
03-20 15:44:20.911 31615 31615 F DEBUG : backtrace:
03-20 15:44:20.911 31615 31615 F DEBUG : #00 pc 000078e6 /system/lib/libcutils.so (native_handle_close+3)
03-20 15:44:20.911 31615 31615 F DEBUG : #01 pc 000281fb /system/lib/libcamera_client.so
03-20 15:44:20.911 31615 31615 F DEBUG : #02 pc 00023e07 /system/lib/libcamera_client.so (_ZN7android6Camera27releaseRecordingFrameHandleEP13native_handle+46)
03-20 15:44:20.911 31615 31615 F DEBUG : #03 pc 00029af3 /system/lib/libcamera_client.so (_ZN7android22BnCameraRecordingProxy10onTransactEjRKNS_6ParcelEPS1_j+262)
03-20 15:44:20.911 31615 31615 F DEBUG : #04 pc 00035923 /system/lib/libbinder.so (_ZN7android7BBinder8transactEjRKNS_6ParcelEPS1_j+70)
03-20 15:44:20.911 31615 31615 F DEBUG : #05 pc 0003d049 /system/lib/libbinder.so (_ZN7android14IPCThreadState14executeCommandEi+560)
03-20 15:44:20.911 31615 31615 F DEBUG : #06 pc 0003cd2b /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+114)
03-20 15:44:20.911 31615 31615 F DEBUG : #07 pc 0003d1eb /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+38)
03-20 15:44:20.911 31615 31615 F DEBUG : #08 pc 0004f539 /system/lib/libbinder.so
03-20 15:44:20.911 31615 31615 F DEBUG : #09 pc 0000e43d /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140)
03-20 15:44:20.911 31615 31615 F DEBUG : #10 pc 00066d45 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
03-20 15:44:20.911 31615 31615 F DEBUG : #11 pc 00047853 /system/lib/libc.so (_ZL15__pthread_startPv+22)
03-20 15:44:20.911 31615 31615 F DEBUG : #12 pc 00019b7d /system/lib/libc.so (__start_thread+6)