[camera-app][mako] switching cameras crashes mm-qcamera-daemon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
camera-app |
Invalid
|
High
|
Sergio Schvezov |
Bug Description
Image: 20130723
HARDWARE=mako
JENKINS_
UBUNTU=
ubuntu/
hybris=
Just open the camera-app and start switching cameras, you can easily reproduce the following crash:
E/mm-camera( 610): config_shutdown_pp Camera not in streaming mode. Returning.
E/mm-camera( 610): vfe_ops_deinit: E
E/qcom_sensors_hal( 607): hal_process_
E/mm-libcamera2( 554): mm_camera_
E/QCameraHWI_Parm( 554): native_set_parms failed: type 3 length 424 error Connection timed out
E/QCameraHWI_Parm( 554): MM_CAMERA_
F/ ( 2234): const VALUE& android:
I/ubuntu:
W/CameraService( 554): Disconnecting camera client 0x40104558 since the binder for it died (this pid 16)
I/ubuntu:
I/ubuntu:
D/overlay ( 552): FROM_STATE = OV_BYPASS_2_LAYER TO_STATE = OV_CLOSED
I/ubuntu:
I/ubuntu:
I/ubuntu:
I/ubuntu:
D/overlay ( 552): FROM_STATE = OV_CLOSED TO_STATE = OV_BYPASS_1_LAYER
I/ubuntu:
I/ubuntu:
I/CameraClient( 554): Destroying camera 0
I/ubuntu:
I/ubuntu:
I/ubuntu:
E/mm-camera( 610): config_shutdown_pp Camera not in streaming mode. Returning.
F/libc ( 610): Fatal signal 11 (SIGSEGV) at 0x0000e3e4 (code=1), thread 484 (mm-qcamera-daem)
W/InputDispatcher( 556): channel 'test' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 556): channel 'test' ~ Channel is unrecoverably broken and will be disposed!
I/DEBUG ( 550): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 550): Build fingerprint: 'google/
I/DEBUG ( 550): Revision: '11'
I/DEBUG ( 550): pid: 65, tid: 484, name: mm-qcamera-daem >>> /system/
I/DEBUG ( 550): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000e3e4
I/DEBUG ( 550): r0 0000e200 r1 403ad1a8 r2 00000000 r3 403ad1a8
I/DEBUG ( 550): r4 0000000c r5 00000000 r6 00000000 r7 42b659b0
I/DEBUG ( 550): r8 00000042 r9 00100000 sl ffffffff fp 42ce493c
I/DEBUG ( 550): ip 403a5e8c sp 42ce4728 lr 403559e9 pc 40355b8a cpsr 60010030
I/DEBUG ( 550): d0 727473206e692074 d1 6d20676e696d6165
I/DEBUG ( 550): d2 746552202e65646f d3 202e676e696e7275
I/DEBUG ( 550): d4 0000000000000000 d5 0000000000000000
I/DEBUG ( 550): d6 0000000000000000 d7 0000000000000000
I/DEBUG ( 550): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 550): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 550): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 550): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 550): d16 3fe6666666666666 d17 3fefb8f8a0000000
I/DEBUG ( 550): d18 3ff4cccccccccccd d19 3fc5d9dce8bfb800
I/DEBUG ( 550): d20 3e54e7f84f2a92a0 d21 bf66bd6213a6601a
I/DEBUG ( 550): d22 3f11532f80055447 d23 bebbb813d18f57fa
I/DEBUG ( 550): d24 bf8f9d660edeb0f8 d25 4002fa766cb4e51e
I/DEBUG ( 550): d26 bfc7d3b365a728f0 d27 3c5048f0646b39c7
I/DEBUG ( 550): d28 bffd58a6e30d3498 d29 3f9cfe3a36f5b9ca
I/DEBUG ( 550): d30 4000000000000000 d31 3fc5d9dd04b93de0
I/DEBUG ( 550): scr 80000010
I/DEBUG ( 550):
I/DEBUG ( 550): backtrace:
I/DEBUG ( 550): #00 pc 00064b8a /system/
I/DEBUG ( 550): #01 pc 0001bdd1 /system/
I/DEBUG ( 550): #02 pc 0001cfe5 /system/
I/DEBUG ( 550): #03 pc 0000e46c /system/lib/libc.so (__thread_entry+72)
I/DEBUG ( 550):
I/DEBUG ( 550): stack:
Seems we need to handle the switch better, to avoid any sort of races, and making sure the hardware is ok for the switch (previous camera properly deactivated, etc).
Changed in touch-preview-images: | |
importance: | Undecided → High |
Changed in camera-app: | |
status: | New → Confirmed |
Changed in touch-preview-images: | |
status: | New → Confirmed |
tags: | added: qt-touch |
tags: |
added: qa-touch removed: qt-touch |
Changed in camera-app: | |
assignee: | nobody → Sergio Schvezov (sergiusens) |
tags: | added: rls-t-incoming |
no longer affects: | touch-preview-images |
Is this still happening?