> [Parent 267] ###!!! ASSERTION: Only for chrome!: > 'nsContentUtils::IsCallerChrome()'
The above seems not related camera preview. It seems a different problem. Actual problematic log seems the following. > 01-02 01:16:43.284 I/Gecko ( 805): dequeueBuffer: MIN_UNDEQUEUED_BUFFERS=2 > exceeded (dequeued=6) > 01-02 01:16:43.284 E/QCameraHWI_Preview( 281): android::status_t > android::QCameraStream_preview::processPreviewFrameWithDisplay(mm_camera_ch_data_buf_t*): > error in dequeue_buffer, enqueue_buffer idx = 4, no free buffer now >01-02 01:16:43.334 I/Gecko ( 805): dequeueBuffer: MIN_UNDEQUEUED_BUFFERS=2 >exceeded (dequeued=5) The following seems to happened. - camra hal dequeued too much buffers from ANativeWindow(GonkNativeWindow). - GonkNativeWindow return error - Camera hal failed to dequeue buffer from ANativeWindow and stop preview. http://mxr.mozilla.org/mozilla-central/source/widget/gonk/nativewindow/GonkNativeWindowICS.cpp#272 Sotaro ----- Original Message ----- From: "nimesh chanchani" <[email protected]> To: [email protected], [email protected] Sent: Friday, August 23, 2013 8:30:29 AM Subject: [b2g] Camera preview not working I have ported Firefox OS on Snapdragon 8060A board. I'm able to take photos using the camera module, but the preview is not showing up. I got this log, which suggests something should be called from the chrome ( b2g?) process , but is being called from elsewhere.. any sugessions as to whats going wrong and are is there some integration point that i missed out on? look for the Assert: Only for chrome 01-02 01:16:43.064 E/QualcommCamera( 281): Qint android::start_preview(camera_device*): X 01-02 01:16:43.064 E/QCameraHWI( 281): processEvent: type :1 E 01-02 01:16:43.064 I/QCameraHWI( 281): processCtrlEvent: 0, E 01-02 01:16:43.064 I/QCameraHWI( 281): zoomEvent: state:2 E 01-02 01:16:43.064 I/QCameraHWI( 281): void android::QCameraHardwareInterface::handleZoomEventForPreview(app_notify_cb_t*): E 01-02 01:16:43.064 I/QCameraHWI( 281): void android::QCameraHardwareInterface::handleZoomEventForPreview(app_notify_cb_t*): Fetching crop info 01-02 01:16:43.064 I/QCameraHWI( 281): void android::QCameraHardwareInterface::handleZoomEventForPreview(app_notify_cb_t*): Crop info received: 0, 0, 0, 0 01-02 01:16:43.064 I/QCameraHWI( 281): void android::QCameraHardwareInterface::handleZoomEventForPreview(app_notify_cb_t*): Done setting crop 01-02 01:16:43.064 I/QCameraHWI( 281): void android::QCameraHardwareInterface::handleZoomEventForPreview(app_notify_cb_t*): Currrent zoom :0 01-02 01:16:43.064 I/QCameraHWI( 281): void android::QCameraHardwareInterface::handleZoomEventForPreview(app_notify_cb_t*): X 01-02 01:16:43.064 I/QCameraHWI( 281): zoomEvent: X 01-02 01:16:43.064 I/QCameraHWI( 281): processCtrlEvent: X 01-02 01:16:43.064 E/QCameraHWI( 281): App_cb Notify 0x0, datacb=0x0 01-02 01:16:43.064 I/QCameraHWI( 281): processEvent: X 01-02 01:16:43.064 E/QCameraHWI( 281): processEvent: type :0 E 01-02 01:16:43.064 I/QCameraHWI( 281): processChannelEvent: E 01-02 01:16:43.064 I/QCameraHWI( 281): processPreviewChannelEvent: E 01-02 01:16:43.064 I/QCameraHWI( 281): processPreviewChannelEvent: X 01-02 01:16:43.064 I/QCameraHWI( 281): processChannelEvent: X 01-02 01:16:43.064 E/QCameraHWI( 281): App_cb Notify 0x0, datacb=0x0 01-02 01:16:43.064 I/QCameraHWI( 281): processEvent: X 01-02 01:16:43.154 I/Gecko ( 267): [Parent 267] ###!!! ASSERTION: Only for chrome!: 'nsContentUtils::IsCallerChrome()', file /home/nimesh/snapdragon-gnaneshwar/APQ8060A_M8960AAAAANLYA1519249_V_13/gecko/dom/indexedDB/IDBFactory.cpp, line 170 01-02 01:16:43.154 I/Gecko ( 267): [Parent 267] ###!!! ASSERTION: Null window but not chrome!: 'nsContentUtils::IsCallerChrome()', file /home/nimesh/snapdragon-gnaneshwar/APQ8060A_M8960AAAAANLYA1519249_V_13/gecko/dom/quota/QuotaManager.cpp, line 1077 01-02 01:16:43.284 I/Gecko ( 805): dequeueBuffer: MIN_UNDEQUEUED_BUFFERS=2 exceeded (dequeued=6) 01-02 01:16:43.284 E/QCameraHWI_Preview( 281): android::status_t android::QCameraStream_preview::processPreviewFrameWithDisplay(mm_camera_ch_data_buf_t*): error in dequeue_buffer, enqueue_buffer idx = 4, no free buffer now 01-02 01:16:43.334 I/Gecko ( 805): dequeueBuffer: MIN_UNDEQUEUED_BUFFERS=2 exceeded (dequeued=5) ________________________________ This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. ______________________________________________________________________________________ www.accenture.com _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
