[OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel] hayvan96:
The thing is, regarding point 2, I have no idea what's triggering it. Sometimes camera force crashes but will restart. Then after a while, it won't restart

In the logcat I've attached above, there's a section related to the crash I believe, there's a back trace leading to qcom.camera (I've just searched for camera in the logcat)

I mean

14:15:50.137 702 1006 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10 in tid 1006 (provider@2.4-se), pid 702 (provider@2.4-se)
08-03 14:15:50.391 6576 6576 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-03 14:15:50.391 6576 6576 F DEBUG : LineageOS Version: '16.0-20190728-NIGHTLY-enchilada'
08-03 14:15:50.391 6576 6576 F DEBUG : Build fingerprint: 'OnePlus/OnePlus6/OnePlus6:8.1.0/OPM1.171019.011/06140300:user/release-keys'
08-03 14:15:50.391 6576 6576 F DEBUG : Revision: '0'
08-03 14:15:50.391 6576 6576 F DEBUG : ABI: 'arm'
08-03 14:15:50.391 6576 6576 F DEBUG : pid: 702, tid: 1006, name: provider@2.4-se >>> /vendor/bin/hw/android.hardware.camera.provider@2.4-service <<<
08-03 14:15:50.391 6576 6576 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10
08-03 14:15:50.391 6576 6576 F DEBUG : Cause: null pointer dereference
08-03 14:15:50.391 6576 6576 F DEBUG : r0 e12caa28 r1 e12c4000 r2 00000000 r3 00000000
08-03 14:15:50.391 6576 6576 F DEBUG : r4 dfa7f790 r5 00000000 r6 dfa7f6a0 r7 00000128
08-03 14:15:50.391 6576 6576 F DEBUG : r8 dfa7bca8 r9 dfa7bc98 r10 00000000 r11 ca300000
08-03 14:15:50.391 6576 6576 F DEBUG : ip e4251e08 sp dfa7bc88 lr e4163405 pc e40de2f8
08-03 14:15:50.406 6576 6576 F DEBUG :
08-03 14:15:50.406 6576 6576 F DEBUG : backtrace:
08-03 14:15:50.406 6576 6576 F DEBUG : #00 pc 001632f8 /vendor/lib/hw/camera.qcom.so (CamX::CAFIOUtil::ReadSensorInput(AFSensorInfo*)+112)
08-03 14:15:50.406 6576 6576 F DEBUG : #01 pc 0016a183 /vendor/lib/hw/camera.qcom.so (CamX::CAFStatsProcessor::ProcessSetParams(ChiTuningModeParameter*, CamX::StatsProcessRequestData const*)+306)
08-03 14:15:50.406 6576 6576 F DEBUG : #02 pc 00169cf1 /vendor/lib/hw/camera.qcom.so (CamX::CAFStatsProcessor::ExecuteProcessRequest(CamX::StatsProcessRequestData const*)+956)
08-03 14:15:50.406 6576 6576 F DEBUG : #03 pc 0015aba7 /vendor/lib/hw/camera.qcom.so (CamX::AutoFocusNode::ExecuteProcessRequest(CamX::ExecuteProcessRequestData*)+394)
08-03 14:15:50.406 6576 6576 F DEBUG : #04 pc 001e58a9 /vendor/lib/hw/camera.qcom.so (CamX::Node::ProcessRequest(CamX::NodeProcessRequestData*, unsigned long long)+3544)
08-03 14:15:50.406 6576 6576 F DEBUG : #05 pc 002046ef /vendor/lib/hw/camera.qcom.so (CamX::DeferredRequestQueue::DeferredWorkerCore(CamX::ThreadDataUnit*)+230)
08-03 14:15:50.406 6576 6576 F DEBUG : #06 pc 00204513 /vendor/lib/hw/camera.qcom.so (CamX::DeferredRequestQueue::DeferredWorkerWrapper(void*)+10)
08-03 14:15:50.406 6576 6576 F DEBUG : #07 pc 00187361 /vendor/lib/hw/camera.qcom.so (CamX::ThreadCore::ProcessJobQueue()+116)
08-03 14:15:50.406 6576 6576 F DEBUG : #08 pc 00186b5d /vendor/lib/hw/camera.qcom.so (CamX::ThreadCore::DoWork()+156)
08-03 14:15:50.406 6576 6576 F DEBUG : #09 pc 00186ab9 /vendor/lib/hw/camera.qcom.so (CamX::ThreadCore::WorkerThreadBody(void*)+4)
08-03 14:15:50.406 6576 6576 F DEBUG : #10 pc 00064409 /system/lib/libc.so (__pthread_start(void*)+22)
08-03 14:15:50.406 6576 6576 F DEBUG : #11 pc 0001e0cd /system/lib/libc.so (__start_thread+24)