Closed Bug 882481 Opened 11 years ago Closed 11 years ago

[Camera] crash during launch

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 882328

People

(Reporter: erwanguyader, Unassigned)

Details

(Keywords: crash, Whiteboard: [b2g-crash])

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20130608 Firefox/24.0 (Nightly/Aurora)
Build ID: 20130608031212

Steps to reproduce:

Phone : Keon, b2g mozilla-central, Gaia master

Open camera.


Actual results:

Camera crashes and logcat displays :

I/Gonk    ( 3591): Setting nice for pid 3775 to 1
I/Gonk    ( 3591): Changed nice for pid 3775 from 18 to 1.
E/QualcommCamera( 3264): Qint android::get_camera_info(int, camera_info*): E
I/QualcommCameraHardware( 3264): Found a matching camera info for ID 0
I/QualcommCameraHardware( 3264): HAL_getCameraInfo: orientation = 90
I/QualcommCameraHardware( 3264): HAL_getCameraInfo: modes supported = 5
E/QualcommCamera( 3264): Qint android::get_camera_info(int, camera_info*): E
I/QualcommCameraHardware( 3264): Found a matching camera info for ID 0
I/QualcommCameraHardware( 3264): HAL_getCameraInfo: orientation = 90
I/QualcommCameraHardware( 3264): HAL_getCameraInfo: modes supported = 5
E/QualcommCamera( 3264): Qint android::camera_device_open(const hw_module_t*, const char*, hw_device_t**): E
I/QualcommCameraHardware( 3264): openCameraHardware: call createInstance
I/QualcommCameraHardware( 3264): openCameraHardware:Valid camera ID 0
I/QualcommCameraHardware( 3264): HAL_openCameraHardware: HAL_currentSnapshotMode = 4 HAL_currentCameraMode = 1
I/QualcommCameraHardware( 3264): createInstance: E
I/QualcommCameraHardware( 3264): QualcommCameraHardware constructor E
V/QualcommCameraHardware( 3264): MMCameraDL: E
V/QualcommCameraHardware( 3264): Open MM camera DL libeomcamera loaded at 0xb000ef58 
V/QualcommCameraHardware( 3264): MMCameraDL: X
V/QualcommCameraHardware( 3264):  Storing the current target type as 3 
V/QualcommCameraHardware( 3264): constructor EX
I/QualcommCameraHardware( 3264): createInstance: created hardware=0x4c5260
V/QualcommCameraHardware( 3264): startCamera E
V/QualcommCameraHardware( 3264): loading liboemcamera at 0xb000ef58
V/QualcommCameraHardware( 3264):  openCamera : E
I/Gonk    ( 3591): Setting nice for pid 3647 to 18
I/Gonk    ( 3591): Changed nice for pid 3647 from 1 to 18.
E/Profiler( 3591): BPUnw: [9 total] thread_unregister_for_profiling(me=0x11ec2f0) 
E/CAM_FD  ( 3264): sensor_load_chromatix: Sensor name: s5k5cag cnt=12
V/QualcommCameraHardware( 3264):  openCamera : X
V/QualcommCameraHardware( 3264): openCamera : X
V/QualcommCameraHardware( 3264): startCamera picture_sizes 0x4117f584 PICTURE_SIZE_COUNT 12
V/QualcommCameraHardware( 3264): startCamera preview_sizes 0x4117f524 previewSizeCount 9
V/QualcommCameraHardware( 3264): startCamera hfr_sizes 0x4117f5e4 hfrSizeCount 2
V/QualcommCameraHardware( 3264): startCamera X
I/QualcommCameraHardware( 3264): initDefaultParameters E
E/CAM_FD  ( 3264): ===========WJ DBG  s5k5cag_set_effect 108
I/QualcommCameraHardware( 3264): AutoFocus is not supported
V/QualcommCameraHardware( 3264): DISABLE DIS
E/QualcommCameraHardware( 3264): Maximum zoom value is 61
V/QualcommCameraHardware( 3264): max zoom is 60
I/QualcommCameraHardware( 3264): initDefaultParameters: setting num-snaps-per-shutter to 1
V/QualcommCameraHardware( 3264): setParameters: E params = 0x4c5278
I/QualcommCameraHardware( 3264): ZSL is enabled  0
V/QualcommCameraHardware( 3264): requested preview size 640 x 480
V/QualcommCameraHardware( 3264): No Record Size requested, use the preview dimensions
I/QualcommCameraHardware( 3264): setRecordSize: preview dimensions: 0x0
I/QualcommCameraHardware( 3264): setRecordSize: video dimensions: 0x0
V/QualcommCameraHardware( 3264): requested picture size 640 x 480
V/QualcommCameraHardware( 3264): requested jpeg thumbnail size 512 x 384
V/QualcommCameraHardware( 3264): No Record Size requested, use the preview dimensions
I/QualcommCameraHardware( 3264): setRecordSize: preview dimensions: 0x0
I/QualcommCameraHardware( 3264): setRecordSize: video dimensions: 0x0
I/QualcommCameraHardware( 3264): Setting preview format to native
E/CAM_FD  ( 3264): ===========WJ DBG  s5k5cag_set_effect 108
V/QualcommCameraHardware( 3264): native_set_parms status = 0
I/QualcommCameraHardware( 3264): Parameter Rolloff is not supported for this sensor
I/QualcommCameraHardware( 3264): Parameter MCE is not supported for this sensor
I/QualcommCameraHardware( 3264): Sharpness not supported for this sensor
I/QualcommCameraHardware( 3264): Saturation not supported for this sensor
E/QualcommCameraHardware( 3264): android::status_t android::QualcommCameraHardware::setTouchAfAec(const android::CameraParameters&)
E/QualcommCameraHardware( 3264): Parameter Scenemode is not supported for this sensor
I/QualcommCameraHardware( 3264): Contrast not supported for this sensor
V/QualcommCameraHardware( 3264): No Record Size requested, use the preview dimensions
I/QualcommCameraHardware( 3264): setRecordSize: preview dimensions: 0x0
I/QualcommCameraHardware( 3264): setRecordSize: video dimensions: 0x0
V/QualcommCameraHardware( 3264): strtextures = OFF
I/QualcommCameraHardware( 3264): Setting preview format to native
I/QualcommCameraHardware( 3264): Parameter AntiBanding is not supported for this sensor
I/QualcommCameraHardware( 3264): setRedeyeReduction: setting Redeye Reduction value of disable
E/CAM_FD  ( 3264): config_proc_CAMERA_SET_REDEYE_REDUCTION: mode =1280466944
E/CAM_FD  ( 3264): config_proc_CAMERA_SET_REDEYE_REDUCTION: FAILED
E/QualcommCameraHardware( 3264): native_set_parms failed: type 50 length 1 error No such file or directory
E/QualcommCameraHardware( 3264): Wavelet Denoise is not supported for this sensor
E/QualcommCameraHardware( 3264): FPS Range Values: 5000x31000
V/QualcommCameraHardware( 3264): Zsl is not enabled
I/QualcommCameraHardware( 3264): setSnapshotCount setting num-snaps-per-shutter to 1
I/QualcommCameraHardware( 3264): Set fps is not supported for this sensor
I/QualcommCameraHardware( 3264): Auto Exposure not supported for this sensor
E/QualcommCameraHardware( 3264): DEBBUG: setExposureCompensation E
I/QualcommCameraHardware( 3264): Exposure Compensation is not supported for this sensor
I/QualcommCameraHardware( 3264): WhiteBalance not supported for this sensor
I/QualcommCameraHardware( 3264): setFlash: flash not supported
E/QualcommCameraHardware( 3264): FocusMode =infinity
I/QualcommCameraHardware( 3264): Set Brightness not supported for this sensor
E/QualcommCameraHardware( 3264): Parameter ISO Value is not supported for this sensor
V/QualcommCameraHardware( 3264): checkAreaParameters: Area values are -1000,-1000,1000,1000,1000
V/QualcommCameraHardware( 3264): checkAreaParameters: Area values are -1000,-1000,1000,1000,1000
I/QualcommCameraHardware( 3264): setHighFrameRate: setting HFR value of off(1)
V/QualcommCameraHardware( 3264): setParameters: X
I/QualcommCameraHardware( 3264): initDefaultParameters X
I/QualcommCameraHardware( 3264): createInstance: X
E/QualcommCamera( 3264): Qvoid android::set_callbacks(camera_device*, void (*)(int32_t, int32_t, int32_t, void*), void (*)(int32_t, const camera_memory_t*, unsigned int, camera_frame_metadata_t*, void*), void (*)(int64_t, int32_t, const camera_memory_t*, unsigned int, void*), camera_memory_t* (*)(int, size_t, unsigned int, void*), void*): E
E/QualcommCamera( 3264): cam_nt_cb =0x0,cam_dt_cb=0x0,cam_dt_timestamp_cb=0x0
E/QualcommCamera( 3264): Qint android::get_camera_info(int, camera_info*): E
I/QualcommCameraHardware( 3264): Found a matching camera info for ID 0
I/QualcommCameraHardware( 3264): HAL_getCameraInfo: orientation = 90
I/QualcommCameraHardware( 3264): HAL_getCameraInfo: modes supported = 5
E/MediaPlayer( 3264): error (1, -2147483648)
E/MediaPlayer( 3264): error (1, -2147483648)
E/QualcommCamera( 3264): Qint android::get_camera_info(int, camera_info*): E
I/QualcommCameraHardware( 3264): Found a matching camera info for ID 0
I/QualcommCameraHardware( 3264): HAL_getCameraInfo: orientation = 90
I/QualcommCameraHardware( 3264): HAL_getCameraInfo: modes supported = 5
E/CameraService( 3264): Failed to disable shutter sound. Permission denied (pid 3775)
E/QualcommCamera( 3264): Qint android::preview_enabled(camera_device*): E
E/QualcommCameraHardware( 3264):  : mCameraRunning : 0 mPreviewWindow = 0
E/QualcommCamera( 3264): Qint android::set_preview_window(camera_device*, preview_stream_ops*): E window = 0x4bfe50
E/QualcommCameraHardware( 3264): : set_preview_window
V/QualcommCameraHardware( 3264):  setPreviewWindow: E 
E/QualcommCameraHardware( 3264): Set preview window:: 
V/QualcommCameraHardware( 3264):  setPreviewWindow : X 
E/QualcommCamera( 3264): Qchar* android::get_parameters(camera_device*): E
V/QualcommCameraHardware( 3264): getParameters: EX
E/QualcommCamera( 3264): get_parameters X
E/QualcommCamera( 3264): Qvoid android::put_parameters(camera_device*, char*): E
E/QualcommCamera( 3264): put_parameters X
E/QualcommCamera( 3264): Qint android::set_parameters(camera_device*, const char*): E
V/QualcommCameraHardware( 3264): setParameters: E params = 0x40d8fe60
I/QualcommCameraHardware( 3264): ZSL is enabled  0
V/QualcommCameraHardware( 3264): requested preview size 640 x 480
V/QualcommCameraHardware( 3264): No Record Size requested, use the preview dimensions
I/QualcommCameraHardware( 3264): setRecordSize: preview dimensions: 0x0
I/QualcommCameraHardware( 3264): setRecordSize: video dimensions: 0x0
V/QualcommCameraHardware( 3264): requested picture size 640 x 480
V/QualcommCameraHardware( 3264): requested jpeg thumbnail size 512 x 384
V/QualcommCameraHardware( 3264): No Record Size requested, use the preview dimensions
I/QualcommCameraHardware( 3264): setRecordSize: preview dimensions: 0x0
I/QualcommCameraHardware( 3264): setRecordSize: video dimensions: 0x0
I/QualcommCameraHardware( 3264): Setting preview format to native
E/CAM_FD  ( 3264): ===========WJ DBG  s5k5cag_set_effect 108
V/QualcommCameraHardware( 3264): native_set_parms status = 0
I/QualcommCameraHardware( 3264): Parameter Rolloff is not supported for this sensor
I/QualcommCameraHardware( 3264): Parameter MCE is not supported for this sensor
I/QualcommCameraHardware( 3264): Sharpness not supported for this sensor
I/QualcommCameraHardware( 3264): Saturation not supported for this sensor
E/QualcommCameraHardware( 3264): android::status_t android::QualcommCameraHardware::setTouchAfAec(const android::CameraParameters&)
E/QualcommCameraHardware( 3264): Parameter Scenemode is not supported for this sensor
I/QualcommCameraHardware( 3264): Contrast not supported for this sensor
V/QualcommCameraHardware( 3264): No Record Size requested, use the preview dimensions
I/QualcommCameraHardware( 3264): setRecordSize: preview dimensions: 0x0
I/QualcommCameraHardware( 3264): setRecordSize: video dimensions: 0x0
V/QualcommCameraHardware( 3264): strtextures = OFF
I/QualcommCameraHardware( 3264): Setting preview format to native
I/QualcommCameraHardware( 3264): Parameter AntiBanding is not supported for this sensor
I/QualcommCameraHardware( 3264): setRedeyeReduction: setting Redeye Reduction value of disable
E/CAM_FD  ( 3264): config_proc_CAMERA_SET_REDEYE_REDUCTION: mode =1280466944
E/CAM_FD  ( 3264): config_proc_CAMERA_SET_REDEYE_REDUCTION: FAILED
E/QualcommCameraHardware( 3264): native_set_parms failed: type 50 length 1 error Bad file number
E/QualcommCameraHardware( 3264): Wavelet Denoise is not supported for this sensor
E/QualcommCameraHardware( 3264): FPS Range Values: 5000x31000
V/QualcommCameraHardware( 3264): Zsl is not enabled
I/QualcommCameraHardware( 3264): setSnapshotCount setting num-snaps-per-shutter to 1
I/QualcommCameraHardware( 3264): Set fps is not supported for this sensor
I/QualcommCameraHardware( 3264): Auto Exposure not supported for this sensor
E/QualcommCameraHardware( 3264): DEBBUG: setExposureCompensation E
I/QualcommCameraHardware( 3264): Exposure Compensation is not supported for this sensor
I/QualcommCameraHardware( 3264): WhiteBalance not supported for this sensor
I/QualcommCameraHardware( 3264): setFlash: flash not supported
E/QualcommCameraHardware( 3264): FocusMode =infinity
I/QualcommCameraHardware( 3264): Set Brightness not supported for this sensor
E/QualcommCameraHardware( 3264): Parameter ISO Value is not supported for this sensor
V/QualcommCameraHardware( 3264): checkAreaParameters: Area values are -1000,-1000,1000,1000,1000
V/QualcommCameraHardware( 3264): checkAreaParameters: Area values are -1000,-1000,1000,1000,1000
I/QualcommCameraHardware( 3264): setHighFrameRate: setting HFR value of off(1)
V/QualcommCameraHardware( 3264): setParameters: X
E/QualcommCamera( 3264): Qchar* android::get_parameters(camera_device*): E
V/QualcommCameraHardware( 3264): getParameters: EX
E/QualcommCamera( 3264): get_parameters X
E/QualcommCamera( 3264): Qvoid android::put_parameters(camera_device*, char*): E
E/QualcommCamera( 3264): put_parameters X
E/QualcommCamera( 3264): Qint android::set_parameters(camera_device*, const char*): E
V/QualcommCameraHardware( 3264): setParameters: E params = 0x40d8fe60
I/QualcommCameraHardware( 3264): ZSL is enabled  0
V/QualcommCameraHardware( 3264): requested preview size 576 x 432
V/QualcommCameraHardware( 3264): No Record Size requested, use the preview dimensions
I/QualcommCameraHardware( 3264): setRecordSize: preview dimensions: 0x0
I/QualcommCameraHardware( 3264): setRecordSize: video dimensions: 0x0
V/QualcommCameraHardware( 3264): requested picture size 640 x 480
V/QualcommCameraHardware( 3264): requested jpeg thumbnail size 512 x 384
V/QualcommCameraHardware( 3264): No Record Size requested, use the preview dimensions
I/QualcommCameraHardware( 3264): setRecordSize: preview dimensions: 0x0
I/QualcommCameraHardware( 3264): setRecordSize: video dimensions: 0x0
I/QualcommCameraHardware( 3264): Setting preview format to native
E/CAM_FD  ( 3264): ===========WJ DBG  s5k5cag_set_effect 108
V/QualcommCameraHardware( 3264): native_set_parms status = 0
I/QualcommCameraHardware( 3264): Parameter Rolloff is not supported for this sensor
I/QualcommCameraHardware( 3264): Parameter MCE is not supported for this sensor
I/QualcommCameraHardware( 3264): Sharpness not supported for this sensor
I/QualcommCameraHardware( 3264): Saturation not supported for this sensor
E/QualcommCameraHardware( 3264): android::status_t android::QualcommCameraHardware::setTouchAfAec(const android::CameraParameters&)
E/QualcommCameraHardware( 3264): Parameter Scenemode is not supported for this sensor
I/QualcommCameraHardware( 3264): Contrast not supported for this sensor
V/QualcommCameraHardware( 3264): No Record Size requested, use the preview dimensions
I/QualcommCameraHardware( 3264): setRecordSize: preview dimensions: 0x0
I/QualcommCameraHardware( 3264): setRecordSize: video dimensions: 0x0
V/QualcommCameraHardware( 3264): strtextures = OFF
I/QualcommCameraHardware( 3264): Setting preview format to native
I/QualcommCameraHardware( 3264): Parameter AntiBanding is not supported for this sensor
I/QualcommCameraHardware( 3264): setRedeyeReduction: setting Redeye Reduction value of disable
E/CAM_FD  ( 3264): config_proc_CAMERA_SET_REDEYE_REDUCTION: mode =1280466944
E/CAM_FD  ( 3264): config_proc_CAMERA_SET_REDEYE_REDUCTION: FAILED
E/QualcommCameraHardware( 3264): native_set_parms failed: type 50 length 1 error Bad file number
E/QualcommCameraHardware( 3264): Wavelet Denoise is not supported for this sensor
E/QualcommCameraHardware( 3264): FPS Range Values: 5000x31000
V/QualcommCameraHardware( 3264): Zsl is not enabled
I/QualcommCameraHardware( 3264): setSnapshotCount setting num-snaps-per-shutter to 1
I/QualcommCameraHardware( 3264): Set fps is not supported for this sensor
I/QualcommCameraHardware( 3264): Auto Exposure not supported for this sensor
E/QualcommCameraHardware( 3264): DEBBUG: setExposureCompensation E
I/QualcommCameraHardware( 3264): Exposure Compensation is not supported for this sensor
I/QualcommCameraHardware( 3264): WhiteBalance not supported for this sensor
I/QualcommCameraHardware( 3264): setFlash: flash not supported
E/QualcommCameraHardware( 3264): FocusMode =infinity
I/QualcommCameraHardware( 3264): Set Brightness not supported for this sensor
E/QualcommCameraHardware( 3264): Parameter ISO Value is not supported for this sensor
V/QualcommCameraHardware( 3264): checkAreaParameters: Area values are -1000,-1000,1000,1000,1000
V/QualcommCameraHardware( 3264): checkAreaParameters: Area values are -1000,-1000,1000,1000,1000
I/QualcommCameraHardware( 3264): setHighFrameRate: setting HFR value of off(1)
V/QualcommCameraHardware( 3264): setParameters: X
I/Gecko   ( 3591): 
I/Gecko   ( 3591): ###!!! [Parent][AsyncChannel] Error: Channel error: cannot send/recv
I/Gecko   ( 3591): 
I/Gonk    ( 3591): Setting nice for pid 3647 to 1
I/Gonk    ( 3591): Changed nice for pid 3647 from 18 to 1.
E/QualcommCamera( 3264): Qvoid android::disable_msg_type(camera_device*, int32_t): E
E/QualcommCamera( 3264): Qvoid android::stop_preview(camera_device*): E
V/QualcommCameraHardware( 3264): stopPreview: E
I/QualcommCameraHardware( 3264): stopPreviewInternal E: 0
E/QualcommCameraHardware( 3264): stopPreviewInternal, J_mCameraRunning = 0
E/QualcommCameraHardware( 3264): stopPreviewInternal, before calling deinitpre mPreviewInitialized = 0
I/QualcommCameraHardware( 3264): stopPreviewInternal X: 0
V/QualcommCameraHardware( 3264): stopPreview: X
E/QualcommCamera( 3264): Qint android::cancel_picture(camera_device*): E
I/QualcommCameraHardware( 3264): cancelPicture: E
I/QualcommCameraHardware( 3264): cancelPicture: setting mSnapshotCancel to true
I/QualcommCameraHardware( 3264): cancelPicture: X: 0
E/QualcommCamera( 3264): Qvoid android::release(camera_device*): E
I/QualcommCameraHardware( 3264): release E
I/QualcommCameraHardware( 3264): release: mCameraRunning = 0
V/QualcommCameraHardware( 3264): deinitRaw E
V/QualcommCameraHardware( 3264): deinitRaw , clearing raw memory and jpeg memory
E/QualcommCameraHardware( 3264): deinitRaw , clearing/cancelling thumbnail buffers:
V/QualcommCameraHardware( 3264): deinitRaw X
V/QualcommCameraHardware( 3264): deinitRawSnapshot E
V/QualcommCameraHardware( 3264): deinitRawSnapshot X
I/QualcommCameraHardware( 3264): release: clearing resources done.
E/CAM_FD  ( 3264): cam_conf: CAMERA_EXIT
I/QualcommCameraHardware( 3264): release X: mCameraRunning = 0, mFrameThreadRunning = 0
I/QualcommCameraHardware( 3264): mVideoThreadRunning = 0, mSnapshotThreadRunning = 0, mJpegThreadRunning = 0
I/QualcommCameraHardware( 3264): camframe_timeout_flag = 0, mAutoFocusThreadRunning = 0
E/QualcommCamera( 3264): Qint android::set_preview_window(camera_device*, preview_stream_ops*): E window = 0x0
E/QualcommCameraHardware( 3264): : set_preview_window
V/QualcommCameraHardware( 3264):  setPreviewWindow: E 
W/QualcommCameraHardware( 3264):  Setting NULL preview window 
E/QualcommCameraHardware( 3264): Set preview window:: 
V/QualcommCameraHardware( 3264):  setPreviewWindow : X 
E/QualcommCamera( 3264): Qint android::set_preview_window(camera_device*, preview_stream_ops*): E window = 0x0
E/QualcommCameraHardware( 3264): : set_preview_window
V/QualcommCameraHardware( 3264):  setPreviewWindow: E 
W/QualcommCameraHardware( 3264):  Setting NULL preview window 
E/QualcommCameraHardware( 3264): Set preview window:: 
V/QualcommCameraHardware( 3264):  setPreviewWindow : X 
W/CameraService( 3264): native_window_api_disconnect failed: Broken pipe (-32)
E/QualcommCamera( 3264): Qint android::close_camera_device(hw_device_t*): device =0x4c0290 E
I/QualcommCamera( 3264): void android::close_Hal_obj(camera_device*): E
I/QualcommCamera( 3264): void android::close_Hal_obj(camera_device*): clear hw
I/QualcommCameraHardware( 3264): ~QualcommCameraHardware E
V/QualcommCameraHardware( 3264): ~MMCameraDL: E
I/GeckoDump( 3591): Crash reporter : Not online, postponing.
E/Profiler( 3591): BPUnw: [10 total] thread_register_for_profiling(me=0x11ec2b0, stacktop=0x4742ee1f)
V/QualcommCameraHardware( 3264): closed MM Camera DL 
V/QualcommCameraHardware( 3264): ~MMCameraDL: X
I/QualcommCameraHardware( 3264): ~QualcommCameraHardware X
I/QualcommCamera( 3264): void android::close_Hal_obj(camera_device*): X
W/AudioFlinger( 3264): session id 10 not found for pid 3264
W/AudioFlinger( 3264): session id 11 not found for pid 3264
OS: All → Gonk (Firefox OS)
Hardware: All → ARM
Please update to B2G 24.0a1/20130613 that contains the fix of bug 879478 and try again. You will see then bug 880780.
Severity: normal → critical
Flags: needinfo?(erwanguyader)
Keywords: crash
Whiteboard: [b2g-crash]
Another bug related to camera crash is Bug 882328.
Now running B@G 24.0a1/20130613 but the camera still crashes.
Logcat is different though and seems more explicit :

I/Gonk    ( 1129): Setting nice for pid 1376 to 1
I/Gonk    ( 1129): Changed nice for pid 1376 from 18 to 1.
E/QualcommCamera(  971): Qint android::get_camera_info(int, camera_info*): E
I/QualcommCameraHardware(  971): Found a matching camera info for ID 0
I/QualcommCameraHardware(  971): HAL_getCameraInfo: orientation = 90
I/QualcommCameraHardware(  971): HAL_getCameraInfo: modes supported = 5
E/QualcommCamera(  971): Qint android::get_camera_info(int, camera_info*): E
I/QualcommCameraHardware(  971): Found a matching camera info for ID 0
I/QualcommCameraHardware(  971): HAL_getCameraInfo: orientation = 90
I/QualcommCameraHardware(  971): HAL_getCameraInfo: modes supported = 5
E/QualcommCamera(  971): Qint android::camera_device_open(const hw_module_t*, const char*, hw_device_t**): E
I/QualcommCameraHardware(  971): openCameraHardware: call createInstance
I/QualcommCameraHardware(  971): openCameraHardware:Valid camera ID 0
I/QualcommCameraHardware(  971): HAL_openCameraHardware: HAL_currentSnapshotMode = 4 HAL_currentCameraMode = 1
I/QualcommCameraHardware(  971): createInstance: E
I/QualcommCameraHardware(  971): QualcommCameraHardware constructor E
V/QualcommCameraHardware(  971): MMCameraDL: E
V/QualcommCameraHardware(  971): Open MM camera DL libeomcamera loaded at 0xb000ef58 
V/QualcommCameraHardware(  971): MMCameraDL: X
V/QualcommCameraHardware(  971):  Storing the current target type as 3 
V/QualcommCameraHardware(  971): constructor EX
I/QualcommCameraHardware(  971): createInstance: created hardware=0x164f360
V/QualcommCameraHardware(  971): startCamera E
V/QualcommCameraHardware(  971): loading liboemcamera at 0xb000ef58
V/QualcommCameraHardware(  971):  openCamera : E
I/Gonk    ( 1129): Setting nice for pid 1205 to 18
I/Gonk    ( 1129): Changed nice for pid 1205 from 1 to 18.
E/CAM_FD  (  971): sensor_load_chromatix: Sensor name: s5k5cag cnt=12
V/QualcommCameraHardware(  971):  openCamera : X
V/QualcommCameraHardware(  971): openCamera : X
V/QualcommCameraHardware(  971): startCamera picture_sizes 0x4124e584 PICTURE_SIZE_COUNT 12
V/QualcommCameraHardware(  971): startCamera preview_sizes 0x4124e524 previewSizeCount 9
V/QualcommCameraHardware(  971): startCamera hfr_sizes 0x4124e5e4 hfrSizeCount 2
V/QualcommCameraHardware(  971): startCamera X
I/QualcommCameraHardware(  971): initDefaultParameters E
E/CAM_FD  (  971): ===========WJ DBG  s5k5cag_set_effect 108
E/QualcommCameraHardware(  971): native_set_parms failed: type 3 length 400 error No such file or directory
E/QualcommCameraHardware(  971): CAMERA_PARM_DIMENSION failed!!!
I/QualcommCameraHardware(  971): createInstance: X
E/QualcommCamera(  971): Qvoid android::set_callbacks(camera_device*, void (*)(int32_t, int32_t, int32_t, void*), void (*)(int32_t, const camera_memory_t*, unsigned int, camera_frame_metadata_t*, void*), void (*)(int64_t, int32_t, const camera_memory_t*, unsigned int, void*), camera_memory_t* (*)(int, size_t, unsigned int, void*), void*): E
E/QualcommCamera(  971): cam_nt_cb =0x0,cam_dt_cb=0x0,cam_dt_timestamp_cb=0x0
E/QualcommCamera(  971): Qint android::get_camera_info(int, camera_info*): E
I/QualcommCameraHardware(  971): Found a matching camera info for ID 0
I/QualcommCameraHardware(  971): HAL_getCameraInfo: orientation = 90
I/QualcommCameraHardware(  971): HAL_getCameraInfo: modes supported = 5
E/MediaPlayer(  971): error (1, -2147483648)
E/MediaPlayer(  971): error (1, -2147483648)
E/QualcommCamera(  971): Qint android::get_camera_info(int, camera_info*): E
I/QualcommCameraHardware(  971): Found a matching camera info for ID 0
I/QualcommCameraHardware(  971): HAL_getCameraInfo: orientation = 90
I/QualcommCameraHardware(  971): HAL_getCameraInfo: modes supported = 5
E/CameraService(  971): Failed to disable shutter sound. Permission denied (pid 1376)
E/QualcommCamera(  971): Qint android::preview_enabled(camera_device*): E
E/QualcommCameraHardware(  971):  : mCameraRunning : 0 mPreviewWindow = 0
E/QualcommCamera(  971): Qint android::set_preview_window(camera_device*, preview_stream_ops*): E window = 0x1653330
E/QualcommCameraHardware(  971): : set_preview_window
V/QualcommCameraHardware(  971):  setPreviewWindow: E 
E/QualcommCameraHardware(  971): Set preview window:: 
V/QualcommCameraHardware(  971):  setPreviewWindow : X 
E/QualcommCamera(  971): Qchar* android::get_parameters(camera_device*): E
V/QualcommCameraHardware(  971): getParameters: EX
E/QualcommCamera(  971): get_parameters X
E/QualcommCamera(  971): Qvoid android::put_parameters(camera_device*, char*): E
E/QualcommCamera(  971): put_parameters X
E/QualcommCamera(  971): Qint android::set_parameters(camera_device*, const char*): E
V/QualcommCameraHardware(  971): setParameters: E params = 0x40d5ee60
I/QualcommCameraHardware(  971): ZSL is enabled  -1
V/QualcommCameraHardware(  971): requested preview size -1 x -1
E/QualcommCameraHardware(  971): Invalid preview size requested: -1x-1
V/QualcommCameraHardware(  971): No Record Size requested, use the preview dimensions
I/QualcommCameraHardware(  971): setRecordSize: preview dimensions: 0x0
I/QualcommCameraHardware(  971): setRecordSize: video dimensions: 0x0
V/QualcommCameraHardware(  971): requested picture size -1 x -1
F/libc    (  971): Fatal signal 11 (SIGSEGV) at 0x4127e584 (code=1)
I/DEBUG   (  115): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  115): Build fingerprint: 'qcom/full_keon/keon:4.0.4.0.4.0.4/OPENMASTER/23:user/test-keys'
I/DEBUG   (  115): pid: 971, tid: 1349  >>> /system/bin/mediaserver <<<
I/DEBUG   (  115): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 4127e584
I/DEBUG   (  115):  r0 00000000  r1 ffffffff  r2 ffffffff  r3 00000000
I/DEBUG   (  115):  r4 0164f360  r5 4127e584  r6 0000000c  r7 0164f4cc
I/DEBUG   (  115):  r8 0164f4dc  r9 00000000  10 000003f5  fp 00000000
I/DEBUG   (  115):  ip 400ea108  sp 41cf5cb8  lr 40d4be47  pc 40d4be5a  cpsr 800f0030
I/DEBUG   (  115):  d0  726f636552206f4e  d1  7220657a69532064
I/DEBUG   (  115):  d2  6465747365757165  d3  687420657375202c
I/DEBUG   (  115):  d4  0000000000000000  d5  0000000000000000
I/DEBUG   (  115):  d6  4208000041880000  d7  000000003debc8c1
I/DEBUG   (  115):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   (  115):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   (  115):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   (  115):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   (  115):  d16 3ff0000000000000  d17 3fefae147ae147ae
I/DEBUG   (  115):  d18 3ff0000000000000  d19 3faa13740713d38e
I/DEBUG   (  115):  d20 3f1150f93b6d8d46  d21 bebbb486fcf19cb1
I/DEBUG   (  115):  d22 0000000000000000  d23 0000000000000000
I/DEBUG   (  115):  d24 3e66376972bea4d0  d25 0000000000000000
I/DEBUG   (  115):  d26 0000000000000000  d27 0000000000000000
I/DEBUG   (  115):  d28 0000000000000000  d29 0000000000000000
I/DEBUG   (  115):  d30 0000000000000000  d31 0000000000000000
I/DEBUG   (  115):  scr 20000010
I/DEBUG   (  115): 
I/DEBUG   (  115):          #00  pc 00011e5a  /system/lib/hw/camera.msm7627a.so (_ZN7android22QualcommCameraHardware14setPictureSizeERKNS_16CameraParametersE)
I/DEBUG   (  115):          #01  pc 0001273c  /system/lib/hw/camera.msm7627a.so (_ZN7android22QualcommCameraHardware13setParametersERKNS_16CameraParametersE)
I/DEBUG   (  115):          #02  pc 0000d4e2  /system/lib/hw/camera.msm7627a.so (set_parameters)
I/DEBUG   (  115):          #03  pc 00008c8e  /system/lib/libcameraservice.so (_ZN7android13CameraService6Client13setParametersERKNS_7String8E)
I/DEBUG   (  115):          #04  pc 00015c22  /system/lib/libcamera_client.so (_ZN7android8BnCamera10onTransactEjRKNS_6ParcelEPS1_j)
I/DEBUG   (  115):          #05  pc 00017e88  /system/lib/libbinder.so (_ZN7android7BBinder8transactEjRKNS_6ParcelEPS1_j)
I/DEBUG   (  115):          #06  pc 0001b192  /system/lib/libbinder.so (_ZN7android14IPCThreadState14executeCommandEi)
I/DEBUG   (  115):          #07  pc 0001b36e  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb)
I/DEBUG   (  115):          #08  pc 000204bc  /system/lib/libbinder.so
I/DEBUG   (  115):          #09  pc 00020e56  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv)
I/DEBUG   (  115):          #10  pc 0002149c  /system/lib/libutils.so
I/DEBUG   (  115):          #11  pc 00012fd0  /system/lib/libc.so (__thread_entry)
I/DEBUG   (  115):          #12  pc 00012b24  /system/lib/libc.so (pthread_create)
I/DEBUG   (  115): 
I/DEBUG   (  115): code around pc:
I/DEBUG   (  115): 40d4be38 93004479 9b03447a f7fa4e20 4d20eca0  yD..zD.. N.... M
I/DEBUG   (  115): 40d4be48 447e2300 99036836 682d447d 46189a02  .#~D6h..}D-h...F
I/DEBUG   (  115): 40d4be58 58efe00b d10642b9 687f18ef d10242ba  ...X.B.....h.B..
I/DEBUG   (  115): 40d4be68 0018f104 3001e00b 42b03308 4620dbf1  .......0.3.B.. F
I/DEBUG   (  115): 40d4be78 fd86f7fb 9903b178 0018f104 f7fa9a02  ....x...........
I/DEBUG   (  115): 
I/DEBUG   (  115): code around lr:
I/DEBUG   (  115): 40d4be24 4604aa02 a9034608 ee42f7fa 49229b02  ...F.F....B..."I
I/DEBUG   (  115): 40d4be34 4a222002 93004479 9b03447a f7fa4e20  . "JyD..zD.. N..
I/DEBUG   (  115): 40d4be44 4d20eca0 447e2300 99036836 682d447d  .. M.#~D6h..}D-h
I/DEBUG   (  115): 40d4be54 46189a02 58efe00b d10642b9 687f18ef  ...F...X.B.....h
I/DEBUG   (  115): 40d4be64 d10242ba 0018f104 3001e00b 42b03308  .B.........0.3.B
I/DEBUG   (  115): 
I/DEBUG   (  115): memory map around addr 4127e584:
I/DEBUG   (  115): 41250000-4126d000 
I/DEBUG   (  115): (no map for address)
I/DEBUG   (  115): 4129d000-41336000 /system/lib/libmmparser.so
I/DEBUG   (  115): 
I/DEBUG   (  115): stack:
I/DEBUG   (  115):     41cf5c78  01657eb0  [heap]
I/DEBUG   (  115):     41cf5c7c  01644020  [heap]
I/DEBUG   (  115):     41cf5c80  01657eb0  [heap]
I/DEBUG   (  115):     41cf5c84  01644020  [heap]
I/DEBUG   (  115):     41cf5c88  41cf5c90  
I/DEBUG   (  115):     41cf5c8c  41cf5cc4  
I/DEBUG   (  115):     41cf5c90  41cf5cc0  
I/DEBUG   (  115):     41cf5c94  17be101b  
I/DEBUG   (  115):     41cf5c98  0164f4cc  [heap]
I/DEBUG   (  115):     41cf5c9c  0164f360  [heap]
I/DEBUG   (  115):     41cf5ca0  40d5ee60  /system/lib/hw/camera.msm7627a.so
I/DEBUG   (  115):     41cf5ca4  0001302e  
I/DEBUG   (  115):     41cf5ca8  0164f4cc  [heap]
I/DEBUG   (  115):     41cf5cac  40d4be47  /system/lib/hw/camera.msm7627a.so
I/DEBUG   (  115):     41cf5cb0  df0027ad  
I/DEBUG   (  115):     41cf5cb4  00000000  
I/DEBUG   (  115): #00 41cf5cb8  ffffffff  
I/DEBUG   (  115):     41cf5cbc  00000000  
I/DEBUG   (  115):     41cf5cc0  ffffffff  
I/DEBUG   (  115):     41cf5cc4  ffffffff  
I/DEBUG   (  115):     41cf5cc8  0164f360  [heap]
I/DEBUG   (  115):     41cf5ccc  0164f360  [heap]
I/DEBUG   (  115):     41cf5cd0  40d5ee60  /system/lib/hw/camera.msm7627a.so
I/DEBUG   (  115):     41cf5cd4  ffffffea  
I/DEBUG   (  115):     41cf5cd8  0164f4cc  [heap]
I/DEBUG   (  115):     41cf5cdc  40d4c741  /system/lib/hw/camera.msm7627a.so
I/DEBUG   (  115): #01 41cf5ce0  40d5ee60  /system/lib/hw/camera.msm7627a.so
I/DEBUG   (  115):     41cf5ce4  0164f360  [heap]
I/DEBUG   (  115):     41cf5ce8  41cf5d04  
I/DEBUG   (  115):     41cf5cec  40d5ee78  /system/lib/hw/camera.msm7627a.so
I/DEBUG   (  115):     41cf5cf0  41cf5d24  
I/DEBUG   (  115):     41cf5cf4  000003cb  
I/DEBUG   (  115):     41cf5cf8  000003f5  
I/DEBUG   (  115):     41cf5cfc  40d474e5  /system/lib/hw/camera.msm7627a.so
W/AudioSystem( 1129): AudioFlinger server died!
W/AudioSystem( 1129): AudioPolicyService server died!
W/Camera  ( 1376): Camera server died!
W/Camera  ( 1376): ICamera died
E/AudioHardwareMSM76XXA( 1413): failed to open AUTO_VOLUME_CONTROL /system/etc/AutoVolumeControl.txt: No such file or directory (2)
E/QualcommCamera( 1413): Qint android::get_number_of_cameras(): E
I/QualcommCameraHardware( 1413): getCameraInfo: IN
I/QualcommCameraHardware( 1413): getCameraInfo: loading libqcamera at 0xb000ed28
V/QualcommCameraHardware( 1413):  Storing the current target type as 3 
I/QualcommCameraHardware( 1413): getCameraInfo: numOfCameras = 1
I/QualcommCameraHardware( 1413): Camera sensor 0 info:
I/QualcommCameraHardware( 1413): camera_id: 0
I/QualcommCameraHardware( 1413): modes_supported: 5
I/QualcommCameraHardware( 1413): position: 0
I/QualcommCameraHardware( 1413): sensor_mount_angle: 90
V/QualcommCameraHardware( 1413): getCameraInfo: dlclose(libqcamera)
I/QualcommCameraHardware( 1413): getCameraInfo: OUT
W/AudioFlinger( 1413): Thread AudioOut_1 cannot connect to the power manager service
W/AudioHardwareMSM76XXA( 1413): rpc_snd_set_device(6, 1, 1)
W/AudioPolicyManagerBase( 1413): getDeviceForStrategy() unknown strategy: 5
E/        ( 1413): Error Loading libmpqstobinder 
E/        ( 1413): Error: Cannot load library: load_library[1101]: Library 'libmpqstobinder.so' not found
E/GestureDeviceService( 1413): Could not load gesture HAL module
W/AudioFlinger( 1413): Thread AudioOut_1 cannot connect to the power manager service
I/Gecko   ( 1129): 
I/Gecko   ( 1129): ###!!! [Parent][AsyncChannel] Error: Channel error: cannot send/recv
I/Gecko   ( 1129): 
I/Gonk    ( 1129): Setting nice for pid 1205 to 1
I/Gonk    ( 1129): Changed nice for pid 1205 from 18 to 1.
I/GeckoDump( 1129): Crash reporter : Not online, postponing.
(In reply to Erwan Guyader from comment #3)
> Now running B@G 24.0a1/20130613 but the camera still crashes.
It's bug 882328 that was hidden previously by bug 879478.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(erwanguyader)
Resolution: --- → DUPLICATE
Perfect, a patch :)
Thanks.
You need to log in before you can comment on or make changes to this bug.