[Moto G4 Plus Questions & Answers] gabriwinter:
AICP 01/01/17 build XT1642, camera recording fails with a toast message: Couldn't start media recorder. Can't start video recording.

Log attached.

Captured this on boot, maybe relevant:

01-02 10:00:57.305 4825 5155 E mm-camera: mct_util_timer_handler:Error Backend stuck during HAL Command Raising SIGABRT

01-02 10:00:57.305 4825 5153 E mm-camera: mct: mct_pipeline_process_serv_msg: Session stream linking timedout sending error msg

01-02 10:00:57.305 4825 5154 E mm-camera: mct: mct_controller_proc_bus_msg_internal: MCT_BUS_MSG_SEND_HW_ERROR

01-02 10:00:57.305 4825 4825 E mm-camera: main: camera daemon notify error

01-02 10:00:57.305 5083 5083 E mm-camera-intf: mm_camera_query_capability: cannot get camera capabilities, rc = -1

01-02 10:00:57.305 5083 5157 E mm-camera-intf: mm_camera_event_notify: Camera Event DAEMON DIED received

01-02 10:00:57.306 5083 5083 E QCamera3HWI: static int qcamera::QCamera3HardwareInterface::initCapabilities(uint32_t): failed to query capability

01-02 10:00:57.306 4825 5155 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 5155 (POSIX timer 1)

01-02 10:00:57.306 335 335 W : debuggerd: handling request: pid=4825 uid=1006 gid=1006 tid=5155

01-02 10:00:57.329 5262 5262 W ResourceType: CREATING STRING CACHE OF 64 bytes

01-02 10:00:57.330 5262 5262 W ResourceType: CREATING STRING CACHE OF 15272 bytes

01-02 10:00:57.340 5263 5263 E : debuggerd: Unable to connect to activity manager (connect failed: Connection refused)

01-02 10:00:57.391 5263 5263 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

01-02 10:00:57.392 5263 5263 F DEBUG : CM Version: 'unknown'

01-02 10:00:57.392 5263 5263 F DEBUG : Build fingerprint: 'motorola/athene_f/athene_f:7.0/NPJ25.93-9/1:user/release-keys'

01-02 10:00:57.392 5263 5263 F DEBUG : Revision: '0'

01-02 10:00:57.392 5263 5263 F DEBUG : ABI: 'arm'

01-02 10:00:57.392 5263 5263 F DEBUG : pid: 4825, tid: 5155, name: POSIX timer 1 >>> /system/bin/mm-qcamera-daemon <<<

01-02 10:00:57.392 5263 5263 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------

01-02 10:00:57.392 5263 5263 F DEBUG : r0 00000000 r1 00001423 r2 00000006 r3 b67acf5c

01-02 10:00:57.392 5263 5263 F DEBUG : r4 ae882978 r5 00000006 r6 ae882920 r7 0000010c

01-02 10:00:57.393 5263 5263 F DEBUG : r8 b3796080 r9 b677f391 sl b3796078 fp 00000000

01-02 10:00:57.393 5263 5263 F DEBUG : ip 00000000 sp ae882848 lr b67aa433 pc b67acd28 cpsr 600f0010

01-02 10:00:57.403 5263 5263 F DEBUG :

01-02 10:00:57.403 5263 5263 F DEBUG : backtrace:

01-02 10:00:57.403 5263 5263 F DEBUG : #00 pc 0004ad28 /system/lib/libc.so (tgkill+12)

01-02 10:00:57.403 5263 5263 F DEBUG : #01 pc 0004842f /system/lib/libc.so (pthread_kill+34)

01-02 10:00:57.403 5263 5263 F DEBUG : #02 pc 0001d8b9 /system/lib/libc.so (raise+10)

01-02 10:00:57.403 5263 5263 F DEBUG : #03 pc 0000c987 /system/vendor/lib/libmmcamera2_mct.so (mct_util_timer_handler+22)

01-02 10:00:57.403 5263 5263 F DEBUG : #04 pc 0001d3b9 /system/lib/libc.so (_ZL20__timer_thread_startPv+40)

01-02 10:00:57.403 5263 5263 F DEBUG : #05 pc 00047f03 /system/lib/libc.so (_ZL15__pthread_startPv+22)

01-02 10:00:57.403 5263 5263 F DEBUG : #06 pc 00019d21 /system/lib/libc.so (__start_thread+6)

01-02 10:00:57.446 5264 5264 W ResourceType: CREATING STRING CACHE OF 52 bytes

01-02 10:00:57.446 5264 5264 W ResourceType: CREATING STRING CACHE OF 7348 bytes

01-02 10:00:57.539 5265 5265 W ResourceType: CREATING STRING CACHE OF 52 bytes

01-02 10:00:57.539 5265 5265 W ResourceType: CREATING STRING CACHE OF 628 bytes

01-02 10:00:57.618 5266 5266 W ResourceType: CREATING STRING CACHE OF 88 bytes

01-02 10:00:57.618 5266 5266 W ResourceType: CREATING STRING CACHE OF 36924 bytes

01-02 10:00:57.879 407 718 I ServiceManager: Waiting for service sensorservice...

01-02 10:00:57.936 5269 5269 W ResourceType: CREATING STRING CACHE OF 80 bytes

01-02 10:00:57.937 5269 5269 W ResourceType: CREATING STRING CACHE OF 57636 bytes

01-02 10:00:57.982 5263 5263 E : debuggerd: failed to kill process 4825: No such process

01-02 10:00:57.986 335 335 W : debuggerd: resuming target 4825