tmassie / aospx

Automatically exported from code.google.com/p/aospx
0 stars 0 forks source link

Camera #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.open camera app, stops
2.
3.

What is the expected output? What do you see instead?
camera has stopped

What version of the product are you using?
4.0.3 iml74k

Please provide logcat ouput and any additional information below.

D/RPC     ( 1316): 3100008c:262145 sending RPC reply (XID 81)
D/libloc  ( 1316):
D/libloc  ( 1316): Event RPC_LOC_EVENT_STATUS_REPORT (client 0)
D/libloc  ( 1316): Fix session state: RPC_LOC_FIX_SESSION_STATE_END
D/libloc  ( 1316): loc_eng_report_nmea: $
D/libloc  ( 1316): loc_eng_deferred_action_thread event 256
D/libloc  ( 1316): loc_eng_process_loc_event: 100
D/libloc  ( 1316): loc_eng_deferred_action_thread. waiting for events
D/RPC     ( 1316): 3000008c:00040000 received CALL.
D/RPC     ( 1316): 3000008c:00040000 dispatching RPC call (XID 82, xdr 0x3ef208)
 for callback client 3100008c:00040001.
D/RPC     ( 1316): 3100008c:262145 sending RPC reply (XID 82)
E/msm7x30.hwcomposer( 1316): isValidDestination: destination out of bound params

I/ActivityManager( 1316): Config changed: {1.0 310mcc410mnc en_US layoutdir=0 sw
320dp w320dp h508dp nrml long port finger -keyb/v/h -nav/h s.6}
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:1536000 offs
et:15073280 fd:60
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4bc25000 size:1536000 offset
:1490944 fd:62
D/memalloc( 1406): /dev/pmem: Unmapping buffer base:0x4bf24000 size:1490944 offs
et:159744
D/memalloc( 1406): /dev/pmem: Unmapping buffer base:0x4c090000 size:14970880 off
set:13639680
D/memalloc( 1406): /dev/pmem: Unmapping buffer base:0x4f785000 size:17940480 off
set:16609280
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4bae0000 size:1331200 offset
:159744 fd:238
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4ca90000 size:1331200 offset
:16609280 fd:75
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:1413120 offs
et:16609280 fd:75
D/memalloc( 1538): /dev/pmem: Mapped buffer base:0x5009a000 size:16609280 offset
:15073280 fd:65
D/memalloc( 8939): /dev/pmem: Unmapping buffer base:0x4ce94000 size:3026944 offs
et:1490944
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4be0d000 size:1536000 offset
:3489792 fd:235
D/memalloc( 8939): /dev/pmem: Unmapping buffer base:0x4d177000 size:5025792 offs
et:3489792
D/memalloc( 1406): /dev/pmem: Mapped buffer base:0x4bf24000 size:18022400 offset
:16609280 fd:61
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4bff5000 size:462848 offset:
5488640 fd:270
W/IInputConnectionWrapper( 8939): showStatusIcon on inactive InputConnection
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:1413120 offs
et:21258240 fd:213
D/memalloc( 1406): /dev/pmem: Mapped buffer base:0x4f785000 size:22671360 offset
:21258240 fd:64
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4c7bb000 size:1331200 offset
:13639680 fd:242
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:61440 offset
:18022400 fd:235
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4bab9000 size:102400 offset:
0 fd:275
D/memalloc( 1406): /dev/pmem: Unmapping buffer base:0x4aff6000 size:102400 offse
t:0
D/memalloc( 1406): /dev/pmem: Mapped buffer base:0x50d24000 size:18083840 offset
:18022400 fd:43
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:1536000 offs
et:22671360 fd:241
D/memalloc( 1538): /dev/pmem: Mapped buffer base:0x51071000 size:24207360 offset
:22671360 fd:70
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:1413120 offs
et:24207360 fd:261
D/memalloc( 1406): /dev/pmem: Mapped buffer base:0x51e63000 size:25620480 offset
:24207360 fd:79
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:61440 offset
:18083840 fd:264
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4c900000 size:102400 offset:
14970880 fd:211
D/memalloc( 1406): /dev/pmem: Unmapping buffer base:0x4e925000 size:15073280 off
set:14970880
D/memalloc( 1406): /dev/pmem: Mapped buffer base:0x536d2000 size:18145280 offset
:18083840 fd:68
W/ActivityManager( 1316): Launch timeout has expired, giving up wake lock!
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:1536000 offs
et:25620480 fd:211
D/memalloc( 1538): /dev/pmem: Mapped buffer base:0x52787000 size:27156480 offset
:25620480 fd:54
D/Finsky  ( 8047): [1] 1.onResponse: Phonesky checkin succeeded for account
D/Finsky  ( 8047): [1] 1.attemptNextSync: Done checking in.
D/RPC     ( 1316): 3000008c:00040000 received CALL.
D/libloc  ( 1316):
D/libloc  ( 1316): Event RPC_LOC_EVENT_STATUS_REPORT (client 0)
D/libloc  ( 1316): Engine state: RPC_LOC_ENGINE_STATE_OFF
D/libloc  ( 1316): loc_eng_deferred_action_thread signalled
D/libloc  ( 1316): loc_eng_deferred_action_thread event 256
D/libloc  ( 1316): loc_eng_process_loc_event: 100
D/libloc  ( 1316): loc_inform_gps_status, status: GPS_STATUS_ENGINE_OFF
D/libloc  ( 1316): loc_eng_deferred_action_thread. waiting for events
D/RPC     ( 1316): 3000008c:00040000 dispatching RPC call (XID 83, xdr 0x3ef208)
 for callback client 3100008c:00040001.
D/RPC     ( 1316): 3100008c:262145 sending RPC reply (XID 83)
I/ActivityManager( 1316): START {act=android.intent.action.MAIN cat=[android.int
ent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera bnds=[0,556
][120,706]} from pid 1538
V/AudioHardwareMSM7X30( 1201): open driver
V/AudioHardwareMSM7X30( 1201): get config
V/AudioHardwareMSM7X30( 1201): set config
V/AudioHardwareMSM7X30( 1201): buffer_size: 4800
V/AudioHardwareMSM7X30( 1201): buffer_count: 2
V/AudioHardwareMSM7X30( 1201): channel_count: 2
V/AudioHardwareMSM7X30( 1201): sample_rate: 44100
V/AudioHardwareMSM7X30( 1201): dec_id = 5
V/AudioHardwareMSM7X30( 1201): cur_rx for pcm playback = 6
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:1536000 offs
et:27156480 fd:291
V/AudioHardwareMSM7X30( 1201): getACDB, return ID 607
I/HTC Acoustic( 1201): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (11, 6, 0, 6
07)
I/ActivityManager( 1316): Start proc com.android.camera for activity com.android
.camera/.Camera: pid=9042 uid=10007 gids={1006, 1015}
V/CameraHolder( 9042): open camera 0
I/QualcommCameraHardware( 1201): openCameraHardware: call createInstance
D/QualcommCameraHardware( 1201): createInstance: E
D/QualcommCameraHardware( 1201):  Storing the current target type as 2
D/QualcommCameraHardware( 1201): constructor EX
D/QualcommCameraHardware( 1201): startCamera E
D/QualcommCameraHardware( 1201): loading liboemcamera at 0xb000ea38
I/QualcommCameraHardware( 1201): Set main cam and main cam only
I/mm-camera( 1201): set sensor selection :0
D/memalloc( 1538): /dev/pmem: Unmapping buffer base:0x5009a000 size:16609280 off
set:15073280
D/memalloc( 1538): /dev/pmem: Unmapping buffer base:0x51071000 size:24207360 off
set:22671360
D/memalloc( 1538): /dev/pmem: Unmapping buffer base:0x52787000 size:27156480 off
set:25620480
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4c919000 size:1536000 offset
:15073280 fd:60
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4d058000 size:1536000 offset
:22671360 fd:241
I/QualcommCameraHardware( 1201): Open Device node : /dev/msm_camera/control0
I/mm-camera( 1201): Open Device node : /dev/msm_camera/config0
I/mm-camera( 1201): [AWB Calibration] from kernel: fuse_id: 0x1151, 0x51b7, 0x0,
 0x0
I/mm-camera( 1201): [LSC Calibration]Sensor_set_mesh
I/mm-camera( 1201): [LSC Calibration] : call awb_get_fuseid
I/mm-camera( 1201): Read /data/lsc_cal fail
I/mm-camera( 1201): Read from file OK: /data/lsc_cal or /sys/android_camera_awb_
cal/awb_cal
I/mm-camera( 1201): [LSC Calibration]: lsc_checksum=4d78ec30, lsc_verify=c1b
I/mm-camera( 1201): [LSC Calibration]: fuseid_1=1151,fuseid_2=51b7,fuseid_3=0,fu
seid_4=0, sfuse.fuse_id_word1=1151,sfuse.fuse_id_word2=51b7,sfuse.fuse_id_word3=
0,sfuse.fuse_id_word4=0
I/mm-camera( 1201): LSC_Calibration:    addr=a77d6e0c, & addr=a77d6e0c
I/mm-camera( 1201): LSC_Calibration:    addr=a77d7be0, & addr=a77d7be0
I/mm-camera( 1201): LSC_Calibration:    addr=a77d89b4, & addr=a77d89b4
I/mm-camera( 1201): LSC_Calibration:    addr=a77d9788, & addr=a77d9788
I/mm-camera( 1201): LSC_Calibration:    addr=a77da55c, & addr=a77da55c
I/mm-camera-ov8810_u( 1201): ov8810_process_start: [LSC Calibration] LSC is vali
d and set NEW mesh value
I/mm-camera( 1201): [AWB Calibration] fuse_id : 0x1151, 0x51b7, 0x0, 0x0
I/mm-camera( 1201): [AWB Calibration] fail to read /data/awb_cal, try another fi
le
I/mm-camera( 1201): [AWB Calibration] read from file OK: /sys/android_camera_awb
_cal/awb_cal
I/mm-camera( 1201): [AWB Calibration] nandflash data: 0xc1b, 0x2af, 0x31b, 0x115
1, 0x51b7, 0x0, 0x0, 0x590d49c9
I/mm-camera( 1201): [AWB Calibration] check sum=590d49c9, OK
I/mm-camera( 1201): [AWB Calibration] valid bit and fuseID pass, use new white p
oints
I/mm-camera( 1201): [AWB Calibration] use light version: v3
D/mm-camera( 1201): sensor_led_ctrl_init: camfd = 31
D/mm-camera( 1201): af_init_process_exhaustive_search sensor->af_exhaust_downhil
l_allowance 2, sensor->af_exhaust_fv_drop_allowance 0.800000
I/QualcommCameraHardware( 1201): startCamera: camsensor name ov8810, flash 1
I/mm-camera( 1201): sctrl:0xa77dea50
I/mm-camera( 1201): sctrl->fn_table:0xa7729021
I/mm-camera( 1201): sctrl->fn_table.get_snapshot_sizes:0xa7728379
D/QualcommCameraHardware( 1201): startCamera X
D/QualcommCameraHardware( 1201): loading libposteffect at 0x0
E/QualcommCameraHardware( 1201): could not dlopen libposteffect.so: Cannot load
library: load_library[1116]: Library 'libposteffect.so' not found
D/QualcommCameraHardware( 1201): static android::sp<android::CameraHardwareInter
face> android::QualcommCameraHardware::createInstance(): start GPU manager (-1).

D/QualcommCameraHardware( 1201): initDefaultParameters E
D/QualcommCameraHardware( 1201): product 9
D/QualcommCameraHardware( 1201): init thumbnail width: 640, height: 480
W/QualcommCameraHardware( 1201): native_access_parm: error (No such file or dire
ctory): fd 26, type 1, length 32, status 0
D/QualcommCameraHardware( 1201): requested preview size 640 x 480
D/QualcommCameraHardware( 1201): requested picture size 3264 x 2448
D/mm-camera( 1201): In config_proc_CAMERA_SET_PARM_LED_MODE: 0
D/mm-camera( 1201): set_led_mode = 0, led_ctrl_p->led_mode = 0
D/QualcommCameraHardware( 1201): not defined touch-focus yet, or AP without touc
h-focus function
D/QualcommCameraHardware( 1201): virtual android::status_t android::QualcommCame
raHardware::setParameters(const android::CameraParameters&), final_rc=0
D/QualcommCameraHardware( 1201): initDefaultParameters X
D/QualcommCameraHardware( 1201): createInstance: X created hardware=0x2d870
W/Util    ( 9042): No preview size match the aspect ratio
V/camera  ( 9042): Preview size is 640x480
D/QualcommCameraHardware( 1201): requested preview size 640 x 480
D/QualcommCameraHardware( 1201): requested picture size 2592 x 1936
E/QualcommCameraHardware( 1201): Invalid picture size requested: 2592x1936
E/QualcommCameraHardware( 1201): virtual android::status_t android::QualcommCame
raHardware::setParameters(const android::CameraParameters&): 2991, rc = -22
D/mm-camera( 1201): In config_proc_CAMERA_SET_PARM_LED_MODE: 1
D/mm-camera( 1201): set_led_mode = 1, led_ctrl_p->led_mode = 0
D/mm-camera( 1201): set_led_state: 0 -> 0
D/mm-camera( 1201): set_led_state: 0
D/mm-camera( 1201): set_led_state return 0
D/mm-camera( 1201): led_ctrl_p->led_mode = 1
D/QualcommCameraHardware( 1201): not defined touch-focus yet, or AP without touc
h-focus function
D/QualcommCameraHardware( 1201): virtual android::status_t android::QualcommCame
raHardware::setParameters(const android::CameraParameters&), final_rc=-22
W/dalvikvm( 9042): threadid=11: thread exiting with uncaught exception (group=0x
409b91f8)
E/AndroidRuntime( 9042): FATAL EXCEPTION: Thread-526
E/AndroidRuntime( 9042): java.lang.RuntimeException: setParameters failed
E/AndroidRuntime( 9042):        at android.hardware.Camera.native_setParameters(
Native Method)
E/AndroidRuntime( 9042):        at android.hardware.Camera.setParameters(Camera.
java:1295)
E/AndroidRuntime( 9042):        at com.android.camera.Camera.setCameraParameters
(Camera.java:2068)
E/AndroidRuntime( 9042):        at com.android.camera.Camera.startPreview(Camera
.java:1853)
E/AndroidRuntime( 9042):        at com.android.camera.Camera.access$3100(Camera.
java:87)
E/AndroidRuntime( 9042):        at com.android.camera.Camera$5.run(Camera.java:1
112)
E/AndroidRuntime( 9042):        at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 1316):   Force finishing activity com.android.camera/.Camera
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:368640 offse
t:22671360 fd:60
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4d328000 size:1536000 offset
:25620480 fd:211
W/ActivityManager( 1316): Activity pause timeout for ActivityRecord{41750230 com
.android.camera/.Camera}
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:1536000 offs
et:25620480 fd:211
D/memalloc( 1538): /dev/pmem: Mapped buffer base:0x5009a000 size:27156480 offset
:25620480 fd:56
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:1536000 offs
et:28692480 fd:300
D/memalloc( 1538): /dev/pmem: Mapped buffer base:0x51a80000 size:30228480 offset
:28692480 fd:63
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:1536000 offs
et:30228480 fd:303
D/memalloc( 1538): /dev/pmem: Mapped buffer base:0x53754000 size:31764480 offset
:30228480 fd:67
I/ActivityManager( 1316): No longer want com.google.android.partnersetup (pid 88
38): hidden #16
D/memalloc( 1316): /dev/pmem: Allocated buffer base:0x4bab9000 size:368640 offse
t:23040000 fd:310
E/AudioHardwareMSM7X30( 1201): updateDeviceInfo: E rx_device 6 and tx_device 11
E/AudioHardwareMSM7X30( 1201): updateDeviceInfo: X cur_rx 6 cur_tx 11
W/InputManagerService( 1316): Window already focused, ignoring focus gain of: co
m.android.internal.view.IInputMethodClient$Stub$Proxy@4196a6d0
V/AudioHardwareMSM7X30( 1201): open driver
V/AudioHardwareMSM7X30( 1201): get config
V/AudioHardwareMSM7X30( 1201): set config
V/AudioHardwareMSM7X30( 1201): buffer_size: 4800
V/AudioHardwareMSM7X30( 1201): buffer_count: 2
V/AudioHardwareMSM7X30( 1201): channel_count: 2
V/AudioHardwareMSM7X30( 1201): sample_rate: 44100
V/AudioHardwareMSM7X30( 1201): dec_id = 5
V/AudioHardwareMSM7X30( 1201): cur_rx for pcm playback = 6
D/QualcommCameraHardware( 1201): stopPreview: E
D/QualcommCameraHardware( 1201): stopPreviewInternal E: 0
D/QualcommCameraHardware( 1201): stopPreviewInternal X: 0
D/QualcommCameraHardware( 1201): stopPreview: X
D/QualcommCameraHardware( 1201): release E
D/QualcommCameraHardware( 1201): virtual void android::QualcommCameraHardware::r
elease(): GPU manager stopped.
D/QualcommCameraHardware( 1201): deinitRaw E
D/QualcommCameraHardware( 1201): deinitRaw X
W/mm-camera( 1201): config_proc_CAMERA_STOP_SNAPSHOT: state is not correct ctrl-
>state = 0
D/mm-camera( 1201): set_led_mode = 0, led_ctrl_p->led_mode = 1
D/mm-camera( 1201): set_led_state: 0 -> 0
D/mm-camera( 1201): set_led_state: 0
D/mm-camera( 1201): set_led_state return 0
D/mm-camera( 1201): led_ctrl_p->led_mode = 0
I/ActivityManager( 1316): Process com.android.camera (pid 9042) has died.
V/AudioHardwareMSM7X30( 1201): getACDB, return ID 607
I/HTC Acoustic( 1201): update ACDB id: (tx, rx, tx_acdb, rx_acdb) = (11, 6, 0, 6
07)
D/QualcommCameraHardware( 1201): dlclose(libqcamera)
D/QualcommCameraHardware( 1201): release X
D/QualcommCameraHardware( 1201): ~QualcommCameraHardware E
D/QualcommCameraHardware( 1201): ~QualcommCameraHardware X
D/QualcommCameraHardware( 1201): [ATS][close_camera][complete]
W/AudioFlinger( 1201): session id 590 not found for pid 1201
W/AudioFlinger( 1201): session id 591 not found for pid 1201
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4d058000 size:368640 offset:
22671360 fd:60
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4d0b2000 size:368640 offset:
23040000 fd:310
E/AudioHardwareMSM7X30( 1201): updateDeviceInfo: E rx_device 6 and tx_device 11
E/AudioHardwareMSM7X30( 1201): updateDeviceInfo: X cur_rx 6 cur_tx 11
W/ActivityManager( 1316): Activity destroy timeout for ActivityRecord{41750230 c
om.android.camera/.Camera}
D/memalloc( 1316): /dev/pmem: Freeing buffer base:0x4d49f000 size:1536000 offset
:27156480 fd:291

Original issue reported on code.google.com by robertwa...@gmail.com on 26 Jan 2012 at 7:18

GoogleCodeExporter commented 8 years ago
Issue is resolved with upcoming release 'AR16'. For now we will be using a 
prebuilt Camera.apk which fixes this issue. So for now I will mark this 
'Pending' review.

Original comment by robbe...@gmail.com on 29 Jan 2012 at 5:07

GoogleCodeExporter commented 8 years ago

Original comment by robbe...@gmail.com on 29 Jan 2012 at 7:16

GoogleCodeExporter commented 8 years ago

Original comment by robbe...@gmail.com on 10 Feb 2012 at 8:08