poming.shiu@poming.shiu發問前請先協助提供基本資訊,例如:手機型號、軟體版本、問題現象、問題出現頻率、APP 名稱、已做過哪些疑難排解,以及錯誤截圖等等;敘述地愈詳細,其他人較能愈快提出建議和解答唷!
========================================
Hi All,
我Zenfone 5Z 開啟相機 會有 null pointer dereference 的exception 導致相機無法正常使用,還請幫忙解一下BUG
目前測試起來只有重開機的第一次開起相機,不會發生exception,但第二次、第三次都會
發生問題後,相機全黑頻 並且android.hardware.camera.provider 會掛掉。
Exception LOG:
06-22 17:01:36.912 13815 13833 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8 in tid 13833 (provider@2.4-se), pid 13815 (provider@2.4-se)
06-22 17:01:37.062 16469 16469 I chatty : uid=1047(cameraserver) expire 3 lines
06-22 17:01:37.063 3094 3094 I /system/bin/tombstoned: received crash request for pid 13833
06-22 17:01:37.078 16469 16469 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-22 17:01:37.078 16469 16469 F DEBUG : Build fingerprint: 'asus/WW_Z01RD/ASUS_Z01R_1:10/QKQ1.191008.001/WW_100.10.107.87_20200520:user/release-keys'
06-22 17:01:37.078 16469 16469 F DEBUG : Revision: '0'
06-22 17:01:37.078 16469 16469 F DEBUG : ABI: 'arm'
06-22 17:01:37.079 16469 16469 F DEBUG : Timestamp: 2020-06-22 17:01:37+0800
06-22 17:01:37.079 16469 16469 F DEBUG : pid: 13815, tid: 13833, name: provider@2.4-se >>> /vendor/bin/hw/android.hardware.camera.provider@2.4-service <<<
06-22 17:01:37.079 16469 16469 F DEBUG : uid: 1047
06-22 17:01:37.079 16469 16469 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8
06-22 17:01:37.079 16469 16469 F DEBUG : Cause: null pointer dereference
https://us.v-cdn.net/6031231/uploads/GCM6LM6WU9C6/logcat-all.txt
06-22 17:01:37.114 16469 16469 F DEBUG :
06-22 17:01:37.114 16469 16469 F DEBUG : backtrace:
06-22 17:01:37.114 16469 16469 F DEBUG : #00 pc 001af9b8 /vendor/lib/hw/camera.qcom.so (CamX::ChiStatsSession::GetDynamicMetadata(ChiMetadataInfo*)+164) (BuildId: 412b6c8cf21884fa56058b9c57246f19)
06-22 17:01:37.114 16469 16469 F DEBUG : #01 pc 001af3a7 /vendor/lib/hw/camera.qcom.so (CamX::ChiStatsSession::FNGetMetadata(ChiMetadataInfo*)+110) (BuildId: 412b6c8cf21884fa56058b9c57246f19)
06-22 17:01:37.114 16469 16469 F DEBUG : #02 pc 00002205 /vendor/lib/camera/components/com.qti.stats.awbwrapper.so (IsManualAWBMode+140) (BuildId: 5b32b35d19c4eb3f74f1503d58e65bc2)
06-22 17:01:37.114 16469 16469 F DEBUG : #03 pc 00002fd5 /vendor/lib/camera/components/com.qti.stats.awbwrapper.so (AWBProcess+448) (BuildId: 5b32b35d19c4eb3f74f1503d58e65bc2)
06-22 17:01:37.114 16469 16469 F DEBUG : #04 pc 001ad161 /vendor/lib/hw/camera.qcom.so (CamX::CAWBStatsProcessor::ExecuteProcessRequest(CamX::StatsProcessRequestData const*)+1072) (BuildId: 412b6c8cf21884fa56058b9c57246f19)
06-22 17:01:37.114 16469 16469 F DEBUG : #05 pc 001b42c3 /vendor/lib/hw/camera.qcom.so (CamX::StatsProcessorManager::StatsProcessorManagerJobHandler(CamX::StatsProcessRequestData*)+314) (BuildId: 412b6c8cf21884fa56058b9c57246f19)
06-22 17:01:37.114 16469 16469 F DEBUG : #06 pc 001b4163 /vendor/lib/hw/camera.qcom.so (CamX::StatsProcessorManager::OnProcessRequest(CamX::StatsProcessRequestData const*)+66) (BuildId: 412b6c8cf21884fa56058b9c57246f19)
06-22 17:01:37.114 16469 16469 F DEBUG : #07 pc 001b3579 /vendor/lib/hw/camera.qcom.so (CamX::StatsProcessingNode::ExecuteProcessRequest(CamX::ExecuteProcessRequestData*)+604) (BuildId: 412b6c8cf21884fa56058b9c57246f19)
06-22 17:01:37.114 16469 16469 F DEBUG : #08 pc 0020a5d1 /vendor/lib/hw/camera.qcom.so (CamX::Node::ProcessRequest(CamX::NodeProcessRequestData*, unsigned long long)+800) (BuildId: 412b6c8cf21884fa56058b9c57246f19)
06-22 17:01:37.114 16469 16469 F DEBUG : #09 pc 00237beb /vendor/lib/hw/camera.qcom.so (CamX::DeferredRequestQueue::DeferredWorkerCore(CamX::Dependency*)+430) (BuildId: 412b6c8cf21884fa56058b9c57246f19)
06-22 17:01:37.114 16469 16469 F DEBUG : #10 pc 002377cb /vendor/lib/hw/camera.qcom.so (CamX::DeferredRequestQueue::DeferredWorkerWrapper(void*)+50) (BuildId: 412b6c8cf21884fa56058b9c57246f19)
06-22 17:01:37.114 16469 16469 F DEBUG : #11 pc 001d205f /vendor/lib/hw/camera.qcom.so (CamX::ThreadCore::DispatchJob(CamX::RuntimeJob*)+146) (BuildId: 412b6c8cf21884fa56058b9c57246f19)
06-22 17:01:37.114 16469 16469 F DEBUG : #12 pc 001d25fb /vendor/lib/hw/camera.qcom.so (CamX::ThreadCore::ProcessJobQueue()+126) (BuildId: 412b6c8cf21884fa56058b9c57246f19)
06-22 17:01:37.114 16469 16469 F DEBUG : #13 pc 001d230d /vendor/lib/hw/camera.qcom.so (CamX::ThreadCore::DoWork()+216) (BuildId: 412b6c8cf21884fa56058b9c57246f19)
06-22 17:01:37.114 16469 16469 F DEBUG : #14 pc 001d2225 /vendor/lib/hw/camera.qcom.so (CamX::ThreadCore::WorkerThreadBody(void*)+40) (BuildId: 412b6c8cf21884fa56058b9c57246f19)
06-22 17:01:37.114 16469 16469 F DEBUG : #15 pc 000ab3bd /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: 20683f6085c4db2a7282926b76829712)
06-22 17:01:37.114 16469 16469 F DEBUG : #16 pc 00061989 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: 20683f6085c4db2a7282926b76829712)
附件提供 logcat -b all 的 log 供你們分析。
[zenfone 5Z][v100.10.107.87] 無法正常使用相機