Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.8.0, 5.9.0
-
None
-
-
f6d8fa50ff22418548e099a4a6e5dc7d6bb37287
Description
Consecutive camera image capture lead to crash.
The output displayed when the app freeze is:
QCameraImageCapture error: "The operation could not be completed An unknown error occurred (-16800) "
Full stack trace:
1 __psynch_cvwait 0x191420e1c 2 _pthread_cond_wait 0x1914e8814 3 QWaitConditionPrivate::wait(unsigned long) qwaitcondition_unix.cpp 143 0x10116c5ec 4 QWaitCondition::wait(QMutex *, unsigned long) qwaitcondition_unix.cpp 215 0x10116c56c 5 QSemaphore::acquire(int) qsemaphore.cpp 143 0x101160878 6 ::___ZN22AVFImageCaptureControl7captureERK7QString_block_invoke(CMSampleBufferRef, NSError *) avfimagecapturecontrol.mm 131 0x1002690a0 7 -[AVCaptureStillImageOutput handleNotification:payload:] 0x199e72afc 8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ 0x1923d530c 9 __CFRunLoopDoBlocks 0x1923d4b28 10 __CFRunLoopRun 0x1923d2e1c 11 CFRunLoopRunSpecific 0x192302da4 12 -[AVRunLoopCondition _waitInMode:untilDate:] 0x199e801e8 13 -[AVCaptureSession _stopFigCaptureSession] 0x199e68368 14 -[AVCaptureSession _setRunning:] 0x199e6852c 15 AVFCameraSession::setState(QCamera::State) avfcamerasession.mm 314 0x10026e62c 16 AVFCameraControl::setState(QCamera::State) avfcameracontrol.mm 73 0x1002671c8 17 QCameraPrivate::setState(QCamera::State) qcamera.cpp 125 0x1002b7978 18 QCamera::load() qcamera.cpp 858 0x1002b9cfc 19 QDeclarativeCamera::setCameraState(QDeclarativeCamera::State) qdeclarativecamera.cpp 598 0x10023bb9c 20 QDeclarativeCamera::stop() qdeclarativecamera.cpp 623 0x10023c3b0 21 QDeclarativeCamera::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *) moc_qdeclarativecamera_p.cpp 593 0x10023d0c4 22 QDeclarativeCamera::qt_metacall(QMetaObject::Call, int, void * *) moc_qdeclarativecamera_p.cpp 851 0x10023e2bc 23 QMetaObject::metacall(QObject *, QMetaObject::Call, int, void * *) qmetaobject.cpp 301 0x10134ffe4 24 QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void * *) const qqmlpropertycache.cpp 1719 0x100f53cc8 25 CallMethod(QQmlObjectOrGadget const&, int, int, int, int *, QV4::ExecutionEngine *, QV4::CallData *, QMetaObject::Call) qv4qobjectwrapper.cpp 1091 0x100e849fc 26 CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine *, QV4::CallData *, QMetaObject::Call) qv4qobjectwrapper.cpp 1341 0x100e83890 27 QV4::QObjectMethod::callInternal(QV4::CallData *, QV4::Scope&) const qv4qobjectwrapper.cpp 1831 0x100e83424 28 QV4::QObjectMethod::call(QV4::Managed const *, QV4::Scope&, QV4::CallData *) qv4qobjectwrapper.cpp 1760 0x100e82f38 29 QV4::Object::call(QV4::Scope&, QV4::CallData *) const qv4object_p.h 352 0x100ee5fe4 30 QV4::Runtime::method_callProperty(QV4::ExecutionEngine *, int, QV4::CallData *) qv4runtime.cpp 1034 0x100ea4a24 31 QV4::Moth::VME::run(QV4::ExecutionEngine *, unsigned const char *, void * * *) qv4vme_moth.cpp 587 0x100e99c2c 32 QV4::Moth::VME::exec(QV4::ExecutionEngine *, unsigned const char *) qv4vme_moth.cpp 980 0x100e9dc24 33 QV4::ScriptFunction::call(QV4::Managed const *, QV4::Scope&, QV4::CallData *) qv4functionobject.cpp 482 0x100df8e50 34 QV4::Object::call(QV4::Scope&, QV4::CallData *) const qv4object_p.h 352 0x100ee5fe4 35 QQmlJavaScriptExpression::evaluate(QV4::CallData *, bool *, QV4::Scope&) qqmljavascriptexpression.cpp 194 0x100f7ebfc 36 QQmlBoundSignalExpression::evaluate(void * *) qqmlboundsignal.cpp 240 0x100ef2894 37 QQmlBoundSignal_callback(QQmlNotifierEndpoint *, void * *) qqmlboundsignal.cpp 372 0x100ef2ea0 38 QQmlNotifier::emitNotify(QQmlNotifierEndpoint *, void * *) qqmlnotifier.cpp 106 0x100f5b1bc 39 QQmlData::signalEmitted(QAbstractDeclarativeData *, QObject *, int, void * *) qqmlengine.cpp 820 0x100eb96f4 40 QMetaObject::activate(QObject *, int, int, void * *) qobject.cpp 3617 0x10138d488 41 QMetaObject::activate(QObject *, QMetaObject const *, int, void * *) qobject.cpp 3602 0x10138d3ac 42 QQuickMouseArea::clicked(QQuickMouseEvent *) moc_qquickmousearea_p.cpp 642 0x10087fe1c 43 QQuickMouseArea::setPressed(Qt::MouseButton, bool, Qt::MouseEventSource) qquickmousearea.cpp 1224 0x10076fbe0 44 QQuickMouseArea::mouseReleaseEvent(QMouseEvent *) qquickmousearea.cpp 788 0x1007704f4 45 QQuickItem::event(QEvent *) qquickitem.cpp 7668 0x1006a5e7c 46 QCoreApplicationPrivate::notify_helper(QObject *, QEvent *) qcoreapplication.cpp 1122 0x10134875c 47 doNotify(QObject *, QEvent *) qcoreapplication.cpp 1063 0x10134831c 48 QCoreApplication::notify(QObject *, QEvent *) qcoreapplication.cpp 1049 0x101348390 49 QGuiApplication::notify(QObject *, QEvent *) qguiapplication.cpp 1666 0x1008ca390 50 EvalApplication::notify(QObject *, QEvent *) evalapplication_ios.mm 99 0x1000f9a64 51 QCoreApplication::notifyInternal2(QObject *, QEvent *) qcoreapplication.cpp 988 0x10134821c 52 QCoreApplication::sendEvent(QObject *, QEvent *) qcoreapplication.h 231 0x10032f264 53 QQuickWindowPrivate::deliverTouchAsMouse(QQuickItem *, QQuickPointerEvent *) qquickwindow.cpp 711 0x1006bc9a4 54 QQuickWindowPrivate::deliverMatchingPointsToItem(QQuickItem *, QQuickPointerEvent *, QSet<QQuickItem *> *) qquickwindow.cpp 2332 0x1006c483c 55 QQuickWindowPrivate::deliverUpdatedTouchPoints(QQuickPointerTouchEvent *, QSet<QQuickItem *> *) qquickwindow.cpp 2239 0x1006c3f80 56 QQuickWindowPrivate::deliverTouchEvent(QQuickPointerTouchEvent *) qquickwindow.cpp 2208 0x1006c3828 57 QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent *) qquickwindow.cpp 2138 0x1006c25b4 58 QQuickWindowPrivate::handleTouchEvent(QTouchEvent *) qquickwindow.cpp 1985 0x1006c08a8 59 QQuickWindow::event(QEvent *) qquickwindow.cpp 1522 0x1006c0404 60 QCoreApplicationPrivate::notify_helper(QObject *, QEvent *) qcoreapplication.cpp 1122 0x10134875c 61 doNotify(QObject *, QEvent *) qcoreapplication.cpp 1063 0x10134831c 62 QCoreApplication::notify(QObject *, QEvent *) qcoreapplication.cpp 1049 0x101348390 63 QGuiApplication::notify(QObject *, QEvent *) qguiapplication.cpp 1666 0x1008ca390 64 EvalApplication::notify(QObject *, QEvent *) evalapplication_ios.mm 99 0x1000f9a64 65 QCoreApplication::notifyInternal2(QObject *, QEvent *) qcoreapplication.cpp 988 0x10134821c 66 QCoreApplication::sendSpontaneousEvent(QObject *, QEvent *) qcoreapplication.h 234 0x1008d3980 67 QGuiApplicationPrivate::processTouchEvent(QWindowSystemInterfacePrivate::TouchEvent *) qguiapplication.cpp 2640 0x1008cc908 68 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent *) qguiapplication.cpp 1720 0x1008ca5dc 69 QWindowSystemInterfacePrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent *) qwindowsysteminterface.cpp 482 0x1008b640c 70 bool QWindowSystemInterfacePrivate::handleWindowSystemEvent<QWindowSystemInterface::SynchronousDelivery>(QWindowSystemInterfacePrivate::WindowSystemEvent *) qwindowsysteminterface.cpp 96 0x1008b63c0 71 void QWindowSystemInterface::handleTouchEvent<QWindowSystemInterface::SynchronousDelivery>(QWindow *, unsigned long, QTouchDevice *, QList<QWindowSystemInterface::TouchPoint> const&, QFlags<Qt::KeyboardModifier>) qwindowsysteminterface.cpp 602 0x1008b8814 72 ::-[QUIView sendTouchEventWithTimestamp:](ulong) quiview.mm 354 0x100323d64 73 ::-[QUIView touchesEnded:withEvent:](NSSet *, UIEvent *) quiview.mm 389 0x100324248 74 -[UIWindow _sendTouchesForEvent:] 0x198585390 75 -[UIWindow sendEvent:] 0x198580728 76 -[UIApplication sendEvent:] 0x19855133c 77 __dispatchPreprocessedEventFromEventQueue 0x198d4b014 78 __handleEventQueue 0x198d45770 79 __handleHIDEventFetcherDrain 0x198d45b9c 80 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 0x1923d542c 81 __CFRunLoopDoSources0 0x1923d4d9c 82 __CFRunLoopRun 0x1923d29a8 83 CFRunLoopRunSpecific 0x192302da4 84 GSEventRunModal 0x193d6c074 85 UIApplicationMain 0x1985b6058 86 ::qt_main_wrapper(int, char * *) qioseventdispatcher.mm 232 0x10030c8dc 87 start 0x19131159c
Attachments
Issue Links
- relates to
-
QTBUG-60329 QCameraImageCapture isn't working without QCameraViewfinder
- Closed
For Gerrit Dashboard: QTBUG-61367 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
197885,8 | AVFImageCaptureControl - do not block the capture's callback | 5.9 | qt/qtmultimedia | Status: MERGED | +2 | 0 |