Bug 442719 - Silent failure to activate a monitor in a multi-screen configuration crashes in KScreen::Mode::size() when changing frequency for failed monitor
Summary: Silent failure to activate a monitor in a multi-screen configuration crashes ...
Status: RESOLVED DUPLICATE of bug 416005
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.22.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-09-20 03:03 UTC by Arcadiy Ivanov
Modified: 2022-11-12 14:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arcadiy Ivanov 2021-09-20 03:03:50 UTC
Application: kcmshell5 (5.22.4)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.13.16-200.fc34.x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.22.4
Distribution: "Fedora release 34 (Thirty Four)"

-- Information about the crash:
- What I was doing when the application crashed:
Three monitor system: laptop, horizontal and a vertical monitors. The monitors are connected via TB3 dock to the laptop. Activate one monitor - success. Second - silent failure, monitor stays off. Try to change Hz on the monitor that failed to activate. Crash.

- Unusual behavior I noticed:
Silent failures to activate a monitor with no error messages. This issue is intermittent on the same hardware and software. I wasn't able to pinpoint when it goes away or comes back.

The crash can be reproduced sometimes.

-- Backtrace:
Application: System Settings Module (kcmshell5), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f12f050f234 in KScreen::Mode::size() const () from /lib64/libKF5Screen.so.7
#5  0x00007f12f07c3874 in OutputModel::setData(QModelIndex const&, QVariant const&, int) () from /usr/lib64/qt5/plugins/kcms/kcm_kscreen.so
#6  0x00007f13048ef305 in QQmlDMAbstractItemModelData::setValue(int, QVariant const&) () from /lib64/libQt5QmlModels.so.5
#7  0x00007f13048e9b1c in QQmlDMCachedModelData::metaCall(QMetaObject::Call, int, void**) () from /lib64/libQt5QmlModels.so.5
#8  0x00007f1305e12935 in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const () from /lib64/libQt5Qml.so.5
#9  0x00007f1305d53ffb in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) () from /lib64/libQt5Qml.so.5
#10 0x00007f1305d54733 in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) () from /lib64/libQt5Qml.so.5
#11 0x00007f1305d548cf in QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) () from /lib64/libQt5Qml.so.5
#12 0x00007f1305d2e6ff in QV4::Object::virtualResolveLookupSetter(QV4::Object*, QV4::ExecutionEngine*, QV4::Lookup*, QV4::Value const&) () from /lib64/libQt5Qml.so.5
#13 0x00007f1305d6cef1 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#14 0x00007f1305d70b35 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) [clone .part.0] () from /lib64/libQt5Qml.so.5
#15 0x00007f1305d136fe in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#16 0x00007f1305e6d511 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#17 0x00007f1305e28701 in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#18 0x00007f1305e2a133 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#19 0x00007f1305e4d765 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#20 0x00007f1306def232 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#21 0x00007f12f3836942 in QQuickComboBox::activated(int) () from /lib64/libQt5QuickTemplates2.so.5
#22 0x00007f12f37bb6c8 in QQuickComboBoxPrivate::hidePopup(bool) () from /lib64/libQt5QuickTemplates2.so.5
#23 0x00007f1306def3a9 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#24 0x00007f12f37afea1 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () from /lib64/libQt5QuickTemplates2.so.5
#25 0x00007f12f37ca6f9 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickTemplates2.so.5
#26 0x00007f130624fe09 in QQuickItem::event(QEvent*) () from /lib64/libQt5Quick.so.5
#27 0x00007f1307a25443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#28 0x00007f1306dbb798 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#29 0x00007f130625e055 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib64/libQt5Quick.so.5
#30 0x00007f130625e9e3 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib64/libQt5Quick.so.5
#31 0x00007f13073ad435 in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#32 0x00007f1307a25443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#33 0x00007f1306dbb798 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#34 0x00007f130671f94b in QQuickWidget::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickWidgets.so.5
#35 0x00007f1307a67e7e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#36 0x00007f1307a25443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#37 0x00007f1307a2d074 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#38 0x00007f1306dbb798 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#39 0x00007f1307a2bb57 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#40 0x00007f1307a81450 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#41 0x00007f1307a846e5 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#42 0x00007f1307a25443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#43 0x00007f1306dbb798 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#44 0x00007f13073a1ba8 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#45 0x00007f1307381c9c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#46 0x00007f12f456e11e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#47 0x00007f1304ef14cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#48 0x00007f1304f454f8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#49 0x00007f1304eeec03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#50 0x00007f1306e0cb78 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#51 0x00007f1306dba1a2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#52 0x00007f1306dc26e4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#53 0x000055783401989f in main ()
[Inferior 1 (process 29764) detached]

Possible duplicates by query: bug 371479, bug 347451, bug 343065, bug 340631, bug 328174.

Reported using DrKonqi
This report was filed against 'kde' because the product 'kcmshell5' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 Nate Graham 2022-11-08 22:22:03 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Plasma 5.25 or 5.26?

If it is, please add a comment with the output of `kscreen-doctor -o` and change the status to CONFIRMED. If not, or if you can't because you no longer use this setup, you can change the status to RESOLVED WORKSFORME. Thanks a lot!
Comment 2 Arcadiy Ivanov 2022-11-09 02:37:44 UTC
I think this issue has been resolved.
Comment 3 Nate Graham 2022-11-12 14:58:30 UTC

*** This bug has been marked as a duplicate of bug 416005 ***