caoronggui 发表于 2020-9-24 10:47:49

libc : Fatal signal 11 (SIGSEGV),

libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6 in tid 475 (HwBinder:260_2), pid 260 (provider@2.4-se)
09-24 00:39:20.75614871487 W CAM_IndicatorIconCtrlr: Trying to sync a pano indicator that is not initialized.
09-24 00:39:20.762   507   631 E LightsService: Light requested not available on this device. 0
09-24 00:39:20.779   507   631 E LightsService: Light requested not available on this device. 0
09-24 00:39:20.78815711571 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
09-24 00:39:20.789   442   442 I /system/bin/tombstoned: received crash request for pid 475
09-24 00:39:20.79015711571 I crash_dump32: performing dump of process 260 (target tid = 475)
09-24 00:39:20.79315711571 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-24 00:39:20.79415711571 F DEBUG   : Build fingerprint: 'rockchip/rk3399pro_firefly_aioc/rk3399pro:9/PQ3B.190705.003/root09231613:userdebug/test-keys'
09-24 00:39:20.79415711571 F DEBUG   : Revision: '0'
09-24 00:39:20.79415711571 F DEBUG   : ABI: 'arm'
09-24 00:39:20.79415711571 F DEBUG   : pid: 260, tid: 475, name: HwBinder:260_2>>> /vendor/bin/hw/android.hardware.camera.provider@2.4-service <<<
09-24 00:39:20.79415711571 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6
09-24 00:39:20.79415711571 F DEBUG   : Cause: null pointer dereference
09-24 00:39:20.79415711571 F DEBUG   :   r000000006r100000006r20000001cr300000002
09-24 00:39:20.79415711571 F DEBUG   :   r400000002r5e66fe6f4r6e6b7b505r700000000
09-24 00:39:20.79415711571 F DEBUG   :   r80cccccccr9e66fe757r10 8000002fr11 0000001c
09-24 00:39:20.79415711571 F DEBUG   :   ip00000002spe66fe5e8lre83d5cdbpce83a5cb8
09-24 00:39:20.795   507   631 E LightsService: Light requested not available on this device. 0
09-24 00:39:20.80715711571 F DEBUG   :
09-24 00:39:20.80715711571 F DEBUG   : backtrace:
09-24 00:39:20.80715711571 F DEBUG   :   #00 pc 0001acb8/system/lib/libc.so (strlen+36)
09-24 00:39:20.80715711571 F DEBUG   :   #01 pc 0004acd7/system/lib/libc.so (__vfprintf+3366)
09-24 00:39:20.80715711571 F DEBUG   :   #02 pc 0005fc2f/system/lib/libc.so (vsnprintf+110)
09-24 00:39:20.80715711571 F DEBUG   :   #03 pc 00081a7d/vendor/lib/hw/camera.rk30board.so (rk_camera_debug_log(cam_modules_t, cam_global_debug_level_t, char const*, char const*, ...)+60)
09-24 00:39:20.80815711571 F DEBUG   :   #04 pc 000633eb/vendor/lib/hw/camera.rk30board.so (android::camera2::RequestThread::configureStreams(camera3_stream_configuration*)+54)
09-24 00:39:20.80815711571 F DEBUG   :   #05 pc 0005e91f/vendor/lib/hw/camera.rk30board.so (android::camera2::Camera3HAL::configure_streams(camera3_stream_configuration*)+66)
09-24 00:39:20.80815711571 F DEBUG   :   #06 pc 0005f14d/vendor/lib/hw/camera.rk30board.so (android::camera2::hal_dev_configure_streams(camera3_device const*, camera3_stream_configuration*)+88)
09-24 00:39:20.80815711571 F DEBUG   :   #07 pc 00004e33/vendor/lib/camera.device@3.3-impl.so (android::hardware::camera::device::V3_3::implementation::CameraDeviceSession::configureStreams_3_3(android::hardware::camera::device::V3_2::StreamConfiguration const&, std::__1::function<void (android::hardware::camera::common::V1_0::Status, android::hardware::camera::device::V3_3::HalStreamConfiguration const&)>)+274)
09-24 00:39:20.80815711571 F DEBUG   :   #08 pc 00005475/vendor/lib/camera.device@3.3-impl.so (android::hardware::camera::device::V3_3::implementation::CameraDeviceSession::TrampolineSessionInterface_3_3::configureStreams_3_3(android::hardware::camera::device::V3_2::StreamConfiguration const&, std::__1::function<void (android::hardware::camera::common::V1_0::Status, android::hardware::camera::device::V3_3::HalStreamConfiguration const&)>)+64)
09-24 00:39:20.80815711571 F DEBUG   :   #09 pc 0000c0b7/system/lib/vndk-28/android.hardware.camera.device@3.3.so (android::hardware::camera::device::V3_3::BnHwCameraDeviceSession::_hidl_configureStreams_3_3(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+210)
09-24 00:39:20.80815711571 F DEBUG   :   #10 pc 0000c4e1/system/lib/vndk-28/android.hardware.camera.device@3.3.so (android::hardware::camera::device::V3_3::BnHwCameraDeviceSession::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+636)
09-24 00:39:20.80815711571 F DEBUG   :   #11 pc 00016651/system/lib/vndk-sp-28/libhwbinder.so (android::hardware::BHwBinder::transact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+52)
09-24 00:39:20.80815711571 F DEBUG   :   #12 pc 0000f75f/system/lib/vndk-sp-28/libhwbinder.so (android::hardware::IPCThreadState::executeCommand(int)+806)
09-24 00:39:20.80815711571 F DEBUG   :   #13 pc 0000f32b/system/lib/vndk-sp-28/libhwbinder.so (android::hardware::IPCThreadState::getAndExecuteCommand()+122)
09-24 00:39:20.80815711571 F DEBUG   :   #14 pc 0000fbe7/system/lib/vndk-sp-28/libhwbinder.so (android::hardware::IPCThreadState::joinThreadPool(bool)+190)
09-24 00:39:20.80815711571 F DEBUG   :   #15 pc 00015fd5/system/lib/vndk-sp-28/libhwbinder.so (android::hardware::PoolThread::threadLoop()+12)
09-24 00:39:20.80815711571 F DEBUG   :   #16 pc 0000bfcb/system/lib/vndk-sp-28/libutils.so (android::Thread::_threadLoop(void*)+170)
09-24 00:39:20.80815711571 F DEBUG   :   #17 pc 00064323/system/lib/libc.so (__pthread_start(void*)+22)
09-24 00:39:20.80815711571 F DEBUG   :   #18 pc 0001dfad/system/lib/libc.so (__start_thread+32)
09-24 00:39:20.829   507   631 I chatty: uid=1000(system) PhotonicModulat identical 2 lines
09-24 00:39:20.846   507   631 E LightsService: Light requested not available on this device. 0

jpchen 发表于 2020-9-24 11:37:25

fingerprint 这个对应的属性超过91个字符,导致一些apk读取属性溢出

caoronggui 发表于 2020-10-30 10:09:27

rk3399proandroid9.0打开 c2395 camera报错: 麻烦帮忙看下
dmesg log:
u:r:npu_monitor:s0 tcontext=u:object_r:sysfs_temp:s0 tclass=f
[   77.355524] type=1400 audit(1603335705.010:296): avc: denied { read } for pid=440 comm="npu_monitor" name="temp" dev="sysfs" ino=9507 scontext=u:r:npu_monitor:s0 tcontext=u:object_r:sysfs_temp:s0 tclass=f
[   77.355841] type=1400 audit(1603335705.010:296): avc: denied { read } for pid=440 comm="npu_monitor" name="temp" dev="sysfs" ino=9507 scontext=u:r:npu_monitor:s0 tcontext=u:object_r:sysfs_temp:s0 tclass=f
[   77.355919] type=1400 audit(1603335705.010:297): avc: denied { open } for pid=440 comm="npu_monitor" path="/sys/devices/virtual/thermal/thermal_zone0/temp" dev="sysfs" ino=9507 scontext=u:r:npu_monitor:s0 tcontext=u:object_r:sysfs_temp:s0 tclass=f
healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
rkisp1: waiting on event return error 0
rkisp1: waiting on event return error 0
c2395:ov13850_s_stream
c2395:__ov13850_stop_stream
type=1400 audit(1603335705.010:297): avc: denied { open } for pid=440 comm="npu_monitor" path="/sys/devices/virtual/thermal/thermal_zone0/temp" dev="sysfs" ino=9507 scontext=u:r:npu_monitor:s0 tcontext=u:object_r:sysfs_temp:s0 tclass=f
type=1400 audit(1603335913.770:298): avc: denied { write } for pid=424 comm="Binder:424_3" name="property_service" dev="tmpfs" ino=2936 scontext=u:r:cameraserver:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_f
type=1400 audit(1603335913.770:298): avc: denied { write } for pid=424 comm="Binder:424_3" name="property_service" dev="tmpfs" ino=2936 scontext=u:r:cameraserver:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_f
type=1400 audit(1603335913.770:299): avc: denied { connectto } for pid=424 comm="Binder:424_3" path="/dev/socket/property_service" scontext=u:r:cameraserver:s0 tcontext=u:r:init:s0 tclass=unix_stream_soc
rockchip-pinctrl pinctrl: pin gpio2-11 already requested by ff1e0000.spi; cannot claim for 1-0036
rockchip-pinctrl pinctrl: pin-75 (1-0036) status -22
rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkouton device rockchip-pinctrl
ov13850 1-0036: Error applying setting, reverse things back
ov13850 1-0036: could not set pins
c2395:ov13850_s_stream
c2395:__ov13850_start_stream
OV13850_REG_VTS = 120,438
V4L2_CID_EXPOSURE = 1080
V4L2_CID_EXPOSURE reg = 1080
V4L2_CID_ANALOGUE_GAIN = 16
V4L2_CID_ANALOGUE_GAIN reg = 16
rkisp1: waiting on event return error 0
rkisp1: waiting on event return error 0
c2395:ov13850_s_stream
c2395:__ov13850_stop_stream
type=1400 audit(1603335913.770:299): avc: denied { connectto } for pid=424 comm="Binder:424_3" path="/dev/socket/property_service" scontext=u:r:cameraserver:s0 tcontext=u:r:init:s0 tclass=unix_stream_soc
type=1400 audit(1603335927.850:300): avc: denied { write } for pid=424 comm="Binder:424_3" name="property_service" dev="tmpfs" ino=2936 scontext=u:r:cameraserver:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_f
rockchip-pinctrl pinctrl: pin gpio2-11 already requested by ff1e0000.spi; cannot claim for 1-0036
rockchip-pinctrl pinctrl: pin-75 (1-0036) status -22
rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkouton device rockchip-pinctrl
ov13850 1-0036: Error applying setting, reverse things back
ov13850 1-0036: could not set pins
c2395:ov13850_s_stream
c2395:__ov13850_start_stream
OV13850_REG_VTS = 120,438
V4L2_CID_EXPOSURE = 1080
V4L2_CID_EXPOSURE reg = 1080
V4L2_CID_ANALOGUE_GAIN = 16
V4L2_CID_ANALOGUE_GAIN reg = 16
healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
rkisp1: waiting on event return error 0
rkisp1: waiting on event return error 0
c2395:ov13850_s_stream
c2395:__ov13850_stop_stream
type=1400 audit(1603335927.850:300): avc: denied { write } for pid=424 comm="Binder:424_3" name="property_service" dev="tmpfs" ino=2936 scontext=u:r:cameraserver:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_f
type=1400 audit(1603335977.816:301): avc: denied { connectto } for pid=424 comm="Binder:424_3" path="/dev/socket/property_service" scontext=u:r:cameraserver:s0 tcontext=u:r:init:s0 tclass=unix_stream_soc
rockchip-pinctrl pinctrl: pin gpio2-11 already requested by ff1e0000.spi; cannot claim for 1-0036
rockchip-pinctrl pinctrl: pin-75 (1-0036) status -22
rockchip-pinctrl pinctrl: could not request pin 75 (gpio2-11) from group cif-clkouton device rockchip-pinctrl
ov13850 1-0036: Error applying setting, reverse things back
ov13850 1-0036: could not set pins
c2395:ov13850_s_stream
c2395:__ov13850_start_stream
OV13850_REG_VTS = 120,438
V4L2_CID_EXPOSURE = 1080
V4L2_CID_EXPOSURE reg = 1080
V4L2_CID_ANALOGUE_GAIN = 16
V4L2_CID_ANALOGUE_GAIN reg = 16
type=1400 audit(1603335977.816:301


打开camera 后 logcat log
130|console:/ $ logcat | grep RkCamera                                       
^[[A10-22 03:01:23.859   259   259 D RkCamera: Debug log file is not enabled
10-22 03:01:23.863   259   259 D RkCamera: Debug log file is not enabled
10-22 03:01:23.863   259   259 E RkCamera: <HAL> FlashLight: init: No flash available for camera id: 0
10-22 03:01:27.485   2591503 E RkCamera: <HAL> V4L2DevBase: Device /dev/video1 poll failed (timeout)
10-22 03:01:27.485   2591503 E RkCamera: <HAL> ImguUnit: Device poll failed
10-22 03:01:27.485   2591504 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:01:27.487   2591504 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:01:27.487   2591504 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:01:27.488   2591504 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:01:27.488   2591504 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:01:27.489   2591504 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:01:27.490   2591504 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:01:27.491   2591504 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:01:27.491   2591504 E RkCamera: <HAL> ImguUnit: error -2147483648 in handling message: 2
10-22 03:05:13.811   259   491 D RkCamera: Debug log file is not enabled
10-22 03:05:13.816   259   491 D RkCamera: Debug log file is not enabled
10-22 03:05:13.816   259   491 E RkCamera: <HAL> FlashLight: init: No flash available for camera id: 0
10-22 03:05:17.326   2591615 E RkCamera: <HAL> V4L2DevBase: Device /dev/video1 poll failed (timeout)
10-22 03:05:17.326   2591615 E RkCamera: <HAL> ImguUnit: Device poll failed
10-22 03:05:17.327   2591616 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:05:17.328   2591616 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:05:17.328   2591616 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:05:17.330   2591616 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:05:17.331   2591616 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:05:17.332   2591616 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:05:17.332   2591616 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:05:17.333   2591616 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:05:17.334   2591616 E RkCamera: <HAL> ImguUnit: error -2147483648 in handling message: 2
10-22 03:05:27.886   259   259 D RkCamera: Debug log file is not enabled
10-22 03:05:27.906   259   259 D RkCamera: Debug log file is not enabled
10-22 03:05:27.907   259   259 E RkCamera: <HAL> FlashLight: init: No flash available for camera id: 0
10-22 03:05:31.378   2591666 E RkCamera: <HAL> V4L2DevBase: Device /dev/video1 poll failed (timeout)
10-22 03:05:31.378   2591666 E RkCamera: <HAL> ImguUnit: Device poll failed
10-22 03:05:31.378   2591667 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:05:31.380   2591667 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:05:31.380   2591667 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:05:31.381   2591667 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:05:31.381   2591667 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:05:31.382   2591667 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:05:31.383   2591667 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:05:31.384   2591667 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:05:31.384   2591667 E RkCamera: <HAL> ImguUnit: error -2147483648 in handling message: 2
10-22 03:06:17.843   259   259 D RkCamera: Debug log file is not enabled
10-22 03:06:17.847   259   259 D RkCamera: Debug log file is not enabled
10-22 03:06:17.848   259   259 E RkCamera: <HAL> FlashLight: init: No flash available for camera id: 0
10-22 03:06:21.361   2591722 E RkCamera: <HAL> V4L2DevBase: Device /dev/video1 poll failed (timeout)
10-22 03:06:21.361   2591722 E RkCamera: <HAL> ImguUnit: Device poll failed
10-22 03:06:21.361   2591723 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:06:21.363   2591723 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:06:21.363   2591723 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:06:21.364   2591723 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:06:21.364   2591723 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:06:21.365   2591723 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:06:21.366   2591723 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:06:21.367   2591723 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:06:21.367   2591723 E RkCamera: <HAL> ImguUnit: error -2147483648 in handling message: 2
10-22 03:35:41.029   259   259 D RkCamera: Debug log file is not enabled
10-22 03:35:41.034   259   259 D RkCamera: Debug log file is not enabled
10-22 03:35:41.034   259   259 E RkCamera: <HAL> FlashLight: init: No flash available for camera id: 0
10-22 03:35:44.516   2591898 E RkCamera: <HAL> V4L2DevBase: Device /dev/video1 poll failed (timeout)
10-22 03:35:44.516   2591898 E RkCamera: <HAL> ImguUnit: Device poll failed
10-22 03:35:44.516   2591899 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:35:44.517   2591899 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:35:44.517   2591899 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:35:44.518   2591899 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:35:44.518   2591899 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:35:44.519   2591899 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:35:44.519   2591899 E RkCamera: <HAL> OutputFrameWorker: run:336 device error!
10-22 03:35:44.519   2591899 E RkCamera: <HAL> OutputFrameWorker: postRun:379 device error!
10-22 03:35:44.519   2591899 E RkCamera: <HAL> ImguUnit: error -2147483648 in handling message: 2
[ 2162.806549] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
[ 2162.895258] healthd: battery l=50 v=3 t=2.6 h=2 st=3 fc=100 chg=au
下发初始化后,打开camera 后,streamon mipi波形 如附件图片




caoronggui 发表于 2020-10-30 10:36:40

jpchen 发表于 2020-9-24 11:37
fingerprint 这个对应的属性超过91个字符,导致一些apk读取属性溢出

你 好 可以加一下 你的QQ吗

真心朋友 发表于 2021-9-1 10:27:05

您好,我也遇到这样的问题,请问您有解决吗
页: [1]
查看完整版本: libc : Fatal signal 11 (SIGSEGV),