Closed Bug 972120 Opened 6 years ago Closed 6 years ago

[Camera] [Gecko] [API] Two consecutive calls to navigator.mozCameras.getCamera make gecko crash

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 970557

People

(Reporter: dmarcos, Unassigned)

References

Details

This should be handled gracefully.

Steps to produce:

- Call getCamera API twice. Example below:

navigator.mozCameras.getCamera('front', {},
  function() {
     console.log('gotCamera');
    }
  );

navigator.mozCameras.getCamera('front', {},
  function() {
     console.log('gotCamera');
    }
  );
I collected this with logcat. Let me know if you want any additional info:

/QualcommCamera(  141): Qint android::start_preview(camera_device*): E
E/QCameraHWI(  141): android::status_t android::QCameraHardwareInterface::startPreview(): mPreviewState =0
E/QCameraHWI(  141): android::status_t android::QCameraHardwareInterface::startPreview():  HAL::startPreview begin
E/QCameraHWI(  141): android::status_t android::QCameraHardwareInterface::startPreview():  start preview now
I/QCameraHWI(  141): startPreview2: E
I/QCameraHWI(  141): preview_parm_config: E
I/QCameraHWI(  141): preview_parm_config: X
E/mm-camera(  158): axi_parse_handle: handle = 0xa00, client_idx = 0
E/mm-camera(  158): axi_parse_handle: handle = 0xa00, client_idx = 0
E/mm-camera(  158): axi_parse_handle: handle = 0xa00, client_idx = 0
E/mm-camera(  158): axi_parse_handle: handle = 0xa00, client_idx = 0
E/mm-camera(  158): axi_parse_handle: handle = 0xa00, client_idx = 0
E/mm-camera(  158): config_validate_dimension: E
E/mm-camera(  158): config_validate_dimension: X
E/mm-camera(  158): config_CAMERA_SET_PARM_DIMENSION: rc = 0, pic_fmt = 1, thumb_fmt = 1, prev_fmt = 1, enc_fmt = 0, rotation = 0
E/hardware/qcom/camera/QCameraStream.cpp(  141): android::status_t android::QCameraStream::setMode(int) :myMode 5
E/hardware/qcom/camera/QCameraStream.cpp(  141): android::status_t android::QCameraStream::setMode(int) :myMode 5
E/hardware/qcom/camera/QCameraStream.cpp(  141): android::status_t android::QCameraStream::setMode(int) :myMode 5
E/hardware/qcom/camera/QCameraStream.cpp(  141): android::status_t android::QCameraStream::setMode(int) :myMode 5
E/QCameraHWI(  141): android::status_t android::QCameraHardwareInterface::startPreview2(): myMode = 5
E/QCameraHWI(  141): android::status_t android::QCameraHardwareInterface::startPreview2(): setPreviewWindow
E/QCameraHWI_Preview(  141):  setPreviewWindow: E
E/hardware/qcom/camera/QCameraStream.cpp(  141): android::status_t android::QCameraStream::setFormat(uint8_t, cam_format_t): E
E/mm-camera(  158): config_v4l2_request, type = 0
E/mm-camera(  158): config_MSM_V4L2_VID_CAP_TYPE rc=1
V/hardware/qcom/camera/QCameraStream.cpp(  141): android::status_t android::QCameraStream::setFormat(uint8_t, cam_format_t): Stream MM_CAMERA_PARM_CH_IMAGE_FMT rc = 0
E/hardware/qcom/camera/QCameraStream.cpp(  141): android::status_t android::QCameraStream::setFormat(uint8_t, cam_format_t): X
E/QCameraHWI_Preview(  141): virtual android::status_t android::QCameraStream_preview::initDisplayBuffers():BEGIN
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf hdl =0x4f58a0, size =462848, stride=640
E/QCameraHWI_Preview(  141): getBufferFromSurface: camera call genlock_lock, hdl=0x4f58a0
E/QCameraHWI_Preview(  141): getBufferFromSurface: genlock_lock_buffer hdl =0x4f58a0
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf: 0x4f0130
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): idx = 0, fd = 34, size = 462848, offset = 0
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf hdl =0x4f6050, size =462848, stride=640
E/QCameraHWI_Preview(  141): getBufferFromSurface: camera call genlock_lock, hdl=0x4f6050
E/QCameraHWI_Preview(  141): getBufferFromSurface: genlock_lock_buffer hdl =0x4f6050
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf: 0x4f01d8
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): idx = 1, fd = 38, size = 462848, offset = 0
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf hdl =0x4f55e0, size =462848, stride=640
E/QCameraHWI_Preview(  141): getBufferFromSurface: camera call genlock_lock, hdl=0x4f55e0
E/QCameraHWI_Preview(  141): getBufferFromSurface: genlock_lock_buffer hdl =0x4f55e0
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf: 0x4f02e0
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): idx = 2, fd = 42, size = 462848, offset = 0
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf hdl =0x4f6160, size =462848, stride=640
E/QCameraHWI_Preview(  141): getBufferFromSurface: camera call genlock_lock, hdl=0x4f6160
E/QCameraHWI_Preview(  141): getBufferFromSurface: genlock_lock_buffer hdl =0x4f6160
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf: 0x4f0450
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): idx = 3, fd = 46, size = 462848, offset = 0
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf hdl =0x4f0600, size =462848, stride=640
E/QCameraHWI_Preview(  141): getBufferFromSurface: camera call genlock_lock, hdl=0x4f0600
E/QCameraHWI_Preview(  141): getBufferFromSurface: genlock_lock_buffer hdl =0x4f0600
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf: 0x4f05b0
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): idx = 4, fd = 50, size = 462848, offset = 0
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf hdl =0x4e3040, size =462848, stride=640
E/QCameraHWI_Preview(  141): getBufferFromSurface: camera call genlock_lock, hdl=0x4e3040
E/QCameraHWI_Preview(  141): getBufferFromSurface: genlock_lock_buffer hdl =0x4e3040
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf: 0x4f5b68
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): idx = 5, fd = 54, size = 462848, offset = 0
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf hdl =0x4efc68, size =462848, stride=640
E/QCameraHWI_Preview(  141): getBufferFromSurface: camera call genlock_lock, hdl=0x4efc68
E/QCameraHWI_Preview(  141): getBufferFromSurface: genlock_lock_buffer hdl =0x4efc68
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): dequeue buf: 0x4efc28
E/QCameraHWI_Preview(  141): android::status_t android::QCameraStream_preview::getBufferFromSurface(): idx = 6, fd = 58, size = 462848, offset = 0
E/QCameraHWI_Preview(  141): Cancelling preview buffer and set not owned 0x4e3040
E/QCameraHWI_Preview(  141): Cancelling preview buffer and set not owned 0x4efc68
E/QCameraHWI_Preview(  141): virtual android::status_t android::QCameraStream_preview::initDisplayBuffers(): idx = 0, fd = 34, size = 462848, cbcr_offset = 307200, y_offset = 0, offset = 0, vaddr = 0x417ea000
E/QCameraHWI_Preview(  141): Planes: 0 length: 307200 userptr: 34 offset: 0
E/QCameraHWI_Preview(  141): Planes: 1 length: 153600 userptr: 34 offset: 307200
E/QCameraHWI_Preview(  141): virtual android::status_t android::QCameraStream_preview::initDisplayBuffers(): idx = 1, fd = 38, size = 462848, cbcr_offset = 307200, y_offset = 0, offset = 0, vaddr = 0x41cd9000
E/QCameraHWI_Preview(  141): Planes: 0 length: 307200 userptr: 38 offset: 0
E/QCameraHWI_Preview(  141): Planes: 1 length: 153600 userptr: 38 offset: 307200
E/QCameraHWI_Preview(  141): virtual android::status_t android::QCameraStream_preview::initDisplayBuffers(): idx = 2, fd = 42, size = 462848, cbcr_offset = 307200, y_offset = 0, offset = 0, vaddr = 0x420d5000
E/QCameraHWI_Preview(  141): Planes: 0 length: 307200 userptr: 42 offset: 0
E/QCameraHWI_Preview(  141): Planes: 1 length: 153600 userptr: 42 offset: 307200
E/QCameraHWI_Preview(  141): virtual android::status_t android::QCameraStream_preview::initDisplayBuffers(): idx = 3, fd = 46, size = 462848, cbcr_offset = 307200, y_offset = 0, offset = 0, vaddr = 0x42407000
E/QCameraHWI_Preview(  141): Planes: 0 length: 307200 userptr: 46 offset: 0
E/QCameraHWI_Preview(  141): Planes: 1 length: 153600 userptr: 46 offset: 307200
E/QCameraHWI_Preview(  141): virtual android::status_t android::QCameraStream_preview::initDisplayBuffers(): idx = 4, fd = 50, size = 462848, cbcr_offset = 307200, y_offset = 0, offset = 0, vaddr = 0x42671000
E/QCameraHWI_Preview(  141): Planes: 0 length: 307200 userptr: 50 offset: 0
E/QCameraHWI_Preview(  141): Planes: 1 length: 153600 userptr: 50 offset: 307200
E/QCameraHWI_Preview(  141): virtual android::status_t android::QCameraStream_preview::initDisplayBuffers(): idx = 5, fd = 54, size = 462848, cbcr_offset = 307200, y_offset = 0, offset = 0, vaddr = 0x42911000
E/QCameraHWI_Preview(  141): Planes: 0 length: 307200 userptr: 54 offset: 0
E/QCameraHWI_Preview(  141): Planes: 1 length: 153600 userptr: 54 offset: 307200
E/QCameraHWI_Preview(  141): virtual android::status_t android::QCameraStream_preview::initDisplayBuffers(): idx = 6, fd = 58, size = 462848, cbcr_offset = 307200, y_offset = 0, offset = 0, vaddr = 0x42ad5000
E/QCameraHWI_Preview(  141): Planes: 0 length: 307200 userptr: 58 offset: 0
E/QCameraHWI_Preview(  141): Planes: 1 length: 153600 userptr: 58 offset: 307200
E/QCameraHWI_Preview(  141): virtual android::status_t android::QCameraStream_preview::initDisplayBuffers():END
E/QCameraHWI_Preview(  141):  virtual android::status_t android::QCameraStream_preview::start() : initDisplayBuffers
E/mm-camera(  158): mctl_pp_poll_fn: Woke up Socket fd
E/mm-camera(  158): mctl_pp_recvmsg: Receieved msg_type=0
E/mm-camera(  158): mctl_pp_poll_fn: Woke up Socket fd
E/mm-camera(  158): mctl_pp_recvmsg: Receieved msg_type=0
E/mm-camera(  158): mctl_pp_poll_fn: Woke up Socket fd
E/mm-camera(  158): mctl_pp_recvmsg: Receieved msg_type=0
E/mm-camera(  158): mctl_pp_poll_fn: Woke up Socket fd
E/mm-camera(  158): mctl_pp_recvmsg: Receieved msg_type=0
E/mm-camera(  158): mctl_pp_poll_fn: Woke up Socket fd
E/mm-camera(  158): mctl_pp_recvmsg: Receieved msg_type=0
E/mm-camera(  158): mctl_pp_poll_fn: Woke up Socket fd
E/mm-camera(  158): mctl_pp_recvmsg: Receieved msg_type=0
E/mm-camera(  158): mctl_pp_poll_fn: Woke up Socket fd
E/mm-camera(  158): mctl_pp_recvmsg: Receieved msg_type=0
E/QCameraHWI_Preview(  141): Setting OP MODE to MM_CAMERA_OP_MODE_VIDEO
E/QCameraHWI_Preview(  141): OP Mode Set
E/QCameraHWI_Preview(  141): Starting Preview/Video Stream.
E/mm-camera(  158): config_v4l2_request, type = 1
E/mm-camera(  158): config_MSM_V4L2_STREAM_ON Calling Zoom proc zoom val = 0
E/mm-camera(  158): config_proc_zoom: E, zoom_val = 0, streamon_mask = 0x0
E/mm-camera(  158): config_proc_zoom: X
E/CAMERA FRAME_PROC(  158): frame_proc_parse_handle: handle = 0xa00, client_idx = 0
E/mm-camera(  158): config_MSM_V4L2_STREAM_ON: OPS MODE 2
E/mm-camera(  158): config_MSM_V4L2_STREAM_ON: Done MSM_CAM_IOCTL_V4L2_EVT_NOTIFY to kernel
E/mm-camera(  158): config_decide_vfe2x_outputs Current mode 0 4
E/mm-camera(  158): config_decide_vfe2x_outputs Current mode 0 Full size liveshot : Disabled
E/mm-camera(  158): config_decide_vfe2x_outputs: Ports Used 1, Op mode 64
E/mm-camera(  158): config_decide_vfe2x_outputs: Primary: 640x480, extra_pad: 0x0, Fmt: 0, Type: 1, Path: 1
E/mm-camera(  158): config_decide_vfe2x_outputs: Secondary: 0x0, extra_pad: 0x0, Fmt: 0, Type: 0, Path: 0
E/mm-camera(  158): config_CAMERA_START_VIDEO: E, ctrl->state = 0
E/mm-camera(  158): config_CAMERA_START_VIDEO: VFE_CMD_RESET sent, rc = 0
E/mm-camera(  158): config_CAMERA_START_VIDEO: X
E/mm-camera(  158): config_MSM_V4L2_STREAM_ON:config_CAMERA_START_VIDEO, rc = 0
E/mm-camera(  158): config_MSM_V4L2_STREAM_ON: X, rc = 0
E/mm-camera(  158): config_MSG_ID_RESET_ACK: state = 1, vfe_mode = 4
E/mm-camera(  158): config_MSG_ID_RESET_ACK: vfe_output_mode = 0x40
E/mm-camera(  158): config_MSG_ID_RESET_ACK: vfeMode = 4
E/mm-camera(  158): config_MSG_ID_RESET_ACK: line = 2919
E/mm-camera(  158): config_MSG_ID_RESET_ACK HFR Mode 1
E/mm-camera(  158): config_MSG_ID_RESET_ACK: 3103
E/mm-camera(  158): config_MSG_ID_RESET_ACK: 3121
E/mm-camera(  158): camif_client_set_params: camif has associated with obj mask 0x1
E/mm-camera(  158): config_MSG_ID_RESET_ACK CAMIF_PARAMS_ADD_OBJ_ID failed -1
E/mm-camera(  158): config_MSG_ID_RESET_ACK: 3159
E/mm-camera(  158): vfe_init_active_crop_info: Entered
E/mm-camera(  158): lastColorCompOfActiveRegion = 1279
E/mm-camera(  158): firstColorCompOfActiveRegion = 0
E/mm-camera(  158): lastLineOfActiveRegion = 479
E/mm-camera(  158): firstLineOfActiveRegion = 0
E/mm-camera(  158): camif_debug:
E/mm-camera(  158): VFE_CAMIFCfgCmd.vSyncEdge 0
E/mm-camera(  158): VFE_CAMIFCfgCmd.hSyncEdge 0
E/mm-camera(  158): VFE_CAMIFCfgCmd.syncMode 0
E/mm-camera(  158): VFE_CAMIFCfgCmd.vfeSubSampleEnable 0
E/mm-camera(  158): VFE_CAMIFCfgCmd.busSubSampleEnable 0
E/mm-camera(  158): VFE_CAMIFCfgCmd.irqSubSampleEnable 0
E/mm-camera(  158): VFE_CAMIFCfgCmd.mipi_sel 1
E/mm-camera(  158): VFE_CAMIFCfgCmd.efsEndOfLine 0
E/mm-camera(  158): VFE_CAMIFCfgCmd.efsStartOfLine 0
E/mm-camera(  158): VFE_CAMIFCfgCmd.efsEndOfFrame 0
E/mm-camera(  158): VFE_CAMIFCfgCmd.efsStartOfFrame 0
E/mm-camera(  158): VFE_CAMIFCfgCmd.firstPixel 0
E/mm-camera(  158): VFE_CAMIFCfgCmd.lastPixel 1279
E/mm-camera(  158): VFE_CAMIFCfgCmd.firstLine 0
E/mm-camera(  158): VFE_CAMIFCfgCmd.lastLine 479
E/mm-camera(  158): VFE_CAMIFCfgCmd.pixelsPerLine 1280
E/mm-camera(  158): VFE_CAMIFCfgCmd.linesPerFrame 480
E/mm-camera(  158): VFE_CAMIFCfgCmd.pixelSkipMask 65535
E/mm-camera(  158): VFE_CAMIFCfgCmd.lineSkipMask 65535
E/mm-camera(  158): VFE_CAMIFCfgCmd.frameSkip 0
E/mm-camera(  158): VFE_CAMIFCfgCmd.pixelSkipWrap 0
E/mm-camera(  158): camif_debug_params:
E/mm-camera(  158): Mode 4
E/mm-camera(  158): camif win 1280x480
E/mm-camera(  158): format 1
E/mm-camera(  158): fd 17
E/mm-camera(  158): sensor dim 1280x480
E/mm-camera(  158): crop fp 0 lp 1279 fl 0 ll 479
E/mm-camera(  158): camif_send_cmd_to_hw: type = 0, Cmd = 7, length = 32
E/mm-camera(  158): config_MSG_ID_RESET_ACK: zoom_val = 0, crop_factor = 4096
E/mm-camera(  158): vfe_config_mode: VideoCFg config 1b00604
E/mm-camera(  158): vfe_active_crop_enable, enable/disable active_crop module = 1
E/mm-camera(  158): From CAMIF
E/mm-camera(  158): lastColorCompOfActiveRegion = 1280
E/mm-camera(  158): firstColorCompOfActiveRegion = 0
E/mm-camera(  158): lastLineOfActiveRegion = 479
E/mm-camera(  158): firstLineOfActiveRegion = 0
E/mm-camera(  158): lastColorCompOfActiveRegion = 1279
E/mm-camera(  158): firstColorCompOfActiveRegion = 0
E/mm-camera(  158): lastLineOfActiveRegion = 479
E/mm-camera(  158): firstLineOfActiveRegion = 0
E/mm-camera(  158): vfe_operation_config: format 4
E/mm-camera(  158): axi_parse_handle: handle = 0xa00, client_idx = 0
E/mm-camera(  158): axi_parse_handle: handle = 0xa00, client_idx = 0
E/mm-camera(  158): axi_parse_handle: handle = 0xa00, client_idx = 0
E/mm-camera(  158): axi_preview_config: begin
E/mm-camera(  158): axi_preview_config
E/mm-camera(  158): VFE_AXIOutputConfigCmd.outputMode = 1
E/mm-camera(  158): VFE_AXIOutputConfigCmd.format = 0
E/mm-camera(  158): out1YImageHeight = 0
E/mm-camera(  158): VFE_AXIOutputConfigCmd.out1YImageWidthIn64BitWords = 0
E/mm-camera(  158): out1YBurstLen = 1
E/mm-camera(  158): out1YNumRows = 0
E/mm-camera(  158): out1YRowIncIn64bitIncs = 0
E/mm-camera(  158): out1CbCrImageHeight = 0
E/mm-camera(  158): out1CbCrImageWidthIn64BitWords = 0
E/mm-camera(  158): out1CbCrBurstLen = 1
E/mm-camera(  158): out1CbCrNumRows = 0
E/mm-camera(  158): out1CbCrRowIncIn64bitIncs = 0
E/mm-camera(  158): out2YImageHeight = 480
E/mm-camera(  158): out2YImageWidthIn64BitWords = 80
E/mm-camera(  158): out2YBurstLen = 1
E/mm-camera(  158): out2YNumRows = 480
E/mm-camera(  158): out2YRowIncIn64bitIncs = 80
E/mm-camera(  158): out2CbCrImageHeight = 240
E/mm-camera(  158): out2CbCrImageWidthIn64BitWords = 80
E/mm-camera(  158): out2CbCrBurstLen = 1
E/mm-camera(  158): out2CbCrNumRows = 240
E/mm-camera(  158): out2CbCrRowIncIn64bitIncs = 80
E/mm-camera(  158): axi_config AXI Configuration success
E/mm-camera(  158): config_MSG_ID_RESET_ACK: 3375
E/mm-camera(  158): config_MSG_ID_RESET_ACK: 3405
I/DEBUG   (  139): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  139): Build fingerprint: 'qcom/msm7627a/msm7627a:4.0.4/IMM76I/324:eng/test-keys'
I/DEBUG   (  139): pid: 1173, tid: 1173  >>> /system/b2g/plugin-container <<<
I/DEBUG   (  139): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
I/DEBUG   (  139):  r0 00000046  r1 be98fb68  r2 0000007b  r3 00000000
I/DEBUG   (  139):  r4 43f78580  r5 43f78160  r6 43fdcbb0  r7 40422080
I/DEBUG   (  139):  r8 be99002f  r9 00000001  10 00000001  fp 00000000
I/DEBUG   (  139):  ip 40056108  sp be98ffb8  lr 41861e47  pc 41861e4a  cpsr 20000030
I/DEBUG   (  139):  d0  206f74206c6c6163  d1  20292874726f6261
I/DEBUG   (  139):  d2  6c617a6f6d206f74  d3  726f62615f636f6c
I/DEBUG   (  139):  d4  0038810e38811080  d5  38810038810e3881
I/DEBUG   (  139):  d6  00208d0d0038810e  d7  000003e828813881
I/DEBUG   (  139):  d8  0000000000000000  d9  0000000000000000
I/DEBUG   (  139):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   (  139):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   (  139):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   (  139):  d16 41cdcd6500000000  d17 c3e0000000000000
I/DEBUG   (  139):  d18 3f7522b2a9d34a9c  d19 3fef730bd281f69b
I/DEBUG   (  139):  d20 bfc99a7d31a9cbe9  d21 3fc249dec8f5c62a
I/DEBUG   (  139):  d22 bfbc73021c3db78e  d23 3fb746dea8741396
I/DEBUG   (  139):  d24 bfb3b1e1aa39519c  d25 3fb10e327f54ae21
I/DEBUG   (  139):  d26 bfaddf589721c1e9  d27 3fa97bd08e4d25f6
I/DEBUG   (  139):  d28 bfa2b4442c6a6c2f  d29 0000000000000000
I/DEBUG   (  139):  d30 0000000000000000  d31 ffffffffffffffff
I/DEBUG   (  139):  scr 28000013
I/DEBUG   (  139):
I/DEBUG   (  139):          #00  pc 41861e4a  /system/b2g/libxul.so
I/DEBUG   (  139):          #01  lr 41861e47  /system/b2g/libxul.so
I/DEBUG   (  139):
I/DEBUG   (  139): code around pc:
I/DEBUG   (  139): 41861e28 bf00bd10 f062b510 bd10e800 46034906  ......b......I.F
I/DEBUG   (  139): 41861e38 20064a06 447ab510 f0624479 2300ea4c  .J. ..zDyDb.L..#
I/DEBUG   (  139): 41861e48 601a227b f804f000 00062801 001cb75c  {".`.....(..\...
I/DEBUG   (  139): 41861e58 44784802 ffeaf7ff bf004770 001cb753  .HxD....pG..S...
I/DEBUG   (  139): 41861e68 447b4b01 47706018 0072f4c2 22324914  .K{D.`pG..r..I2"
I/DEBUG   (  139):
I/DEBUG   (  139): code around lr:
I/DEBUG   (  139): 41861e24 e7eff827 bf00bd10 f062b510 bd10e800  '.........b.....
I/DEBUG   (  139): 41861e34 46034906 20064a06 447ab510 f0624479  .I.F.J. ..zDyDb.
I/DEBUG   (  139): 41861e44 2300ea4c 601a227b f804f000 00062801  L..#{".`.....(..
I/DEBUG   (  139): 41861e54 001cb75c 44784802 ffeaf7ff bf004770  \....HxD....pG..
I/DEBUG   (  139): 41861e64 001cb753 447b4b01 47706018 0072f4c2  S....K{D.`pG..r.
I/DEBUG   (  139):
I/DEBUG   (  139): stack:
I/DEBUG   (  139):     be98ff78  4023c000
I/DEBUG   (  139):     be98ff7c  00000028
I/DEBUG   (  139):     be98ff80  41b44654  /system/b2g/libxul.so
I/DEBUG   (  139):     be98ff84  00000003
I/DEBUG   (  139):     be98ff88  00000001
I/DEBUG   (  139):     be98ff8c  43f78160
I/DEBUG   (  139):     be98ff90  43f78580
I/DEBUG   (  139):     be98ff94  a90ad8c6
I/DEBUG   (  139):     be98ff98  43fdcbb0
I/DEBUG   (  139):     be98ff9c  43f78580
I/DEBUG   (  139):     be98ffa0  43f78160
I/DEBUG   (  139):     be98ffa4  43fdcbb0
I/DEBUG   (  139):     be98ffa8  40422080
I/DEBUG   (  139):     be98ffac  41861e47  /system/b2g/libxul.so
I/DEBUG   (  139):     be98ffb0  df0027ad
I/DEBUG   (  139):     be98ffb4  00000000
I/DEBUG   (  139):     be98ffb8  43f78580
I/DEBUG   (  139):     be98ffbc  41861e61  /system/b2g/libxul.so
I/DEBUG   (  139):     be98ffc0  43fdcbb0
I/DEBUG   (  139):     be98ffc4  43f78160
I/DEBUG   (  139):     be98ffc8  404024a4
I/DEBUG   (  139):     be98ffcc  00000000
I/DEBUG   (  139):     be98ffd0  be99002f  [stack]
I/DEBUG   (  139):     be98ffd4  40ebaf0d  /system/b2g/libxul.so
I/DEBUG   (  139):     be98ffd8  40402470
I/DEBUG   (  139):     be98ffdc  00000000
I/DEBUG   (  139):     be98ffe0  404024a4
I/DEBUG   (  139):     be98ffe4  407d9455  /system/b2g/libxul.so
I/DEBUG   (  139):     be98ffe8  00000000
I/DEBUG   (  139):     be98ffec  40436000
I/DEBUG   (  139):     be98fff0  4046e060
I/DEBUG   (  139):     be98fff4  00000000
I/DEBUG   (  139):     be98fff8  00000000
I/DEBUG   (  139):     be98fffc  00000001
I/DEBUG   (  139):     be990000  43f78160
I/DEBUG   (  139):     be990004  42fdcac4
I/DEBUG   (  139):     be990008  00000001
I/DEBUG   (  139):     be99000c  be99093c  [stack]
I/DEBUG   (  139):     be990010  40401ad0
I/DEBUG   (  139):     be990014  00000000
I/DEBUG   (  139):     be990018  00000000
I/DEBUG   (  139):     be99001c  40436000
I/DEBUG   (  139):     be990020  00000000
I/DEBUG   (  139):     be990024  407a9bdd  /system/b2g/libxul.so
I/DEBUG   (  139):     be990028  40402470
I/DEBUG   (  139):     be99002c  01000001
I/DEBUG   (  139):     be990030  40401ac0
I/DEBUG   (  139):     be990034  40911391  /system/b2g/libxul.so
I/DEBUG   (  139):     be990038  41c9c508  /system/b2g/libxul.so
I/DEBUG   (  139):     be99003c  41e0dcec  /system/b2g/libxul.so
I/DEBUG   (  139):     be990040  00000000
I/DEBUG   (  139):     be990044  00000000
I/DEBUG   (  139):     be990048  be99093c  [stack]
I/DEBUG   (  139):     be99004c  be99093c  [stack]
I/DEBUG   (  139):     be990050  40401ac0
I/DEBUG   (  139):     be990054  be99093c  [stack]
I/DEBUG   (  139):     be990058  00000001
I/DEBUG   (  139):     be99005c  4091140b  /system/b2g/libxul.so
I/DEBUG   (  139):     be990060  be99093c  [stack]
I/DEBUG   (  139):     be990064  42fdcac0
I/DEBUG   (  139):     be990068  40402470
I/DEBUG   (  139):     be99006c  be990ad8  [stack]
I/DEBUG   (  139):     be990070  00000000
I/DEBUG   (  139):     be990074  40907039  /system/b2g/libxul.so
I/DEBUG   (  139):     be990078  be99093c  [stack]
I/DEBUG   (  139):     be99007c  409070b7  /system/b2g/libxul.so
I/DEBUG   (  139):     be990080  00000002
I/DEBUG   (  139):     be990084  41ecdf00  /system/b2g/libxul.so
I/DEBUG   (  139):     be990088  be99093c  [stack]
I/DEBUG   (  139):     be99008c  be9900d8  [stack]
I/DEBUG   (  139):     be990090  00000000
I/DEBUG   (  139):     be990094  40d54fb1  /system/b2g/libxul.so
I/DEBUG   (  139):     be990098  80004005
I/DEBUG   (  139):     be99009c  40401ac0
I/DEBUG   (  139):     be9900a0  00000003
I/DEBUG   (  139):     be9900a4  413709bf  /system/b2g/libxul.so
I/DEBUG   (  139):     be9900a8  40401ac0
I/DEBUG   (  139):     be9900ac  42fdcac0
I/DEBUG   (  139):     be9900b0  be99093c  [stack]
I/DEBUG   (  139):     be9900b4  409113d9  /system/b2g/libxul.so
I/DEBUG   (  139):     be9900b8  be99093c  [stack]
I/DEBUG   (  139):     be9900bc  be990a4c  [stack]
E/mm-camera(  158): config_MSG_ID_START_ACK: ctrl->state=4
E/mm-camera(  158): config_MSG_ID_START_ACK: new ctrl->state is 5
E/QCameraHWI_Preview(  141): virtual android::status_t android::QCameraStream_preview::start(): X
I/QCameraHWI(  141): startPreview: X
E/QualcommCamera(  141): Qint android::start_preview(camera_device*): X
E/QCameraHWI(  141): processEvent: type :1 E
I/QCameraHWI(  141): processCtrlEvent: 0, E
I/QCameraHWI(  141): zoomEvent: state:2 E
I/QCameraHWI(  141): void android::QCameraHardwareInterface::handleZoomEventForPreview(app_notify_cb_t*): E
I/QCameraHWI(  141): void android::QCameraHardwareInterface::handleZoomEventForPreview(app_notify_cb_t*): Fetching crop info
I/QCameraHWI(  141): void android::QCameraHardwareInterface::handleZoomEventForPreview(app_notify_cb_t*): Crop info received: 0, 0, 0, 0
I/QCameraHWI(  141): void android::QCameraHardwareInterface::handleZoomEventForPreview(app_notify_cb_t*): Done setting crop
I/QCameraHWI(  141): void android::QCameraHardwareInterface::handleZoomEventForPreview(app_notify_cb_t*): Currrent zoom :0
I/QCameraHWI(  141): void android::QCameraHardwareInterface::handleZoomEventForPreview(app_notify_cb_t*): X
I/QCameraHWI(  141): zoomEvent: X
I/QCameraHWI(  141): processCtrlEvent: X
E/QCameraHWI(  141):  App_cb Notify 0x0, datacb=0x0
I/QCameraHWI(  141): processEvent: X
E/QCameraHWI(  141): processEvent: type :0 E
I/QCameraHWI(  141): processChannelEvent: E
I/QCameraHWI(  141): processPreviewChannelEvent: E
I/QCameraHWI(  141): processPreviewChannelEvent: X
I/QCameraHWI(  141): processChannelEvent: X
E/QCameraHWI(  141):  App_cb Notify 0x0, datacb=0x0
I/QCameraHWI(  141): processEvent: X
E/mm-camera(  158): vfe_aecawb_stats_update: AWB_AEC stats not enabled
E/mm-libcamera2(  141): mm_camera_stream_util_buf_done: Error Trying to free second time?(idx=0) count=0, stream type=1
E/QCameraHWI_Preview(  141): BUF DONE FAILED
E/mm-camera(  158): vfe_aecawb_stats_update: AWB_AEC stats not enabled
E/mm-libcamera2(  141): mm_camera_stream_util_buf_done: Error Trying to free second time?(idx=0) count=0, stream type=1
E/QCameraHWI_Preview(  141): BUF DONE FAILED
This should be fixed in bug 940424, which includes an automated test to make sure.
Depends on: 940424
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 970557
You need to log in before you can comment on or make changes to this bug.