"Serious camera error" on /e/ 0.18 R
- /e/ version: 0.18 R
- Device model(s): lavender
- Device rooted: no
Summary
Since the update to /e/ 0.18 R, the camera works intermittently. When I'm lucky, I have time to take some pictures before the bug appears, but other times the application crashes before I have time to do something. The screenshot below shows what happens during the bug on the foundation.e.camera application. I have also another camera application, and it crashes completely when the bug appears.
The problem
Steps to reproduce
- Install /e/OS 0.18 R on Redmi Note 7 (lavender)
- Open the camera application
What is the current behavior?
I'm unable to use the camera.
What is the expected correct behavior?
I should be able to use the camera.
Technical informations
Relevant logs (adb logcat
)
I saved the whole logcat, without knowing what to put... I thought that this passage could be interesting. I can send you other passages if needed.
--------- beginning of crash
10-31 08:43:55.875 757 6149 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10001 in tid 6149 (CAM_iface_poll), pid 757 (provider@2.4-se)
10-31 08:43:56.013 3975 4483 I TrackerControl.VPN: Get uid local=/10.1.10.1:39241 remote=/142.250.178.138:443
10-31 08:43:56.017 3975 4483 I TrackerControl.VPN: Get uid=10210
10-31 08:43:56.017 6164 6164 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
10-31 08:43:56.023 672 672 I tombstoned: received crash request for pid 6149
10-31 08:43:56.025 6164 6164 I crash_dump32: performing dump of process 757 (target tid = 6149)
10-31 08:43:56.044 6164 6164 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-31 08:43:56.045 6164 6164 F DEBUG : LineageOS Version: '0.18-r-20210901132813-dev-lavender'
10-31 08:43:56.045 6164 6164 F DEBUG : Build fingerprint: 'xiaomi/lavender/lavender:10/QKQ1.190910.002/V12.0.1.0.QFGMIXM:user/release-keys'
10-31 08:43:56.045 6164 6164 F DEBUG : Revision: '0'
10-31 08:43:56.045 6164 6164 F DEBUG : ABI: 'arm'
10-31 08:43:56.045 6164 6164 F DEBUG : Timestamp: 2021-10-31 08:43:56+0100
10-31 08:43:56.045 6164 6164 F DEBUG : pid: 757, tid: 6149, name: CAM_iface_poll >>> /vendor/bin/hw/android.hardware.camera.provider@2.4-service <<<
10-31 08:43:56.045 6164 6164 F DEBUG : uid: 1047
10-31 08:43:56.046 6164 6164 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10001
10-31 08:43:56.046 6164 6164 F DEBUG : r0 00010001 r1 c963b9e8 r2 00000000 r3 00000049
10-31 08:43:56.046 6164 6164 F DEBUG : r4 c963b9e8 r5 dfa78c91 r6 d8919490 r7 dfaaa880
10-31 08:43:56.046 6164 6164 F DEBUG : r8 e0ea46a0 r9 e0ea4694 r10 eb066530 r11 de0df174
10-31 08:43:56.046 6164 6164 F DEBUG : ip dfaaa318 sp c963b9c8 lr df8b0163 pc df8b0150
10-31 08:43:56.078 6164 6164 F DEBUG : backtrace:
10-31 08:43:56.078 6164 6164 F DEBUG : #00 pc 0001f150 /vendor/lib/libmmcamera2_mct.so (mct_queue_traverse+20)
10-31 08:43:56.078 6164 6164 F DEBUG : #01 pc 0005f28d /vendor/lib/libmmcamera2_imglib_modules.so (module_imgbase_process_super_params+324)
10-31 08:43:56.078 6164 6164 F DEBUG : #02 pc 0005e069 /vendor/lib/libmmcamera2_imglib_modules.so (module_imgbase_port_event_func+6900)
10-31 08:43:56.079 6164 6164 F DEBUG : #03 pc 00001eeb /vendor/lib/libmmcamera_ppbase_module.so (base_port_handle_buf_divert+586) (BuildId: bb52c43da20abac180f0f88180edbc97)
10-31 08:43:56.079 6164 6164 F DEBUG : #04 pc 00003001 /vendor/lib/libmmcamera_ppbase_module.so (base_port_sink_event_func+200) (BuildId: bb52c43da20abac180f0f88180edbc97)
10-31 08:43:56.079 6164 6164 F DEBUG : #05 pc 00009dff /vendor/lib/libmmcamera2_pproc_modules.so (pproc_port_sink_event+1946)
10-31 08:43:56.079 6164 6164 F DEBUG : #06 pc 0004c87f /vendor/lib/libmmcamera2_isp_modules.so (isp_util_forward_event_downstream_to_type+270)
10-31 08:43:56.079 6164 6164 F DEBUG : #07 pc 0000a197 /vendor/lib/libmmcamera2_isp_modules.so (isp_port_event+2574)
10-31 08:43:56.079 6164 6164 F DEBUG : #08 pc 00036c77 /vendor/lib/libmmcamera2_iface_modules.so (iface_util_buf_divert_notify+6450)
10-31 08:43:56.079 6164 6164 F DEBUG : #09 pc 00038019 /vendor/lib/libmmcamera2_iface_modules.so (iface_util_axi_notify+876)
10-31 08:43:56.079 6164 6164 F DEBUG : #10 pc 000480dd /vendor/lib/libmmcamera2_iface_modules.so (iface_axi_proc_subdev_event+1684)
10-31 08:43:56.079 6164 6164 F DEBUG : #11 pc 000464d5 /vendor/lib/libmmcamera2_iface_modules.so (iface_thread_main_loop+392)
10-31 08:43:56.079 6164 6164 F DEBUG : #12 pc 000817ff /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) (BuildId: 0df42f4bf5b7d932ce25d3ef38ff1413)
10-31 08:43:56.079 6164 6164 F DEBUG : #13 pc 00039e25 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: 0df42f4bf5b7d932ce25d3ef38ff1413)
10-31 08:43:56.404 1012 1152 E Utils : did not find width and/or height
10-31 08:43:56.408 1012 1152 E Utils : did not find width and/or height
10-31 08:43:56.447 1012 2587 I SampleTable: There are reordered frames present.
10-31 08:43:56.448 1012 2587 E Utils : did not find width and/or height
10-31 08:43:56.450 1012 2587 E Utils : did not find width and/or height
10-31 08:43:56.507 1012 2587 I SampleTable: There are reordered frames present.
10-31 08:43:56.508 1012 2587 E Utils : did not find width and/or height
10-31 08:43:56.509 1012 2587 E Utils : did not find width and/or height
10-31 08:43:56.550 1012 1152 E Utils : did not find width and/or height
10-31 08:43:56.552 1012 1152 E Utils : did not find width and/or height
10-31 08:43:56.626 1012 1152 I SampleTable: There are reordered frames present.
10-31 08:43:56.627 1012 1152 E Utils : did not find width and/or height
10-31 08:43:56.674 0 0 D logd : logdr: UID=1047 GID=1005 PID=6164 n tail=50 logMask=8 pid=757 start=0ns timeout=0ns
10-31 08:43:56.683 0 0 D logd : logdr: UID=1047 GID=1005 PID=6164 n tail=50 logMask=1 pid=757 start=0ns timeout=0ns
10-31 08:43:56.628 1012 1152 E Utils : did not find width and/or height
10-31 08:43:56.707 1012 2587 E Utils : did not find width and/or height
10-31 08:43:56.708 1012 2587 E Utils : did not find width and/or height
10-31 08:43:56.757 1012 1152 E Utils : did not find channel-count and/or sample-rate
10-31 08:43:56.758 1012 1152 E Utils : did not find channel-count and/or sample-rate
10-31 08:43:56.787 1012 1152 E Utils : did not find width and/or height
10-31 08:43:56.788 1012 1152 E Utils : did not find width and/or height
10-31 08:43:56.831 3285 5656 D ExifInterface: No image meets the size requirements of a thumbnail image.
10-31 08:43:56.827 0 0 D logd : logdr: UID=1047 GID=1005 PID=6164 n tail=0 logMask=8 pid=757 start=0ns timeout=0ns
10-31 08:43:56.833 0 0 D logd : logdr: UID=1047 GID=1005 PID=6164 n tail=0 logMask=1 pid=757 start=0ns timeout=0ns
10-31 08:43:56.855 1527 2115 W NativeCrashListener: Couldn't find ProcessRecord for pid 757
10-31 08:43:56.856 6164 6164 E crash_dump32: AM data write failed: Broken pipe
10-31 08:43:56.857 672 672 E tombstoned: Tombstone written to: /data/tombstones/tombstone_17
10-31 08:43:56.869 1527 1715 I BootReceiver: Copying /data/tombstones/tombstone_17 to DropBox (SYSTEM_TOMBSTONE)
10-31 08:43:56.874 1527 1715 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2
10-31 08:43:56.885 0 0 I init : Untracked pid 6164 exited with status 0
10-31 08:43:56.908 0 0 W MSM-CPP msm_cpp_delete_buff_queue: 659 Queue not free sessionid: 3, streamid: 2
10-31 08:43:56.908 0 0 W MSM-CPP cpp_release_hardware: 1222 stream count active
10-31 08:43:56.909 0 0 I MSM-CPP cpp_release_hardware: 1226 cpp hw release done
10-31 08:43:56.930 0 0 E msm_camera_power_down: 1715:seq_val:3 > num_vreg: 3
10-31 08:43:56.940 943 1164 I CameraProviderManager: Camera provider 'legacy/0' has died; removing it
10-31 08:43:56.939 0 0 E : msm_csiphy_release csiphy dev NULL / ref_count ZERO
10-31 08:43:56.941 943 6123 E Camera3-Device: processBatchCaptureRequests: Transaction error: Status(EX_TRANSACTION_FAILED): 'DEAD_OBJECT: '
10-31 08:43:56.941 943 6123 E Camera3-Device: Camera 0: sendRequestsBatch: RequestThread: Unable to submit capture request 74 to HAL device: Broken pipe (-32)
10-31 08:43:56.941 943 1164 I CameraService: onDeviceStatusChanged: Status changed for cameraId=0, newStatus=0
10-31 08:43:56.943 943 1164 E CameraService: supportsCameraApi: Unknown camera ID 0
10-31 08:43:56.943 943 1164 W CameraService: updateStatus: Failed to determine if device supports HAL3 0, supportsCameraApi call failed
10-31 08:43:56.943 6035 6089 E CameraController2: camera error: 4
10-31 08:43:56.943 6035 6089 E CameraController2: onError
10-31 08:43:56.944 943 1164 W CameraService: removeClientLocked: Could not evict client, no client for camera ID offline-0
10-31 08:43:56.944 943 1164 I CameraService: disconnectClient: Client for camera ID 0 evicted due to device status change from HAL
10-31 08:43:56.940 0 0 E : msm_csiphy_release csiphy dev NULL / ref_count ZERO
10-31 08:43:56.940 0 0 E msm_csid_release: csid invalid state 1
10-31 08:43:56.940 0 0 I chatty : uid=0(root) logd identical 1 line
10-31 08:43:56.940 0 0 E msm_csid_release: csid invalid state 1
10-31 08:43:56.940 0 0 E : msm_cci_release invalid ref count 0 / cci state 1
10-31 08:43:56.940 0 0 E MSM-SENSOR-INIT msm_sensor_init_subdev_ioctl: 129 default
10-31 08:43:56.940 0 0 W MSM-CPP msm_cpp_subdev_ioctl: 3557 shutdown cpp node. open cnt:0
10-31 08:43:56.940 0 0 I msm_pm_qos_remove_request: remove request
10-31 08:43:56.941 0 0 I init : Service 'vendor.camera-provider-2-4' (pid 757) received signal 11
10-31 08:43:56.941 0 0 I init : Sending signal 9 to service 'vendor.camera-provider-2-4' (pid 757) process group...
10-31 08:43:56.947 0 0 I libprocessgroup: Successfully killed process cgroup uid 1047 pid 757 in 5ms
10-31 08:43:56.950 0 0 I init : Untracked pid 6166 exited with status 0
10-31 08:43:56.966 0 0 I init : starting service 'vendor.camera-provider-2-4'...
10-31 08:43:56.984 0 0 W libprocessgroup: Failed to open /dev/cpuset/camera-daemon/tasks: No such file or directory: No such file or directory
10-31 08:43:56.984 0 0 W libprocessgroup: Failed to apply CameraServiceCapacity task profile: No such file or directory
10-31 08:43:57.008 3285 5656 D ExifInterface: No image meets the size requirements of a thumbnail image.
10-31 08:43:57.030 6172 6172 I android.hardware.camera.provider@2.4-service: CameraProvider@2.4 legacy service is starting.
10-31 08:43:57.159 1012 2587 I SampleTable: There are reordered frames present.
10-31 08:43:57.161 1012 2587 E Utils : did not find width and/or height
10-31 08:43:57.163 1012 2587 E Utils : did not find width and/or height
10-31 08:43:57.183 3285 5656 D ExifInterface: No image meets the size requirements of a thumbnail image.
10-31 08:43:57.238 6172 6172 I QCamera : <HAL><INFO> init: 311: it is not native system,vendor.product.name = 0
10-31 08:43:57.265 6172 6172 I mm-camera: < INFO> 421: init: memleak lib init.
10-31 08:43:57.265 6172 6172 I mm-camera: < INFO> 440: init: memleak tracer not attached
10-31 08:43:57.278 6172 6172 I mm-camera: <SENSOR>< INFO> 387: eebin_read: failed!
10-31 08:43:57.278 6172 6172 I chatty : uid=1047(cameraserver) android.hardwar identical 2 lines
10-31 08:43:57.278 6172 6172 I mm-camera: <SENSOR>< INFO> 387: eebin_read: failed!
10-31 08:43:57.278 6172 6172 I mm-camera: <SENSOR>< INFO> 614: sensor_init_probe: opening: /dev/v4l-subdev13
10-31 08:43:57.278 6172 6172 I mm-camera: <SENSOR>< INFO> 623: sensor_init_probe: failed: to probe eeprom bin sensors (non-fatal)
10-31 08:43:57.287 6172 6172 I mm-camera: <SENSOR>< INFO> 323: sensor_sdk_util_get_i2c_freq_mode: Invalid i2c_freq_mode = 4
10-31 08:43:57.288 6172 6172 I mm-camera: <SENSOR>< INFO> 257: sensor_probe: [lavender_imx486_ofilm_i] probe failed.
10-31 08:43:57.288 6172 6172 I mm-camera: <SENSOR>< INFO> 424: sensor_init_xml_probe: failed: to probe lavender_imx486_ofilm_i
10-31 08:43:57.276 0 0 I msm_pm_qos_add_request: add request
10-31 08:43:57.288 0 0 E : slot 1 has some other sensor
10-31 08:43:57.292 6172 6172 I mm-camera: <SENSOR>< INFO> 323: sensor_sdk_util_get_i2c_freq_mode: Invalid i2c_freq_mode = 4
10-31 08:43:57.292 6172 6172 I mm-camera: <SENSOR>< INFO> 257: sensor_probe: [lavender_imx486_ofilm_i_dw9714] probe failed.
10-31 08:43:57.293 6172 6172 I mm-camera: <SENSOR>< INFO> 424: sensor_init_xml_probe: failed: to probe lavender_imx486_ofilm_i_dw9714
10-31 08:43:57.293 6172 6172 I mm-camera: <SENSOR>< INFO> 323: sensor_sdk_util_get_i2c_freq_mode: Invalid i2c_freq_mode = 4
10-31 08:43:57.294 6172 6172 E mm-camera: <SENSOR><ERROR> 690: sensor_xml_util_parse_chromatix_config: sensorconfig reading from file vendor/etc/camera/lavender_s5kgm1_ofilm_i_chromatix.xml
10-31 08:43:57.292 0 0 E : slot 1 has some other sensor
10-31 08:43:57.294 0 0 E slot1 : sensor name: lavender_s5kgm1_ofilm_i sensor id2257 already probed
10-31 08:43:57.309 6172 6172 I mm-camera: <SENSOR>< INFO> 323: sensor_sdk_util_get_i2c_freq_mode: Invalid i2c_freq_mode = 4
10-31 08:43:57.310 6172 6172 I mm-camera: <SENSOR>< INFO> 250: sensor_probe: [lavender_ov02a10_ofilm_i]CFG_SINIT_PROBE failed
10-31 08:43:57.310 6172 6172 I mm-camera: <SENSOR>< INFO> 424: sensor_init_xml_probe: failed: to probe lavender_ov02a10_ofilm_i
10-31 08:43:57.309 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[0]=, module_id=0,
10-31 08:43:57.309 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[1]=, module_id=0,
10-31 08:43:57.310 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[2]=, module_id=0,
10-31 08:43:57.310 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[3]=lavender_s5k5e8_ofilm_i, module_id=7,
10-31 08:43:57.310 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[4]=, module_id=0,
10-31 08:43:57.310 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[5]=lavender_s5k5e8_sunny_ii, module_id=0,
10-31 08:43:57.310 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[6]=, module_id=0,
10-31 08:43:57.310 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[7]=, module_id=0,
10-31 08:43:57.310 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[8]=, module_id=0,
10-31 08:43:57.310 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[9]=, module_id=0,
10-31 08:43:57.310 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[10]=, module_id=0,
10-31 08:43:57.310 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[11]=, module_id=0,
10-31 08:43:57.310 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[12]=, module_id=0,
10-31 08:43:57.310 0 0 I : slave_info->eeprom_name=lavender_ov02a10_ofilm_i, s_vendor_eeprom[13]=, module_id=0,
10-31 08:43:57.310 0 0 E : Lc module not found!probe break failed!
10-31 08:43:57.310 0 0 E MSM-SENSOR-INIT msm_sensor_driver_cmd: 90 msm_sensor_driver_cmd failed (non-fatal) rc -14
10-31 08:43:57.310 0 0 E MSM-SENSOR-INIT msm_sensor_init_subdev_do_ioctl: 156 msm_sensor_init_subdev_do_ioctl:156 VIDIOC_MSM_SENSOR_INIT_CFG failed (non-fatal)
10-31 08:43:57.313 6172 6172 I mm-camera: <SENSOR>< INFO> 323: sensor_sdk_util_get_i2c_freq_mode: Invalid i2c_freq_mode = 4
10-31 08:43:57.314 6172 6172 I mm-camera: <SENSOR>< INFO> 250: sensor_probe: [lavender_ov02a10_sunny_ii]CFG_SINIT_PROBE failed
10-31 08:43:57.314 6172 6172 I mm-camera: <SENSOR>< INFO> 424: sensor_init_xml_probe: failed: to probe lavender_ov02a10_sunny_ii
10-31 08:43:57.313 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[0]=, module_id=0,
10-31 08:43:57.313 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[1]=, module_id=0,
10-31 08:43:57.313 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[2]=, module_id=0,
10-31 08:43:57.313 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[3]=lavender_s5k5e8_ofilm_i, module_id=7,
10-31 08:43:57.313 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[4]=, module_id=0,
10-31 08:43:57.313 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[5]=lavender_s5k5e8_sunny_ii, module_id=0,
10-31 08:43:57.313 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[6]=, module_id=0,
10-31 08:43:57.313 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[7]=, module_id=0,
10-31 08:43:57.313 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[8]=, module_id=0,
10-31 08:43:57.313 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[9]=, module_id=0,
10-31 08:43:57.314 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[10]=, module_id=0,
10-31 08:43:57.314 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[11]=, module_id=0,
10-31 08:43:57.314 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[12]=, module_id=0,
10-31 08:43:57.314 0 0 I : slave_info->eeprom_name=lavender_ov02a10_sunny_ii, s_vendor_eeprom[13]=, module_id=0,
10-31 08:43:57.314 0 0 E : Lc module not found!probe break failed!
10-31 08:43:57.314 0 0 E MSM-SENSOR-INIT msm_sensor_driver_cmd: 90 msm_sensor_driver_cmd failed (non-fatal) rc -14
10-31 08:43:57.314 0 0 E MSM-SENSOR-INIT msm_sensor_init_subdev_do_ioctl: 156 msm_sensor_init_subdev_do_ioctl:156 VIDIOC_MSM_SENSOR_INIT_CFG failed (non-fatal)
10-31 08:43:57.316 0 0 I : slave_info->eeprom_name=lavender_s5k5e8_ofilm_i, s_vendor_eeprom[0]=, module_id=0,
10-31 08:43:57.316 0 0 I : slave_info->eeprom_name=lavender_s5k5e8_ofilm_i, s_vendor_eeprom[1]=, module_id=0,
10-31 08:43:57.316 0 0 I : slave_info->eeprom_name=lavender_s5k5e8_ofilm_i, s_vendor_eeprom[2]=, module_id=0,
10-31 08:43:57.316 0 0 I : slave_info->eeprom_name=lavender_s5k5e8_ofilm_i, s_vendor_eeprom[3]=lavender_s5k5e8_ofilm_i, module_id=7,
10-31 08:43:57.316 0 0 I : Lc module found!probe continue!
10-31 08:43:57.316 0 0 E slot0 : sensor name: lavender_s5k5e8_ofilm_i sensor id24192 already probed
10-31 08:43:57.316 6172 6172 I mm-camera: <SENSOR>< INFO> 323: sensor_sdk_util_get_i2c_freq_mode: Invalid i2c_freq_mode = 4
10-31 08:43:57.317 6172 6172 E mm-camera: <SENSOR><ERROR> 690: sensor_xml_util_parse_chromatix_config: sensorconfig reading from file vendor/etc/camera/lavender_s5k5e8_ofilm_cn_i_chromatix.xml
10-31 08:43:57.319 6172 6172 I mm-camera: <SENSOR>< INFO> 323: sensor_sdk_util_get_i2c_freq_mode: Invalid i2c_freq_mode = 4
10-31 08:43:57.320 6172 6172 E mm-camera: <SENSOR><ERROR> 690: sensor_xml_util_parse_chromatix_config: sensorconfig reading from file vendor/etc/camera/lavender_ov13855_ofilm_i_chromatix.xml
10-31 08:43:57.320 0 0 E slot2 : sensor name: lavender_ov13855_ofilm_i sensor id55381 already probed
10-31 08:43:57.326 0 0 I msm_csid_init: CSID_VERSION = 0x30050000
10-31 08:43:57.327 0 0 E : msm_csid_irq CSID1_IRQ_STATUS_ADDR = 0x800
10-31 08:43:57.327 0 0 I msm_csid_init: CSID_VERSION = 0x30050000
10-31 08:43:57.328 0 0 E : msm_csid_irq CSID0_IRQ_STATUS_ADDR = 0x800
10-31 08:43:57.328 0 0 I msm_csid_init: CSID_VERSION = 0x30050000
10-31 08:43:57.329 0 0 E : msm_csid_irq CSID2_IRQ_STATUS_ADDR = 0x800
10-31 08:43:57.331 6172 6172 E mm-camera: <SENSOR><ERROR> lavender_s5kgm1sp_ofilm_i_read_info: 97: module_id = 0x7,year = 19,4,5
10-31 08:43:57.331 6172 6172 E mm-camera: <SENSOR><ERROR> lavender_s5kgm1sp_ofilm_i_eeprom_format_afdata: 297: [xiaomi af otp] AF OTP(horizontal) DAC: macro 698 infinity 356 dac range 342
10-31 08:43:57.332 6172 6172 E mm-camera: <SENSOR><ERROR> lavender_s5k5e8_ofilm_i_eeprom_format_wbdata: 69: Lct Invalib flag (0x0)!!!
10-31 08:43:57.332 6172 6172 E mm-camera: <SENSOR><ERROR> lavender_s5k5e8_ofilm_i_eeprom_format_wbdata: 69: Lct Invalib flag (0x0)!!!
10-31 08:43:57.332 6172 6172 E mm-camera: <SENSOR><ERROR> lavender_s5k5e8_ofilm_i_eeprom_format_wbdata: 89: vend_id = 0x7, sensor_id = 0x9, product_id = 0x2d .
10-31 08:43:57.332 6172 6172 E mm-camera: <SENSOR><ERROR> lavender_s5k5e8_ofilm_i_eeprom_format_wbdata: 94: 2019-4-3 .
10-31 08:43:57.332 6172 6172 E mm-camera: <SENSOR><ERROR> lavender_s5k5e8_ofilm_i_eeprom_format_wbdata: 115: Lc OTP:AWB : r/gr = 0.574074
10-31 08:43:57.332 6172 6172 E mm-camera: <SENSOR><ERROR> lavender_s5k5e8_ofilm_i_eeprom_format_wbdata: 116: Lc OTP:AWB : b/gr = 0.666667
10-31 08:43:57.332 6172 6172 E mm-camera: <SENSOR><ERROR> lavender_s5k5e8_ofilm_i_eeprom_format_wbdata: 117: Lc OTP:AWB : gb/gr = 1.000000
10-31 08:43:57.333 6172 6172 E mm-camera: <SENSOR><ERROR> lavender_s5k5e8_ofilm_i_eeprom_format_wbdata: 123: Lc OTP:AWB : G_r/G_gr = 0.576577
10-31 08:43:57.333 6172 6172 E mm-camera: <SENSOR><ERROR> lavender_s5k5e8_ofilm_i_eeprom_format_wbdata: 124: Lc OTP:AWB : G_b/G_gr = 0.648649
10-31 08:43:57.333 6172 6172 E mm-camera: <SENSOR><ERROR> lavender_s5k5e8_ofilm_i_eeprom_format_wbdata: 125: Lc OTP:AWB : G_gb/G_gr = 1.000000
10-31 08:43:57.333 6172 6172 E mm-camera: <SENSOR><ERROR> lavender_s5k5e8_ofilm_i_eeprom_get_calibration_items: 24: Lc is_wbc:1,is_afc:0,is_lsc:0,is_dpc:0,is_insensor:0,is_ois:0
10-31 08:43:57.363 6172 6172 E mm-camera: <SENSOR><ERROR> 199: addLib: HASH cache is full
10-31 08:43:57.363 6172 6172 I chatty : uid=1047(cameraserver) android.hardwar identical 6 lines
10-31 08:43:57.363 6172 6172 E mm-camera: <SENSOR><ERROR> 199: addLib: HASH cache is full
10-31 08:43:57.363 6172 6172 E mm-camera: <SENSOR><ERROR> 100: cm_create: HASH cache is full
10-31 08:43:57.364 943 6123 W CallStack: update: Failed to unwind callstack.
10-31 08:43:57.366 943 6123 E ProcessCallStack: getThreadName: Failed to open /proc/self/task/6124/comm
10-31 08:43:57.401 6172 6172 E mm-camera: <SENSOR><ERROR> 199: addLib: HASH cache is full
10-31 08:43:57.401 6172 6172 I chatty : uid=1047(cameraserver) android.hardwar identical 6 lines
10-31 08:43:57.401 6172 6172 E mm-camera: <SENSOR><ERROR> 199: addLib: HASH cache is full
10-31 08:43:57.401 6172 6172 E mm-camera: <SENSOR><ERROR> 100: cm_create: HASH cache is full
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name video0 type 10001 group id 2
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name msm_cci type 20000 group id 0
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev0 type 20000 group id 0
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev1 type 20000 group id 0
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev2 type 20000 group id 0
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev3 type 20000 group id 1
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev4 type 20000 group id 1
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev5 type 20000 group id 1
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev6 type 20000 group id 1
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev7 type 20000 group id 7
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev8 type 20000 group id 8
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev9 type 20000 group id 8
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev10 type 20000 group id 8
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev11 type 20000 group id 8
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev12 type 20000 group id 16
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev13 type 20000 group id 14
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev14 type 20000 group id 9
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev15 type 20000 group id 3
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev16 type 20000 group id 3
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev17 type 20000 group id 2
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev18 type 20000 group id 13
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev19 type 20000 group id 6
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev20 type 20000 group id 6
10-31 08:43:57.403 6172 6172 E mm-camera: <IFACE ><ERROR> 316: iface_discover_subdev_nodes: iface_discover_subdev_nodes:316 entity name v4l-subdev21 type 20000 group id 6
10-31 08:43:57.410 6172 6172 I mm-camera: <ISP >< INFO> 4058: isp_resource_get_isp_hw_limit: isp hw limit 0
10-31 08:43:57.411 943 6123 D CameraTraces: Process trace saved. Use dumpsys media.camera to view.
10-31 08:43:57.411 943 1164 E Camera3-Device: flush: Transaction error: Status(EX_TRANSACTION_FAILED): 'DEAD_OBJECT: '
10-31 08:43:57.411 943 1164 E CameraDeviceClient: detachDevice: flush failed with code 0xffffffe0
10-31 08:43:57.411 943 1164 I Camera3-Device: disconnectImpl: E
10-31 08:43:57.411 943 1164 E Camera3-Device: Camera 0: disconnectImpl: Shutting down in an error state
10-31 08:43:57.411 943 1164 I CameraLatencyHistogram: ProcessCaptureRequest latency histogram (74) samples:
10-31 08:43:57.411 943 1164 I CameraLatencyHistogram: 40 80 120 160 200 240 280 320 360 inf (max ms)
10-31 08:43:57.411 943 1164 I CameraLatencyHistogram: 68.92 28.38 1.35 0.00 0.00 1.35 0.00 0.00 0.00 0.00 (%)
10-31 08:43:57.411 943 1164 W Camera3-OutputUtils: flushInflightRequests: Frame 70 | Timestamp: 0, metadata arrived: false, buffers left: 1.
10-31 08:43:57.411 943 1164 W Camera3-OutputUtils: flushInflightRequests: Frame 71 | Timestamp: 0, metadata arrived: false, buffers left: 1.
10-31 08:43:57.411 943 1164 W Camera3-OutputUtils: flushInflightRequests: Frame 72 | Timestamp: 0, metadata arrived: false, buffers left: 1.
10-31 08:43:57.411 943 1164 W Camera3-OutputUtils: flushInflightRequests: Frame 73 | Timestamp: 0, metadata arrived: false, buffers left: 1.
10-31 08:43:57.411 943 1164 W Camera3-OutputUtils: flushInflightRequests: Frame 74 | Timestamp: 0, metadata arrived: false, buffers left: 1.
10-31 08:43:57.416 943 1164 I CameraLatencyHistogram: Stream 0 dequeueBuffer latency histogram (75) samples:
10-31 08:43:57.416 943 1164 I CameraLatencyHistogram: 5 10 15 20 25 30 35 40 45 inf (max ms)
10-31 08:43:57.416 943 1164 I CameraLatencyHistogram: 98.67 1.33 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 (%)
10-31 08:43:57.417 943 1164 I Camera3-Device: disconnectImpl: X
10-31 08:43:57.418 943 1164 E CameraService: supportsCameraApi: Unknown camera ID 0
10-31 08:43:57.418 943 1164 W CameraService: updateStatus: Failed to determine if device supports HAL3 0, supportsCameraApi call failed
10-31 08:43:57.423 943 1164 I CameraService: disconnect: Disconnected client for camera 0 for PID 6035
10-31 08:43:57.424 6035 6089 E CameraController2: error occurred after camera was opened
10-31 08:43:57.424 943 1164 I CameraService: onDeviceStatusChanged: Status changed for cameraId=1, newStatus=0
10-31 08:43:57.424 943 1164 E CameraService: supportsCameraApi: Unknown camera ID 1
10-31 08:43:57.424 943 1164 W CameraService: updateStatus: Failed to determine if device supports HAL3 1, supportsCameraApi call failed
10-31 08:43:57.424 943 1164 W CameraService: removeClientLocked: Could not evict client, no client for camera ID 1
10-31 08:43:57.424 943 1164 W CameraService: removeClientLocked: Could not evict client, no client for camera ID offline-1
10-31 08:43:57.424 943 1164 I CameraService: onDeviceStatusChanged: Status changed for cameraId=2, newStatus=0
10-31 08:43:57.424 943 1164 E CameraService: supportsCameraApi: Unknown camera ID 2
10-31 08:43:57.424 943 1164 W CameraService: updateStatus: Failed to determine if device supports HAL3 2, supportsCameraApi call failed
10-31 08:43:57.424 943 1164 W CameraService: removeClientLocked: Could not evict client, no client for camera ID 2
10-31 08:43:57.424 943 1164 W CameraService: removeClientLocked: Could not evict client, no client for camera ID offline-2
10-31 08:43:57.424 943 1164 I CameraService: onDeviceStatusChanged: Status changed for cameraId=3, newStatus=0
10-31 08:43:57.424 943 1164 E CameraService: supportsCameraApi: Unknown camera ID 3
10-31 08:43:57.424 943 1164 W CameraService: updateStatus: Failed to determine if device supports HAL3 3, supportsCameraApi call failed
10-31 08:43:57.424 943 1164 W CameraService: removeClientLocked: Could not evict client, no client for camera ID 3
10-31 08:43:57.424 943 1164 W CameraService: removeClientLocked: Could not evict client, no client for camera ID offline-3
10-31 08:43:57.425 6035 6053 W dation.e.camer: Long monitor contention with owner CameraBackground (6089) at void android.hardware.camera2.impl.CameraDeviceImpl.close()(CameraDeviceImpl.java:1326) waiters=0 in void android.hardware.camera2.impl.CameraDeviceImpl.onDeviceError(int, android.hardware.camera2.impl.CaptureResultExtras) for 473ms
10-31 08:43:57.431 6035 6035 D CompatibilityChangeReporter: Compat change id reported: 147798919; UID 10115; state: DISABLED
10-31 08:43:57.436 6172 6172 I mm-camera: <ISP >< INFO> 4058: isp_resource_get_isp_hw_limit: isp hw limit 0
10-31 08:43:57.451 6172 6172 I mm-camera: <ISP >< INFO> 926: module_isp_init: module 0xf6400160
10-31 08:43:57.332 0 0 E msm_eeprom_config32: 1571 Eeprom already probed at kernel boot
10-31 08:43:57.454 0 0 I MSM-CPP cpp_init_hardware: 1145 CPP HW Version: 0x60010002
10-31 08:43:57.454 0 0 E MSM-CPP cpp_init_hardware: 1163 stream_cnt:0
10-31 08:43:57.460 6172 6172 I mm-camera: <CPP >< INFO> 174: cpp_module_init: info: CPP module_init successful
10-31 08:43:57.460 0 0 I MSM-CPP cpp_release_hardware: 1226 cpp hw release done
10-31 08:43:57.539 6172 6172 E mm-camera: <IMGLIB><ERROR> 1348: frameproc_comp_reload_lib: Error opening frameproc library libmmcamera_llvd.so error dlopen failed: library "libmmcamera_llvd.so" not found
10-31 08:43:57.539 6172 6172 E mm-camera: <IMGLIB><ERROR> 1214: frameproc_comp_load: frameproc_comp_load:1214] cannot load libmmcamera_llvd.so
10-31 08:43:57.539 6172 6172 E mm-camera: <IMGLIB><ERROR> 3576: module_imgbase_init: llvd] Error rc -7
10-31 08:43:57.542 6172 6172 E mm-camera: <IMGLIB><ERROR> 4164: module_qdc_common_get_valid_lib_index: error, invalid library
10-31 08:43:57.542 6172 6172 E mm-camera: <IMGLIB><ERROR> 4200: module_qdc_common_get_feature_lib: invalid index
10-31 08:43:57.543 6172 6172 E mm-camera: <IMGLIB><ERROR> 4164: module_qdc_common_get_valid_lib_index: error, invalid library
10-31 08:43:57.543 6172 6172 E mm-camera: <IMGLIB><ERROR> 4200: module_qdc_common_get_feature_lib: invalid index
10-31 08:43:57.546 6172 6172 E mm-camera: <IMGLIB><ERROR> 4404: module_qdc_common_init: Algo Capabilities Crop caps 0,core type 0, access mode 0, exec mode 0
10-31 08:43:57.559 6172 6172 E mm-camera: <IMGLIB><ERROR> 4404: module_qdc_common_init: Algo Capabilities Crop caps 0,core type 2, access mode 1, exec mode 1
10-31 08:43:57.563 6172 6172 E mm-camera: <IMGLIB><ERROR> 215: faceproc_hw_comp_get_fd_device_name: Can not discover face-detect device
10-31 08:43:57.563 6172 6172 E mm-camera: <IMGLIB><ERROR> 5838: faceproc_hw_comp_load: Can not find device name
10-31 08:43:57.563 6172 6172 W mm-camera: <IMGLIB>< WARN> 1235: faceproc_dsp_comp_load: face detection dsp disabled , enable by set property
10-31 08:43:57.563 6172 6172 I mm-camera: <IMGLIB>< INFO> 2262: faceproc_sw_wrapper_load: Loading faceproc library
10-31 08:43:57.574 6172 6172 E MegviiFacepp: MegviiFacepp:mg_facepp_init
Relevant screenshots
Solutions
Workaround
In order not to encounter the bug, it is enough not to need to use the camera. Everything else on the phone seems to work normally.
Possible fixes