Bug 462424 - Kamoso crash when no camera available
Summary: Kamoso crash when no camera available
Status: RESOLVED FIXED
Alias: None
Product: kamoso
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.04.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-11-30 04:21 UTC by xanijo3460
Modified: 2025-10-28 03:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xanijo3460 2022-11-30 04:21:27 UTC
Application: kamoso (22.04.1)

Qt Version: 5.15.6
Frameworks Version: 5.96.0
Operating System: Linux 5.18.7-200.fc36.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 36 (KDE Plasma)
DrKonqi: 5.25.3 [KCrashBackend]

-- Information about the crash:
Kamoso crashes when no camera available and tries to capture a burst/video Doesn't crash when taking a photo.

The crash can be reproduced every time.

-- Backtrace:
Application: Kamoso (kamoso), signal: Segmentation fault

[KCrash Handler]
#4  0x00005588288c5a4e in WebcamControl::playDevice(Device*) ()
#5  0x00005588288ca053 in Kamoso::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#6  0x00005588288ca46b in Kamoso::qt_metacall(QMetaObject::Call, int, void**) ()
#7  0x00007f73b5454115 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () at /lib64/libQt5Qml.so.5
#8  0x00007f73b5374fc8 in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) () at /lib64/libQt5Qml.so.5
#9  0x00007f73b53755c3 in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) () at /lib64/libQt5Qml.so.5
#10 0x00007f73b5375723 in QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) () at /lib64/libQt5Qml.so.5
#11 0x00007f73b52fc907 in QV4::Lookup::setterFallback(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value&, QV4::Value const&) () at /lib64/libQt5Qml.so.5
#12 0x00007f73b538ff2f in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () at /lib64/libQt5Qml.so.5
#13 0x00007f73b5394077 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () at /lib64/libQt5Qml.so.5
#14 0x00007f73b5325586 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /lib64/libQt5Qml.so.5
#15 0x00007f73b54b4391 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /lib64/libQt5Qml.so.5
#16 0x00007f73b5464d1f in QQmlBoundSignalExpression::evaluate(void**) () at /lib64/libQt5Qml.so.5
#17 0x00007f73b54664a8 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () at /lib64/libQt5Qml.so.5
#18 0x00007f73b54993df in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib64/libQt5Qml.so.5
#19 0x00007f73b3d4b680 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#20 0x00007f73a0fe47e6 in QQuickAction::checkedChanged(bool) () at /lib64/libQt5QuickTemplates2.so.5
#21 0x00007f73a0fea56e in QQuickAbstractButton::setChecked(bool) () at /lib64/libQt5QuickTemplates2.so.5
#22 0x00007f73a0fea633 in QQuickAbstractButtonPrivate::toggle(bool) () at /lib64/libQt5QuickTemplates2.so.5
#23 0x00007f73a0fea0d6 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () at /lib64/libQt5QuickTemplates2.so.5
#24 0x00007f73a10049e9 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5QuickTemplates2.so.5
#25 0x00007f73b5a3dc28 in QQuickItem::event(QEvent*) () at /lib64/libQt5Quick.so.5
#26 0x00007f73b4889d02 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#27 0x00007f73b3d181c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#28 0x00007f73b5a58cee in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () at /lib64/libQt5Quick.so.5
#29 0x00007f73b5a5a3a1 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () at /lib64/libQt5Quick.so.5
#30 0x00007f73b42164f5 in QWindow::event(QEvent*) () at /lib64/libQt5Gui.so.5
#31 0x00007f73b4889d02 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#32 0x00007f73b3d181c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#33 0x00007f73b420ae7d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#34 0x00007f73b41ea02c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#35 0x00007f73b158f414 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5WaylandClient.so.5
#36 0x00007f73b37dafaf in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#37 0x00007f73b38302c8 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#38 0x00007f73b37d8940 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#39 0x00007f73b3d6902a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#40 0x00007f73b3d16c1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#41 0x00007f73b3d1ece2 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#42 0x00005588288c15d5 in main ()
[Inferior 1 (process 263989) detached]

The reporter indicates this bug may be a duplicate of or related to bug 255964, bug 212271, bug 459700.

Reported using DrKonqi