C01292C 08-02 07:47:29.852 669 1122 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 1122 (CapRequest_0), pid 669 (CapRequest_0) C012B0D 08-02 07:47:31.512 4989 4989 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** C012B0E 08-02 07:47:31.512 4989 4989 F DEBUG : Build fingerprint: 'QSmart/Blaze/Blaze:13/TP1A.220624.014/31310:userdebug/test-keys' C012B0F 08-02 07:47:31.512 4989 4989 F DEBUG : Revision: '0' C012B10 08-02 07:47:31.512 4989 4989 F DEBUG : ABI: 'arm' C012B11 08-02 07:47:31.512 4989 4989 F DEBUG : Timestamp: 2023-08-02 07:47:30.137635894+0500 C012B12 08-02 07:47:31.512 4989 4989 F DEBUG : Process uptime: 0s C012B13 08-02 07:47:31.512 4989 4989 F DEBUG : Cmdline: /vendor/bin/hw/android.hardware.camera.provider@2.4-service C012B14 08-02 07:47:31.512 4989 4989 F DEBUG : pid: 669, tid: 1122, name: CapRequest_0 >>> /vendor/bin/hw/android.hardware.camera.provider@2.4-service <<< C012B15 08-02 07:47:31.512 4989 4989 F DEBUG : uid: 1047 C012B16 08-02 07:47:31.513 4989 4989 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00000000 C012B17 08-02 07:47:31.513 4989 4989 F DEBUG : Cause: null pointer dereference C012B18 08-02 07:47:31.513 4989 4989 F DEBUG : r0 00000000 r1 349cc870 r2 349cc870 r3 00000072 C012B19 08-02 07:47:31.513 4989 4989 F DEBUG : r4 0000001c r5 e94fbbc8 r6 00000001 r7 00000030 C012B1A 08-02 07:47:31.513 4989 4989 F DEBUG : r8 e94fbc10 r9 00000001 r10 000c000f r11 00000003 C012B1B 08-02 07:47:31.513 4989 4989 F DEBUG : ip 00000030 sp e94fbb60 lr f511697d pc f50bc3f6 C012B1C 08-02 07:47:31.513 4989 4989 F DEBUG : backtrace: C012B1D 08-02 07:47:31.513 4989 4989 F DEBUG : #00 pc 000f63f6 /odm/lib/hw/camera.sp9863a.so (sprdcamera::SprdCamera3Setting::constructDefaultMetadata(int, camera_metadata**)+1858) (BuildId: 9b932e537e73427cfd3e9e28e374be5a) C012B1E 08-02 07:47:31.514 4989 4989 F DEBUG : #01 pc 0009bb45 /odm/lib/hw/camera.sp9863a.so (sprdcamera::SprdCamera3HWI::constructDefaultMetadata(int)+88) (BuildId: 9b932e537e73427cfd3e9e28e374be5a) C012B1F 08-02 07:47:31.514 4989 4989 F DEBUG : #02 pc 000988a7 /odm/lib/hw/camera.sp9863a.so (sprdcamera::SprdCamera3HWI::construct_default_request_settings(camera3_device const*, int)+54) (BuildId: 9b932e537e73427cfd3e9e28e374be5a) C012B20 08-02 07:47:31.514 4989 4989 F DEBUG : #03 pc 0001d20d /vendor/lib/camera.device@3.2-impl-sprd.so (android::hardware::camera::device::V3_2::implementation::CameraDeviceSession::constructDefaultRequestSettingsRaw(int, android::hardware::hidl_vec<unsigned char>*)+96) (BuildId: b30a2a815f79d2d4e1b9bc7aa8469af0) C012B21 08-02 07:47:31.514 4989 4989 F DEBUG : #04 pc 0001d14f /vendor/lib/camera.device@3.2-impl-sprd.so (android::hardware::camera::device::V3_2::implementation::CameraDeviceSession::constructDefaultRequestSettings(android::hardware::camera::device::V3_2::RequestTemplate, std::__1::function<void (android::hardware::camera::common::V1_0::Status, android::hardware::hidl_vec<unsigned char> const&)>)+38) (BuildId: b30a2a815f79d2d4e1b9bc7aa8469af0) C012B22 08-02 07:47:31.514 4989 4989 F DEBUG : #05 pc 00017a57 /vendor/lib/camera.device@3.5-impl-sprd.so (android::hardware::camera::device::V3_3::implementation::CameraDeviceSession::TrampolineSessionInterface_3_3::constructDefaultRequestSettings(android::hardware::camera::device::V3_2::RequestTemplate, std::__1::function<void (android::hardware::camera::common::V1_0::Status, android::hardware::hidl_vec<unsigned char> const&)>)+62) (BuildId: fbc314e3a096b6d5eb63ca9053dc0504) C012B23 08-02 07:47:31.514 4989 4989 F DEBUG : #06 pc 0001f22d /vendor/lib/android.hardware.camera.device@3.2.so (android::hardware::camera::device::V3_2::BnHwCameraDeviceSession::_hidl_constructDefaultRequestSettings(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+188) (BuildId: 3bf95fa16d1d3bb340ba2b75c51ea10d) C012B24 08-02 07:47:31.514 4989 4989 F DEBUG : #07 pc 000258b9 /vendor/lib/android.hardware.camera.device@3.5.so (android::hardware::camera::device::V3_5::BnHwCameraDeviceSession::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+436) (BuildId: 896fa10d4ec32c7da34671bd4717148c) C012B25 08-02 07:47:31.514 4989 4989 F DEBUG : #08 pc 0006516f /apex/com.android.vndk.v33/lib/libhidlbase.so (android::hardware::BHwBinder::transact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+94) (BuildId: b335dfa71b602329d5332e03b321dd7e) C012B26 08-02 07:47:31.514 4989 4989 F DEBUG : #09 pc 0006899f /apex/com.android.vndk.v33/lib/libhidlbase.so (android::hardware::IPCThreadState::executeCommand(int)+2262) (BuildId: b335dfa71b602329d5332e03b321dd7e) C012B27 08-02 07:47:31.515 4989 4989 F DEBUG : #10 pc 00067f99 /apex/com.android.vndk.v33/lib/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+124) (BuildId: b335dfa71b602329d5332e03b321dd7e) C012B28 08-02 07:47:31.515 4989 4989 F DEBUG : #11 pc 00068d55 /apex/com.android.vndk.v33/lib/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+120) (BuildId: b335dfa71b602329d5332e03b321dd7e) C012B29 08-02 07:47:31.515 4989 4989 F DEBUG : #12 pc 00070c15 /apex/com.android.vndk.v33/lib/libhidlbase.so (android::hardware::PoolThread::threadLoop()+12) (BuildId: b335dfa71b602329d5332e03b321dd7e) C012B2A 08-02 07:47:31.515 4989 4989 F DEBUG : #13 pc 0000d759 /apex/com.android.vndk.v33/lib/libutils.so (android::Thread::_threadLoop(void*)+264) (BuildId: 9d30685a04377e1f8af536a8de85c6d0) C012B2B 08-02 07:47:31.515 4989 4989 F DEBUG : #14 pc 00083a63 /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) (BuildId: 033857e44311c4faafd4b559c4dd3ef8) C012B2C 08-02 07:47:31.515 4989 4989 F DEBUG : #15 pc 0003aafd /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: 033857e44311c4faafd4b559c4dd3ef8)
/odm/lib/hw/camera.sp9863a.so (sprdcamera::SprdCamera3Setting::constructDefaultMetadata(int, camera_metadata**)+1858) (BuildId: 9b932e537e73427cfd3e9e28e374be5a)
constructDefaultMetadata meta参数部分初始化有问题,导致相机无法取景预览!