camera预览是闪退的问题

使用ov8825 sensor时,如果是摄像预览可以点亮,如果切换到拍照预览时,apk闪退。log如下:

root@rk3288:/ # logcat
logcat
--------- beginning of /dev/log/main
D/AudioHardware( 1340): AudioHardware pcm playback is exiting standby.
D/AudioHardware( 1340): openPcmOut_l() mPcmOpenCnt: 0
D/alsa_route( 1340): route_info->sound_card 1, route_info->devices 0
D/alsa_pcm( 1340): pcm_open(0x0001f001)
D/alsa_pcm( 1340): pcm_open() card 1, device 0, Playback
V/RenderScript(  675): 0x76c9b020 Launching thread(s), CPUs 4
--------- beginning of /dev/log/system
I/ActivityManager(  466): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.a
ndroid.camera.CameraLauncher} from pid 675
D/PhoneWindow(  466): DecorView - SCREEN_WEITH = 1920 - SCREE_HEIGHT = 1032
D/PermissionCache(  153): checking android.permission.READ_FRAME_BUFFER for uid=1000 => granted (200 us)
D/ActivityManager(  466): pauseBackStacks: stack=ActivityStack{41afd228 stackId=0, 1 tasks} mResumedActivity=ActivityRecord{41ba0c
uncher3/.Launcher t1}
V/ActivityManager(  466): Moving to PAUSING: ActivityRecord{41ba0ca8 u0 com.android.launcher3/.Launcher t1}
V/ActivityManager(  466): resumeTopActivityLocked: Skip resume: need to start pausing
D/ActivityManager(  466): allPausedActivitiesComplete: r=ActivityRecord{41ba0ca8 u0 com.android.launcher3/.Launcher t1} state=PAUS
W/BroadcastQueue(  466): Permission Denial: broadcasting Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) }
ncher3 (pid=675, uid=10037) requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to receiver com.google.android
x/com.google.android.search.core.summons.icing.InternalIcingCorporaProvider$ApplicationLaunchReceiver
V/ActivityManager(  466): Moving to PAUSED: ActivityRecord{41ba0ca8 u0 com.android.launcher3/.Launcher t1} (pause complete)
D/ActivityManager(  466): resumeTopActivityLocked: Restarting ActivityRecord{41cbca90 u0 com.android.camera2/com.android.camera.Ca
V/Zygote  ( 1413): Switching descriptor 34 to /dev/null
V/Zygote  ( 1413): Switching descriptor 11 to /dev/null
E/EmojiFactory_jni(  466): Failed to load libemoji.so: dlopen failed: library "libemoji.so" not found
I/ActivityManager(  466): Start proc com.android.camera2 for activity com.android.camera2/com.android.camera.CameraLauncher: pid=1
50023, 3003, 1028, 1015}
V/ActivityManager(  466): Moving to STOPPING: ActivityRecord{41ba0ca8 u0 com.android.launcher3/.Launcher t1} (stop requested)
D/dalvikvm(  154): GC_EXPLICIT freed 42K, 11% free 2719K/3052K, paused 1ms+1ms, total 16ms
D/dalvikvm(  154): GC_EXPLICIT freed <1K, 11% free 2719K/3052K, paused 1ms+1ms, total 15ms
D/dalvikvm(  154): GC_EXPLICIT freed <1K, 11% free 2719K/3052K, paused 1ms+1ms, total 14ms
D/dalvikvm(  466): GC_EXPLICIT freed 891K, 12% free 7011K/7936K, paused 1ms+5ms, total 67ms
V/ActivityManager(  466): Moving to RESUMED: ActivityRecord{41cbca90 u0 com.android.camera2/com.android.camera.CameraLauncher t2}
ce)
D/mali_winsys(  466): new_window_surface returns 0x3000
D/OpenGLRenderer(  466): Enabling debug mode 0
V/ActivityManager(  466): Moving to STOPPED: ActivityRecord{41ba0ca8 u0 com.android.launcher3/.Launcher t1} (stop complete)
D/PhoneWindow( 1413): DecorView - SCREEN_WEITH = 1920 - SCREE_HEIGHT = 1032
V/CAM_Activity( 1413): =======Camera Version:1.0.0-20140630============
D/dalvikvm( 1413): GC_CONCURRENT freed 196K, 7% free 3224K/3448K, paused 1ms+2ms, total 20ms
D/CameraHal( 1340): camera_get_camera_info(1297): camera_get_camera_info(1297): camera_0 facing(0), orientation(0)
D/CAM_Switcher( 1413): shoule enable panorama? true
W/BackupManagerService(  466): dataChanged but no participant pkg='com.android.camera2' uid=10023
W/BackupManagerService(  466): dataChanged but no participant pkg='com.android.camera2' uid=10023
W/BackupManagerService(  466): dataChanged but no participant pkg='com.android.camera2' uid=10023
V/NFC     ( 1413): this device does not have NFC support
W/BackupManagerService(  466): dataChanged but no participant pkg='com.android.camera2' uid=10023
D/SensorsHal(  466): Couldn't open /dev/mma8452_daemon (No such file or directory)
E/SensorService(  466): Error activating sensor 0 (Operation not permitted)
V/CAM_PhotoModule( 1413): On resume.
V/CAM_PhotoModule( 1413): Executing onResumeTasks.
V/CAM_PhotoModule( 1413): Open camera device.
V/CameraHolder( 1413): open camera 0
D/CameraHal( 1340): camera_get_camera_info(1297): camera_get_camera_info(1297): camera_0 facing(0), orientation(0)
D/CameraHal( 1340): camera_get_camera_info(1297): camera_get_camera_info(1297): camera_0 facing(0), orientation(0)
I/UrlCheck( 1340): isUrlRealM3U8 in, ptr: 0xb706d7c0, url: /system/media/audio/ui/camera_click.ogg
I/UrlCheck( 1340): UrlCheckHelper ptr: 0xb706d7c0, url_type: 0
I/ChromiumHTTPDataSourceSupport( 1340): Request failed with status 4 and os_error -300
E/AwesomePlayer( 1340): connect fail to url: /system/media/audio/ui/camera_click.ogg
I/UrlCheck( 1340): url checked, reallyM3U8: 0
I/AwesomePlayer( 1340): AwesomePlayer::AwesomePlayer()in
I/        ( 1340): new RKOMXPlugin
I/AwesomePlayer( 1340): AwesomePlayer::AwesomePlayer()aftermClient.connect()
I/FrameQueueManage( 1340): use_iommu = 0x1
I/AwesomePlayer( 1340): setDataSource /system/media/audio/ui/camera_click.ogg
I/AwesomePlayer( 1340): setDataSource_l(URL suppressed)
I/OMXCodec( 1340): OMXCodec::Create mime: audio/vorbis
I/MediaCodecList( 1340): register mediacode *****************
I/OMXCodec( 1340): --->InstantiateSoftwareCodec create OMX.google.vorbis.decoder codec
I/OMXCodec( 1340): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec( 1340): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/UrlCheck( 1340): isUrlRealM3U8 in, ptr: 0xb706d7c0, url: /system/media/audio/ui/VideoRecord.ogg
I/UrlCheck( 1340): UrlCheckHelper ptr: 0xb706d7c0, url_type: 0
I/ChromiumHTTPDataSourceSupport( 1340): Request failed with status 4 and os_error -300
E/AwesomePlayer( 1340): connect fail to url: /system/media/audio/ui/VideoRecord.ogg
I/UrlCheck( 1340): url checked, reallyM3U8: 0
I/AwesomePlayer( 1340): AwesomePlayer::AwesomePlayer()in
I/AwesomePlayer( 1340): AwesomePlayer::AwesomePlayer()aftermClient.connect()
I/FrameQueueManage( 1340): use_iommu = 0x1
I/AwesomePlayer( 1340): setDataSource /system/media/audio/ui/VideoRecord.ogg
I/AwesomePlayer( 1340): setDataSource_l(URL suppressed)
I/OMXCodec( 1340): OMXCodec::Create mime: audio/vorbis
I/OMXCodec( 1340): --->InstantiateSoftwareCodec create OMX.google.vorbis.decoder codec
I/OMXCodec( 1340): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
I/OMXCodec( 1340): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/CameraClient( 1340): Opening camera 0
I/CameraHal( 1340): camera_device_open(493): camera_device open
D/CameraHal( 1340): gCameraHalLogLevel: 0
D/CameraHal( 1340): CameraHal(132): it is a isp  camera
D/        ( 1340): Calling process is: com.android.camera2
I/vpu_mem_pool( 1340): pid 1340, open_vpu_memory_pool:447: success
I/vpu_mem_pool( 1340): pid 1340, vpu_memory_status_observer:899: observer: /data/vpumem_observer
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:690: vpu memory pool size (80000)
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:693: ion_alloc_fd success, memory fd 64
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:690: vpu memory pool size (160000)
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:693: ion_alloc_fd success, memory fd 66
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:690: vpu memory pool size (240000)
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:693: ion_alloc_fd success, memory fd 67
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:690: vpu memory pool size (320000)
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:693: ion_alloc_fd success, memory fd 68
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:690: vpu memory pool size (400000)
E/CameraHal( 1340): disconnectCamera(1627): getFocusLimits failed!
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:693: ion_alloc_fd success, memory fd 69
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:690: vpu memory pool size (480000)
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:693: ion_alloc_fd success, memory fd 70
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:690: vpu memory pool size (560000)
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:693: ion_alloc_fd success, memory fd 71
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:690: vpu memory pool size (640000)
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:693: ion_alloc_fd success, memory fd 72
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:690: vpu memory pool size (720000)
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:693: ion_alloc_fd success, memory fd 73
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:690: vpu memory pool size (800000)
I/vpu_mem_pool( 1340): pid 1340, vpu_mem_allocator:693: ion_alloc_fd success, memory fd 74
D/CameraHal_Marvin( 1340):
D/CameraHal_Marvin( 1340):
D/CameraHal_Marvin( 1340):
D/CameraHal_Marvin( 1340): CameraHal Version Check:
D/CameraHal_Marvin( 1340):     CamSys_Head.h version:
D/CameraHal_Marvin( 1340):        kernel: (0x) v0.9.0
D/CameraHal_Marvin( 1340):        libisp_siliconimage_isp.so: (0x) v0.9.0
D/CameraHal_Marvin( 1340):     LibIsp version:
D/CameraHal_Marvin( 1340):        local: (0x) v1.13.0
D/CameraHal_Marvin( 1340):        camera.rk30board.so: (0x) v1.13.0
D/CameraHal_Marvin( 1340):     Sensor ISI version:
D/CameraHal_Marvin( 1340):         libisp_isi_drv_XXX: (0x) v0.7.0
D/CameraHal_Marvin( 1340):         libisp_siliconimage_isp.so: (0x) v0.7.0
D/CameraHal_Marvin( 1340):     Tunning XML version:
D/CameraHal_Marvin( 1340):         libisp_isi_drv_XXX: (30-April-2014_OUYANG_OV8825_FX288_v0.1.0)
D/CameraHal_Marvin( 1340):         Calibdb: (1-August-2014_OUYANG_OV8825_FX288_v0.3.0)
D/CameraHal_Marvin( 1340):     sensor name OV8825:
D/CameraHal_Marvin( 1340):        sensor drv version: (0x) v0.a.0
D/CameraHal_Marvin( 1340):
D/CameraHal_Marvin( 1340):
D/CameraHal_Marvin( 1340):
D/CameraHal( 1340): setupPreview(228): isp out put format is YUV420SP.
D/CameraHal( 1340): enableSensor(203): orientation = 0xb70b7610 (Gravity sensor)
D/SensorsHal(  466): Couldn't open /dev/mma8452_daemon (No such file or directory)
E/SensorService(  466): Error activating sensor 0 (Operation not permitted)
D/CAM_PhotoModule( 1413): Force preview size : 1920x1080
V/CAM_PhotoModule( 1413): Preview size is 1920x1080
W/CAM_PhotoModule( 1413): startPreview: surfaceTexture is not ready.
D/SensorsHal(  466): Couldn't open /dev/mma8452_daemon (No such file or directory)
E/SensorService(  466): Error activating sensor 0 (Operation not permitted)
D/SensorsHal(  466): Couldn't open /dev/compass (No such file or directory)
E/SensorsHal(  466): ECS_IOCTL_APP_SET_XXX failed (Bad file number)
E/SensorService(  466): Error activating sensor 1 (Bad file number)
W/BackupManagerService(  466): dataChanged but no participant pkg='com.android.camera2' uid=10023
D/camera  ( 1413): pref_camera_recordlocation_keyreloadPreference[I@41995780
D/camera  ( 1413): pref_camera_flashmode_keyreloadPreference[I@4199e9e8
D/camera  ( 1413): pref_camera_whitebalance_keyreloadPreference[I@4199e6c0
D/dalvikvm( 1413): GC_CONCURRENT freed 255K, 7% free 3820K/4100K, paused 1ms+2ms, total 19ms
D/ShutterButton( 1413): ++++++++++++++++setRepeatListener interval=50
D/CameraStorage( 1413): External storage state=mounted
I/MaliGPU ( 1413): mali_so with ver '8@0', built at '15:33:21', on 'Nov 10 2014'.
D/mali_winsys( 1413): new_window_surface returns 0x3000
D/OpenGLRenderer( 1413): Enabling debug mode 0
V/CAM_UI  ( 1413): SurfaceTexture ready.
D/CameraHal( 1340): camera_get_camera_info(1297): camera_get_camera_info(1297): camera_0 facing(0), orientation(0)
D/CameraHal( 1340): commandThread(1073): commandThread(1073): receive CMD_AF_CANCEL
D/CAM_PhotoModule( 1413): Force preview size : 1920x1080
V/CAM_PhotoModule( 1413): Preview size is 1920x1080
V/CAM_PhotoModule( 1413): startPreview
D/PhoneWindow( 1413): DecorView - SCREEN_WEITH = 1920 - SCREE_HEIGHT = 1032
D/CameraHal( 1340): commandThread(929): commandThread(929):receive CMD_SET_PREVIEW_WINDOW
D/CameraHal( 1340): commandThread(945): commandThread(945): CMD_SET_PREVIEW_WINDOW out
D/CameraHal( 1340): commandThread(824): commandThread(824):receive CMD_PREVIEW_START
D/CameraHal( 1340): stop(1702): m_camDevice->stopPreview success!
D/CameraHal( 1340): sendCommand(666): sendCommand start face detection
E/CameraHal_Marvin( 1340): CAM_API_CAMENGINE: changeResolution (can't change resolution of sensor)
D/CameraHal( 1340): setupPreview(228): isp out put format is YUV420SP.
D/CameraHal( 1340): start(1657): m_camDevice->startPreview success
D/CameraHal( 1340): displayThread(573): displayThread(573): receive CMD_DISPLAY_START
D/CameraHal( 1340): commandThread(897): commandThread(897): CMD_PREVIEW_START out
D/CameraHal( 1340): commandThread(1081): commandThread(1081): receive CMD_AF_CANCEL
F/libc    ( 1340): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 1457 (CameraCmdThread)
I/DEBUG   (  151): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  151): Build fingerprint: 'rockchip/rk3288/rk3288:4.4.4/KTU84Q/eng.ubuntu.20150530.152344:eng/test-keys'
I/DEBUG   (  151): Revision: '0'
I/DEBUG   (  151): pid: 1340, tid: 1457, name: CameraCmdThread  >>> /system/bin/mediaserver <<<
I/DEBUG   (  151): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
W/NativeCrashListener(  466): Couldn't find ProcessRecord for pid 1340
D/mali_winsys( 1413): new_window_surface returns 0x3000
I/DEBUG   (  151):     r0 00000001  r1 41700000  r2 00000001  r3 00000000
I/DEBUG   (  151): AM write failure (32 / Broken pipe)
I/DEBUG   (  151):     r4 b70ad888  r5 00000438  r6 00000780  r7 b6332a65
I/DEBUG   (  151):     r8 b6f23384  r9 b63297c1  sl b632f855  fp b6f212ec
I/DEBUG   (  151):     ip 05b14001  sp b0e423d8  lr b630ee29  pc 00000000  cpsr 000f0010
I/DEBUG   (  151):     d0  0000000000000000  d1  af7b05d400000001
I/DEBUG   (  151):     d2  00000002af7b05fc  d3  af7b062caf7b0608
I/DEBUG   (  151):     d4  42d77e4ec0000000  d5  41f00000c0000000
I/DEBUG   (  151):     d6  3f80000042439c44  d7  3db8539e40be0000
I/DEBUG   (  151):     d8  0000000000000000  d9  0000000000000000
I/DEBUG   (  151):     d10 0000000000000000  d11 0000000000000000
I/DEBUG   (  151):     d12 0000000000000000  d13 0000000000000000
I/DEBUG   (  151):     d14 0000000000000000  d15 0000000000000000
I/DEBUG   (  151):     d16 ffffffffc7940f32  d17 ffffffffc7940f32
I/DEBUG   (  151):     d18 3feb437ba0000000  d19 3f1a36e2e0000000
I/DEBUG   (  151):     d20 40503425e0000000  d21 404a684bc0000000
I/DEBUG   (  151):     d22 4048738880000000  d23 4042738880000000
I/DEBUG   (  151):     d24 404115a440000000  d25 40362b4880000000
I/DEBUG   (  151):     d26 404e000000000000  d27 4000000000000000
I/DEBUG   (  151):     d28 bf9afc1b9b3dcc75  d29 3fcb2e6495984671
I/DEBUG   (  151):     d30 3ff0000000000000  d31 4000000000000000
I/DEBUG   (  151):     scr 20000010
I/DEBUG   (  151):
I/DEBUG   (  151): backtrace:
I/DEBUG   (  151):     #00  pc 00000000  <unknown>
I/DEBUG   (  151):     #01  pc 00017e27  /system/lib/hw/camera.rk30board.so (android::AppMsgNotifier::initializeFaceDetec(int, int
I/DEBUG   (  151):     #02  pc 00017ef9  /system/lib/hw/camera.rk30board.so (android::AppMsgNotifier::startFaceDection(int, int)+3
I/DEBUG   (  151):     #03  pc 0002b6bf  /system/lib/hw/camera.rk30board.so (android::CameraHal::commandThread()+2066)
I/DEBUG   (  151):     #04  pc 0002b8ad  /system/lib/hw/camera.rk30board.so
I/DEBUG   (  151):     #05  pc 0000ea01  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)
I/DEBUG   (  151):     #06  pc 0000e533  /system/lib/libutils.so
I/DEBUG   (  151):     #07  pc 0000d208  /system/lib/libc.so (__thread_entry+72)
I/DEBUG   (  151):     #08  pc 0000d3a0  /system/lib/libc.so (pthread_create+240)
I/DEBUG   (  151):
I/DEBUG   (  151): stack:
I/DEBUG   (  151):          b0e42398  00000000
I/DEBUG   (  151):          b0e4239c  00000000
I/DEBUG   (  151):          b0e423a0  b70b7200  [heap]
I/DEBUG   (  151):          b0e423a4  b632af81  /system/lib/hw/camera.rk30board.so
I/DEBUG   (  151):          b0e423a8  b6f8f07a  /system/bin/linker
I/DEBUG   (  151):          b0e423ac  00000000
I/DEBUG   (  151):          b0e423b0  00000000
I/DEBUG   (  151):          b0e423b4  b50456dc
I/DEBUG   (  151):          b0e423b8  b630ee19  /system/lib/hw/camera.rk30board.so (android::AppMsgNotifier::initializeFaceDetec(i
I/DEBUG   (  151):          b0e423bc  b6f83f13  /system/bin/linker
I/DEBUG   (  151):          b0e423c0  b50456dc
I/DEBUG   (  151):          b0e423c4  b50456dc
I/DEBUG   (  151):          b0e423c8  b70ad888  [heap]
I/DEBUG   (  151):          b0e423cc  00000438
I/DEBUG   (  151):          b0e423d0  00000780
I/DEBUG   (  151):          b0e423d4  b630ee19  /system/lib/hw/camera.rk30board.so (android::AppMsgNotifier::initializeFaceDetec(i
I/DEBUG   (  151):     #00  b0e423d8  b0e428b4  [stack:1457]
I/DEBUG   (  151):          ........  ........
I/DEBUG   (  151):     #01  b0e423d8  b0e428b4  [stack:1457]
I/DEBUG   (  151):          b0e423dc  b70ad044  [heap]
I/DEBUG   (  151):          b0e423e0  b70ad888  [heap]
I/DEBUG   (  151):          b0e423e4  00000438
I/DEBUG   (  151):          b0e423e8  00000780
I/DEBUG   (  151):          b0e423ec  b70ad888  [heap]
I/DEBUG   (  151):          b0e423f0  00000438
I/DEBUG   (  151):          b0e423f4  00000780
I/DEBUG   (  151):          b0e423f8  b6332a65  /system/lib/hw/camera.rk30board.so
I/DEBUG   (  151):          b0e423fc  b630eefd  /system/lib/hw/camera.rk30board.so (android::AppMsgNotifier::startFaceDection(int,
I/DEBUG   (  151):     #02  b0e42400  b70ad888  [heap]
I/DEBUG   (  151):          b0e42404  00000780
I/DEBUG   (  151):          b0e42408  00000438
I/DEBUG   (  151):          b0e4240c  b70add28  [heap]
I/DEBUG   (  151):          b0e42410  b70ad018  [heap]
I/DEBUG   (  151):          b0e42414  b631f6b9  /system/lib/hw/camera.rk30board.so (android::CameraIspAdapter::startPreview(int, i
ool))
I/DEBUG   (  151):          b0e42418  00000001
I/DEBUG   (  151):          b0e4241c  b63226c3  /system/lib/hw/camera.rk30board.so (android::CameraHal::commandThread()+2070)
I/DEBUG   (  151):
I/DEBUG   (  151): memory near r1:
I/DEBUG   (  151):     416fffe0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     416ffff0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     41700000 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     41700010 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     41700020 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     41700030 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     41700040 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     41700050 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     41700060 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     41700070 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     41700080 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     41700090 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     417000a0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     417000b0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     417000c0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     417000d0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):
I/DEBUG   (  151): memory near r4:
I/DEBUG   (  151):     b70ad868 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b70ad878 00000000 00000000 00000000 000005e3
I/DEBUG   (  151):     b70ad888 b70ade68 b70ad138 00000c0d 00000000
I/DEBUG   (  151):     b70ad898 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b70ad8a8 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b70ad8b8 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b70ad8c8 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b70ad8d8 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b70ad8e8 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b70ad8f8 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b70ad908 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b70ad918 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b70ad928 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b70ad938 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b70ad948 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b70ad958 00000000 00000000 00000000 00000000
I/DEBUG   (  151):
I/DEBUG   (  151): memory near r7:
I/DEBUG   (  151):     b6332a44 65720073 64726f63 45676e69 6c62616e
I/DEBUG   (  151):     b6332a54 63006465 65636e61 6369506c 65727574
I/DEBUG   (  151):     b6332a64 6d6f6300 646e616d 65726854 64006461
I/DEBUG   (  151):     b6332a74 62617369 734d656c 70795467 75610065
I/DEBUG   (  151):     b6332a84 6f466f74 00737563 76657270 45776569
I/DEBUG   (  151):     b6332a94 6c62616e 63006465 65636e61 7475416c
I/DEBUG   (  151):     b6332aa4 636f466f 43007375 72656d61 6c614861
I/DEBUG   (  151):     b6332ab4 61747300 65527472 64726f63 00676e69
I/DEBUG   (  151):     b6332ac4 706f7473 76657250 00776569 50746573
I/DEBUG   (  151):     b6332ad4 69766572 69577765 776f646e 61437e00
I/DEBUG   (  151):     b6332ae4 6172656d 006c6148 50746573 6d617261
I/DEBUG   (  151):     b6332af4 72657465 6e650073 656c6261 5467734d
I/DEBUG   (  151):     b6332b04 00657079 50746573 6d617261 72657465
I/DEBUG   (  151):     b6332b14 6c6e5573 006b636f 656c6572 00657361
I/DEBUG   (  151):     b6332b24 72617473 65725074 77656976 6b617400
I/DEBUG   (  151):     b6332b34 63695065 65727574 6f747300 63655270
I/DEBUG   (  151):
I/DEBUG   (  151): memory near r8:
I/DEBUG   (  151):     b6f23364 00001000 00001000 00010000 00200000
I/DEBUG   (  151):     b6f23374 00000003 b6efa7c9 bea4d990 bea4da38
I/DEBUG   (  151):     b6f23384 457965e8 bea4d92c 00000000 b6f93cf0
I/DEBUG   (  151):     b6f23394 00000007 00000008 b70c1420 00000000
I/DEBUG   (  151):     b6f233a4 b70c3000 00000009 0000000a 00000000
I/DEBUG   (  151):     b6f233b4 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f233c4 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f233d4 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f233e4 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f233f4 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f23404 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f23414 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f23424 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f23434 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f23444 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f23454 00000000 00000000 00000000 00000000
I/DEBUG   (  151):
I/DEBUG   (  151): memory near r9:
I/DEBUG   (  151):     b63297a0 6f466172 74616d72 766e6f43 00747265
I/DEBUG   (  151):     b63297b0 5f616772 3231766e 67726f74 35363562
I/DEBUG   (  151):     b63297c0 6d614300 48617265 2f006c61 636f7270
I/DEBUG   (  151):     b63297d0 2f64252f 6c646d63 00656e69 6174624f
I/DEBUG   (  151):     b63297e0 63206e69 696c6c61 7020676e 65636f72
I/DEBUG   (  151):     b63297f0 69207373 206f666e 6c696166 43006465
I/DEBUG   (  151):     b6329800 696c6c61 7020676e 65636f72 69207373
I/DEBUG   (  151):     b6329810 25203a73 766e0073 25003231 64252873
I/DEBUG   (  151):     b6329820 70203a29 6c657869 726f6620 2074616d
I/DEBUG   (  151):     b6329830 69207325 6e752073 776f6e6b 642f0021
I/DEBUG   (  151):     b6329840 722f7665 25006167 64252873 706f3a29
I/DEBUG   (  151):     b6329850 72206e65 64206167 63697665 61662065
I/DEBUG   (  151):     b6329860 64656c69 25002121 64252873 20203a29
I/DEBUG   (  151):     b6329870 5f414752 54494c42 5953415f 4620434e
I/DEBUG   (  151):     b6329880 656c6961 642f0064 722f7665 2d39326b
I/DEBUG   (  151):     b6329890 00707069 20707069 65206f64 2c6f7272
I/DEBUG   (  151):
I/DEBUG   (  151): memory near sl:
I/DEBUG   (  151):     b632f834 25287325 203a2964 25287325 203a2964
I/DEBUG   (  151):     b632f844 65636572 20657669 5f444d43 54495845
I/DEBUG   (  151):     b632f854 28732500 3a296425 28732520 20296425
I/DEBUG   (  151):     b632f864 65636572 20657669 6e6b6e75 6320776f
I/DEBUG   (  151):     b632f874 616d6d6f 3028646e 29782578 6f63000a
I/DEBUG   (  151):     b632f884 6e616d6d 646d4364 73250051 29642528
I/DEBUG   (  151):     b632f894 7325203a 29642528 6143203a 6172656d
I/DEBUG   (  151):     b632f8a4 6c614820 6d656d20 2079726f 61207369
I/DEBUG   (  151):     b632f8b4 636f6c6c 66206465 206d6f72 204e4f49
I/DEBUG   (  151):     b632f8c4 69766564 73006563 632e7379 685f6d61
I/DEBUG   (  151):     b632f8d4 742e6c61 00657079 656e6f6e 6b616600
I/DEBUG   (  151):     b632f8e4 6d616365 00617265 25287325 203a2964
I/DEBUG   (  151):     b632f8f4 69207469 20612073 656b6166 6d616320
I/DEBUG   (  151):     b632f904 21617265 28732500 3a296425 20746920
I/DEBUG   (  151):     b632f914 61207369 63767520 6d616320 21617265
I/DEBUG   (  151):     b632f924 28732500 3a296425 20746920 61207369
I/DEBUG   (  151):
I/DEBUG   (  151): memory near fp:
I/DEBUG   (  151):     b6f212cc 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f212dc 00000000 00000000 ffffffff 00000000
I/DEBUG   (  151):     b6f212ec 00000000 00000001 0003ffff 00000000
I/DEBUG   (  151):     b6f212fc 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f2130c 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f2131c 00000000 00000000 b6ee7ad1 b6ee7acd
I/DEBUG   (  151):     b6f2132c b6ee847f b6ee85b9 00000000 b6e91465
I/DEBUG   (  151):     b6f2133c 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f2134c 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f2135c 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f2136c 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f2137c 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f2138c 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f2139c 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f213ac 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b6f213bc 00000000 00000000 00000000 00000000
I/DEBUG   (  151):
I/DEBUG   (  151): memory near ip:
I/DEBUG   (  151):     05b13fe0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b13ff0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b14000 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b14010 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b14020 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b14030 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b14040 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b14050 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b14060 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b14070 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b14080 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b14090 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b140a0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b140b0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b140c0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     05b140d0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):
I/DEBUG   (  151): memory near sp:
I/DEBUG   (  151):     b0e423b8 b630ee19 b6f83f13 b50456dc b50456dc
I/DEBUG   (  151):     b0e423c8 b70ad888 00000438 00000780 b630ee19
I/DEBUG   (  151):     b0e423d8 b0e428b4 b70ad044 b70ad888 00000438
I/DEBUG   (  151):     b0e423e8 00000780 b70ad888 00000438 00000780
I/DEBUG   (  151):     b0e423f8 b6332a65 b630eefd b70ad888 00000780
I/DEBUG   (  151):     b0e42408 00000438 b70add28 b70ad018 b631f6b9
I/DEBUG   (  151):     b0e42418 00000001 b63226c3 00000439 b6332a65
I/DEBUG   (  151):     b0e42428 00000439 00000000 00000000 00000000
I/DEBUG   (  151):     b0e42438 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b0e42448 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b0e42458 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b0e42468 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b0e42478 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b0e42488 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b0e42498 00000000 00000000 00000000 00000000
I/DEBUG   (  151):     b0e424a8 00000000 00000000 00000000 00000000
I/DEBUG   (  151):
I/DEBUG   (  151): code around pc:
I/DEBUG   (  151):     00000000 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     00000010 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     00000020 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     00000030 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     00000040 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     00000050 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     00000060 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     00000070 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     00000080 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     00000090 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     000000a0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     000000b0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     000000c0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     000000d0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     000000e0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):     000000f0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG   (  151):
I/DEBUG   (  151): code around lr:
I/DEBUG   (  151):     b630ee08 f8c4492f f8d405c8 447905b8 eb1ef7f9
I/DEBUG   (  151):     b630ee18 05ccf8c4 f8d42001 492035c8 47984602
I/DEBUG   (  151):     b630ee28 04c0f8c4 f8d4b148 463175bc 2302462a
I/DEBUG   (  151):     b630ee38 200147b8 04bcf884 f8d4e028 f7f905b8
I/DEBUG   (  151):     b630ee48 4b20eb0c 200622cd 9202491f 4479447b
I/DEBUG   (  151):     b630ee58 000ce88d 447a4a1d e92af7f9 30fff04f
I/DEBUG   (  151):     b630ee68 f8d0e019 42b334b0 f8d0d103 429004b4
I/DEBUG   (  151):     b630ee78 f8d4d00c f8d415c0 478804c0 75bcf8d4
I/DEBUG   (  151):     b630ee88 462a4631 04c0f8d4 47b82302 f8c42000
I/DEBUG   (  151):     b630ee98 f8c464b0 b00554b4 bf00bdf0 41700000
I/DEBUG   (  151):     b630eea8 0001c14b 0002349e 0001a9f9 0001c137
I/DEBUG   (  151):     b630eeb8 0001c157 0001c15a 0001c15c 0001c163
I/DEBUG   (  151):     b630eec8 0001c16b 0002340c 0001a967 0001c134
I/DEBUG   (  151):     b630eed8 4604b57f 6094f500 4615460e f7fe9003
I/DEBUG   (  151):     b630eee8 f8d4faa5 039835a8 462ad421 46314620
I/DEBUG   (  151):     b630eef8 ff4ef7ff b9b04605 05a8f8d4 54b8f8c4
I/ActivityManager(  466): Displayed com.android.camera2/com.android.camera.CameraLauncher: +1s170ms
I/ServiceManager(  148): service 'media.audio_flinger' died
I/ServiceManager(  148): service 'media.player' died
I/ServiceManager(  148): service 'media.camera' died
I/ServiceManager(  148): service 'media.audio_policy' died
W/AudioSystem(  541): AudioFlinger server died!
W/AudioSystem(  466): AudioFlinger server died!
W/AudioSystem(  541): AudioPolicyService server died!
W/AudioSystem(  466): AudioPolicyService server died!
E/AudioService(  466): Media server died.
W/CameraBase( 1413): Camera service died!
W/CameraBase( 1413): mediaserver's remote binder Camera object died
E/Camera  ( 1413): Error 100
E/CameraErrorCallback( 1413): Got camera error callback. error=100
W/dalvikvm( 1413): threadid=14: thread exiting with uncaught exception (group=0x415d62a0)
E/AndroidRuntime( 1413): FATAL EXCEPTION: Camera Handler Thread
E/AndroidRuntime( 1413): Process: com.android.camera2, PID: 1413
E/AndroidRuntime( 1413): java.lang.RuntimeException: Media server died.
E/AndroidRuntime( 1413):        at com.android.camera.CameraErrorCallback.onError(CameraErrorCallback.java:32)
E/AndroidRuntime( 1413):        at android.hardware.Camera$EventHandler.handleMessage(Camera.java:972)
E/AndroidRuntime( 1413):        at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1413):        at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 1413):        at android.os.HandlerThread.run(HandlerThread.java:61)
W/ActivityManager(  466):   Force finishing activity com.android.camera2/com.android.camera.CameraLauncher
I/mediaserver( 1475): ServiceManager: 0xb8e384e8
I/AudioFlinger( 1475): Using default 3000 mSec as standby time.
I/CameraService( 1475): CameraService started (pid=1475)
W/linker  ( 1475): librkswscale.so has text relocations. This is wasting memory and is a security risk. Please fix.
I/CameraService( 1475): Loaded "RK29_ICS_CameraHal_Module" camera module
D/CameraHal( 1475): createInstance(813): open xml file(/etc/cam_board.xml) success
E/CameraHal( 1475): cam_board.xml version(v0.0.0) != xml parser version(v0.12.0)
D/CameraHal( 1475):
D/CameraHal( 1475):
D/CameraHal( 1475):
D/CameraHal( 1475):  Cam_board.xml Version Check:
D/CameraHal( 1475):     /etc/cam_board.xml : v0.0xc.0
D/CameraHal( 1475):     CameraHal_board_xml_parser: v0.12.0
D/CameraHal( 1475): ParserSensorInfo(44): SensorName(OV8825)
D/CameraHal( 1475): ParserSensorInfo(49): SensorDevID(CAMSYS_DEVID_SENSOR_1B)
D/CameraHal( 1475): ParserSensorInfo(60): SensorDevID(33554432)
D/CameraHal( 1475): ParserSensorInfo(62): SensorHostDevID(CAMSYS_DEVID_MARVIN)
D/CameraHal( 1475): ParserSensorInfo(77): Sensori2cBusNum(3)
D/CameraHal( 1475): ParserSensorInfo(80): SensorI2cAddrByte(2)
D/CameraHal( 1475): ParserSensorInfo(83): SensorI2cRate(100000)
D/CameraHal( 1475): ParserSensorInfo(86): SensorMclk(24000000)
D/CameraHal( 1475): ParserSensorInfo(89): SensorAvdd(NC) min(0) max(0)
D/CameraHal( 1475): ParserSensorInfo(94): SensorDovdd(NC) min(18000000) max(18000000)
D/CameraHal( 1475): ParserSensorInfo(99): SensorDvdd(NC) min(0) max(0)
D/CameraHal( 1475): ParserSensorInfo(104): SensorGpioPwdn(RK30_PIN2_PB7) active(0)
D/CameraHal( 1475): ParserSensorInfo(108): SensorGpioRst(NC) active(0)
D/CameraHal( 1475): ParserSensorInfo(112): SensorGpioPwen(RK30_PIN0_PC1) active(1)
D/CameraHal( 1475): ParserSensorInfo(116): SensorFacing(back)
D/CameraHal( 1475): ParserSensorInfo(125): SensorInterface(MIPI)
D/CameraHal( 1475): ParserSensorInfo(138): SensorMirrorFlip(0)
D/CameraHal( 1475): ParserSensorInfo(144): SensorOrientation(0)
D/CameraHal( 1475): ParserSensorInfo(141): SensorPowerupSequence(1234)
D/CameraHal( 1475): ParserSensorInfo(236): SensorFovParemeter fov_h(60.0)(60.000000) fov_v(60.0)(60.000000)
D/CameraHal( 1475): ParserSensorInfo(239): SensorAWB_Frame_Skip fps(15)
E/CameraHal( 1475): ParserSensorInfo(183): SensorPhy laneNum wrong (1) range[1,4]
D/CameraHal( 1475): ParserSensorInfo(212): SensorPhy: MIPI  lane: 1  phyindex: 0  fmt: 0x2b
D/CameraHal( 1475): ParserVCMInfo(251): VCMDrvName(BuiltInSensor)
D/CameraHal( 1475): ParserVCMInfo(254): VCMName(NC)
D/CameraHal( 1475): ParserVCMInfo(257): VCMI2cBusNum(3)
D/CameraHal( 1475): ParserVCMInfo(260): VCMI2cAddrByte(0)
D/CameraHal( 1475): ParserVCMInfo(263): VCMI2cRate(0)
D/CameraHal( 1475): ParserVCMInfo(274): VCMVdd(NC) min(0) max(0)
D/CameraHal( 1475): ParserVCMInfo(266): VCMGpioPwdn(NC) active(0)
D/CameraHal( 1475): ParserVCMInfo(270): VCMGpioPower(NC) active(0)
D/CameraHal( 1475): ParserVCMInfo(290): start current(20) rated current(80) vcm max(100)  step mode(13)  drv max(100)
D/CameraHal( 1475): ParserFlashInfo(304): FlashName(Internal)
D/CameraHal( 1475): ParserFlashInfo(307): FlashI2cBusNum(0)
D/CameraHal( 1475): ParserFlashInfo(310): FlashI2cAddrByte(0)
D/CameraHal( 1475): ParserFlashInfo(313): FlashI2cRate(0)
D/CameraHal( 1475): ParserFlashInfo(316): FlashTrigger(NC) active(0)
D/CameraHal( 1475): ParserFlashInfo(320): FlashEn(NC) active(0)
D/CameraHal( 1475): ParserFlashInfo(327): FlashLuminance(0)
D/CameraHal( 1475): ParserFlashInfo(330): FlashColorTemp(0)
D/CameraHal( 1475): StartElementHandler(756): HDR(1)!
D/CameraHal( 1475): StartElementHandler(760): ZSL(1)!
D/CameraHal( 1475): StartElementHandler(764): zoom(1)!
D/CameraHal( 1475): StartElementHandler(792): Continue_SnapShot(1)!
D/CameraHal( 1475): StartElementHandler(795): InterpolationRes(0)!
D/CameraHal( 1475): StartElementHandler(786): PreviewSize(1920x1080)!
D/CameraHal( 1475): StartElementHandler(782): face detect config(1),max face num is (1)!
D/CameraHal( 1475): ParserDVConfig(597):  DV_QCIF(qcif) resolution(176x144) fps(10) support(1)
D/CameraHal( 1475): ParserDVConfig(609):  DV_QVGA(qvga) resolution(320x240) fps(10) support(1)
D/CameraHal( 1475): ParserDVConfig(621):  DV_CIF(cif) resolution(352x288) fps(10) support(1)
D/CameraHal( 1475): ParserDVConfig(633):  DV_VGA(480p) resolution(640x480) fps(10) support(0)
D/CameraHal( 1475): ParserDVConfig(645):  DV_480P(480p) resolution(720x480) fps(10) support(0)
D/CameraHal( 1475): ParserDVConfig(669):  DV_720P(720p) resolution(1280x720) fps(10) support(1)
D/CameraHal( 1475): ParserDVConfig(681):  DV_1080P(1080p) resolution(1920x1080) fps(10) support(1)
D/CameraHal( 1475): number of camdevice (1)
D/CameraHal( 1475): now DV size(7)
E/CameraHal( 1475): camera_get_number_of_cameras(683): board profiles cam num 1
D/CameraHal( 1475): read cam name from xml(/data/media_profiles.xml)
D/CameraHal( 1475): videoname0="OV8825" index=0 facing=0 -->
D/CameraHal( 1475):
D/CameraHal( 1475): find camera count(1) cam1(OV8825) cam2()
D/CameraHal( 1475):
D/CameraHal( 1475):
D/CameraHal( 1475):
D/CameraHal( 1475):  CamSys_Head.h Version Check:
D/CameraHal( 1475):     Kernel camsys_head.h: v0.9.0
D/CameraHal( 1475):     Kernel camsys_drv :   v0.23.0
D/CameraHal( 1475):     CameraHal camsys_head.h : v0.9.0
D/CameraHal( 1475):
D/CameraHal( 1475):
D/CameraHal( 1475):
D/CameraHal( 1475): Check OV8825 ID: reg: 0x300a  val: 0x88 default: 0x88
D/CameraHal( 1475): Check OV8825 ID: reg: 0x300b  val: 0x25 default: 0x25
D/CameraHal( 1475): Check OV8825 ID: reg: 0x300c  val: 0x0 default: 0x0
D/CameraHal( 1475): OpenAndRegistOneSensor(983): sensor xml file name : /etc/OV8825.xml lens name
V/ActivityManager(  466): Moving to PAUSING: ActivityRecord{41cbca90 u0 com.android.camera2/com.android.camera.CameraLauncher t2 f
E/CameraHal( 1475): camera_get_number_of_cameras(690): load sensor name(OV8825) connect 1
E/CameraHal( 1475): camera_get_number_of_cameras(743): Open /dev/video0 failed! strr: No such file or directory
D/CameraHal( 1475): camera_get_number_of_cameras(1100): camera_get_number_of_cameras(1100): Current board have 1 cameras attached.
D/CameraHal( 1475): camera_get_number_of_cameras(1103): meida_profiles_xml_control time (108969)us
V/CAM_PhotoModule( 1413): On pause.
I/AudioPolicyManagerBase( 1475): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
V/CAM_PhotoModule( 1413): stopPreview
I/Process ( 1413): Sending signal. PID: 1413 SIG: 9
D/alsa_route( 1475): Can not get config table for sound card0 RKES8316, so get default config table.
I/AudioFlinger( 1475): loadHwModule() Loaded primary audio interface from LEGACY Audio HW HAL (audio) handle 1
I/AudioFlinger( 1475): HAL output buffer size 1024 frames, normal mix buffer size 1024 frames
I/AudioMixer( 1475): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger( 1475): Using module 1 has the primary audio interface
D/AudioHardwareInterface( 1475): setMode(NORMAL)
I/AudioFlinger( 1475): AudioFlinger's thread 0xb5ba2008 ready to run
D/AudioHardware( 1475): AudioStreamOutALSA::setParameters() routing=2
I/audio_a2dp_hw( 1475): adev_open:  adev_open in A2dp_hw module
I/AudioFlinger( 1475): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 3
D/alsa_route( 1475): Can not get config table for sound card0 RKES8316, so get default config table.
I/AudioFlinger( 1475): loadHwModule() Loaded alsa_usb audio interface from LEGACY Audio HW HAL (audio) handle 4
I/AudioFlinger( 1475): loadHwModule() Loaded usb audio interface from USB audio HW HAL (audio) handle 5
I/r_submix( 1475): adev_open(name=audio_hw_if)
I/r_submix( 1475): adev_init_check()
I/AudioFlinger( 1475): loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 6
I/AudioPolicyService( 1475): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
I/WindowState(  466): WIN DEATH: Window{41b1af20 u0 com.android.camera2/com.android.camera.CameraLauncher}
I/ActivityManager(  466): Process com.android.camera2 (pid 1413) has died.
F/ActivityManager(  466): Service ServiceRecord{41d2dbc0 u0 com.android.camera2/com.android.camera.MediaSaveService} in process Pr
 1413:com.android.camera2/u0a23} not same as in map: null
I/WindowState(  466): WIN DEATH: Window{41b412d0 u0 com.android.camera2/com.android.camera.CameraLauncher}
V/ActivityManager(  466): Moving to DESTROYED: ActivityRecord{41cbca90 u0 com.android.camera2/com.android.camera.CameraLauncher t2
story)
V/ActivityManager(  466): Moving to DESTROYED: ActivityRecord{41cbca90 u0 com.android.camera2/com.android.camera.CameraLauncher t2
V/ActivityManager(  466): Moving to RESUMED: ActivityRecord{41ba0ca8 u0 com.android.launcher3/.Launcher t1} (in existing)
D/ActivityManager(  466): resumeTopActivityLocked: Resumed ActivityRecord{41ba0ca8 u0 com.android.launcher3/.Launcher t1}
D/mali_winsys(  675): new_window_surface returns 0x3000
W/Binder  (  643): Caught a RuntimeException from the binder stub implementation.
W/Binder  (  643): java.lang.NullPointerException
W/Binder  (  643):      at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
W/Binder  (  643):      at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
W/Binder  (  643):      at android.os.Binder.execTransact(Binder.java:404)
W/Binder  (  643):      at dalvik.system.NativeStart.run(Native Method)
W/InputMethodManagerService(  466): Got RemoteException sending setActive(false) notification to pid 1413 uid 10023
D/dalvikvm(  643): GC_CONCURRENT freed 372K, 12% free 2953K/3352K, paused 2ms+2ms, total 20ms
E/AudioService(  466): Media server started.
D/AudioHardware( 1475): AudioStreamOutALSA::setParameters() routing=0
D/AudioHardwareInterface( 1475): setMode(NORMAL)
W/AudioPolicyManagerBase( 1475): setPhoneState() setting same state 0


错误的原因是没有实现人脸识别工却有调用,导致mediaserver挂掉,如下:

I/DEBUG   (  151):     #01  pc 00017e27  /system/lib/hw/camera.rk30board.so (android::AppMsgNotifier::initializeFaceDetec(int, int
I/DEBUG   (  151):     #02  pc 00017ef9  /system/lib/hw/camera.rk30board.so (android::AppMsgNotifier::startFaceDection(int, int)+3
I/DEBUG   (  151):     #03  pc 0002b6bf  /system/lib/hw/camera.rk30board.so (android::CameraHal::commandThread()+2066)
I/DEBUG   (  151):     #04  pc 0002b8ad  /system/lib/hw/camera.rk30board.so
I/DEBUG   (  151):     #05  pc 0000ea01  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)
I/DEBUG   (  151):     #06  pc 0000e533  /system/lib/libutils.so
I/DEBUG   (  151):     #07  pc 0000d208  /system/lib/libc.so (__thread_entry+72)
I/DEBUG   (  151):     #08  pc 0000d3a0  /system/lib/libc.so (pthread_create+240)

解决方法:

在cam_board.xml文件中屏蔽人脸识别功能:

<FaceDetect support="1" MaxNum="1"></FaceDetect>

改为:

<FaceDetect support="0" MaxNum="1"></FaceDetect>





你可能感兴趣的:(Camera,闪退,FaceDetect,人脸识别功能)