Bug 416005 - Crash while adjusting monitor layout and refresh rate in kscreen
Summary: Crash while adjusting monitor layout and refresh rate in kscreen
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kscreen (show other bugs)
Version: 5.18.3
Platform: Fedora RPMs Linux
: HI crash
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
: 419876 421805 429111 433886 438570 442719 444067 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-01-08 15:56 UTC by Arcadiy Ivanov
Modified: 2022-11-12 15:34 UTC (History)
17 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.24
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (11.90 KB, text/plain)
2020-03-26 06:12 UTC, Bernie Innocenti
Details
New crash information added by DrKonqi (3.83 KB, text/plain)
2020-06-30 01:09 UTC, yo
Details
New crash information added by DrKonqi (11.70 KB, text/plain)
2020-08-12 17:26 UTC, cassiopgodinho
Details
New crash information added by DrKonqi (6.14 KB, text/plain)
2020-10-31 13:57 UTC, William Oprandi
Details
New crash information added by DrKonqi (15.80 KB, text/plain)
2020-11-06 00:32 UTC, TraceyC
Details
New crash information added by DrKonqi (12.04 KB, text/plain)
2020-11-17 08:33 UTC, blake
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arcadiy Ivanov 2020-01-08 15:56:57 UTC
Application: kcmshell5 (5.17.4)

Qt Version: 5.12.5
Frameworks Version: 5.64.0
Operating System: Linux 5.4.8-200.fc31.x86_64 x86_64
Distribution: "Fedora release 31 (Thirty One)"

-- Information about the crash:
- What I was doing when the application crashed:
Trying to enable and arrange external TB3 monitors. The monitors would list, but would not enable. While selecting refresh rate, the dialog crashed.

- Unusual behavior I noticed:
KScreen on occasion fails to enable the monitors, i.e. apply doesn't do anything, even though the monitor configuration/status does not get reset after failure to apply.

-- Backtrace:
Application: System Settings Module (kcmshell5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f72c9d52800 (LWP 118499))]

Thread 5 (Thread 0x7f72af2ed700 (LWP 118503)):
#0  0x00007f72cd3a4d45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f72af7db19b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f72af7dadab in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f72cd39e4e2 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f72cf9f2693 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f72b66bf700 (LWP 118502)):
#0  0x00007f72ce5344e0 in QTimerInfoList::timerWait(timespec&) () from /lib64/libQt5Core.so.5
#1  0x00007f72ce535a54 in timerSourcePrepareHelper(GTimerSource*, int*) () from /lib64/libQt5Core.so.5
#2  0x00007f72ce535b02 in timerSourcePrepare(_GSource*, int*) () from /lib64/libQt5Core.so.5
#3  0x00007f72cc7bed8a in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#4  0x00007f72cc7bf73b in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#5  0x00007f72cc7bf943 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#6  0x00007f72ce535da3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f72ce4dfcfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#8  0x00007f72ce3383a5 in QThread::exec() () from /lib64/libQt5Core.so.5
#9  0x00007f72cd8c5119 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#10 0x00007f72ce3394f6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#11 0x00007f72cd39e4e2 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f72cf9f2693 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f72b799f700 (LWP 118501)):
#0  0x00007f72cf9e7a6f in poll () from /lib64/libc.so.6
#1  0x00007f72cc7bf80e in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f72cc7bf943 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f72ce535da3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f72ce4dfcfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f72ce3383a5 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f72cf438f4a in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007f72ce3394f6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f72cd39e4e2 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f72cf9f2693 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f72bca26700 (LWP 118500)):
#0  0x00007f72cf9e7a6f in poll () from /lib64/libc.so.6
#1  0x00007f72cd07938a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f72cd07afea in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f72bcc1dac8 in QXcbEventQueue::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f72ce3394f6 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f72cd39e4e2 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f72cf9f2693 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f72c9d52800 (LWP 118499)):
[KCrash Handler]
#6  0x00007f72b6713194 in KScreen::Mode::size() const () from /lib64/libKF5Screen.so.7
#7  0x00007f72b6774c88 in OutputModel::setRefreshRate(int, int) () from /usr/lib64/qt5/plugins/kcms/kcm_kscreen.so
#8  0x00007f72b6778f1d in OutputModel::setData(QModelIndex const&, QVariant const&, int) () from /usr/lib64/qt5/plugins/kcms/kcm_kscreen.so
#9  0x00007f72cd641828 in QQmlDMCachedModelData::metaCall(QMetaObject::Call, int, void**) () from /lib64/libQt5Qml.so.5
#10 0x00007f72cd81ea80 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () from /lib64/libQt5Qml.so.5
#11 0x00007f72cd75a30c in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) () from /lib64/libQt5Qml.so.5
#12 0x00007f72cd75ad8e in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) () from /lib64/libQt5Qml.so.5
#13 0x00007f72cd75aee1 in QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) () from /lib64/libQt5Qml.so.5
#14 0x00007f72cd71e4ac in QV4::Object::virtualResolveLookupSetter(QV4::Object*, QV4::ExecutionEngine*, QV4::Lookup*, QV4::Value const&) () from /lib64/libQt5Qml.so.5
#15 0x00007f72cd7737dd in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#16 0x00007f72cd778557 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#17 0x00007f72cd7058ff in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#18 0x00007f72cd88ec07 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#19 0x00007f72cd82da5c in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#20 0x00007f72cd82ec28 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#21 0x00007f72cd871d9d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#22 0x00007f72cd80dde5 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /lib64/libQt5Qml.so.5
#23 0x00007f72ce50a8d3 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#24 0x00007f72b7e9e402 in QQuickComboBox::activated(int) () from /lib64/libQt5QuickTemplates2.so.5
#25 0x00007f72b7e38470 in QQuickComboBoxPrivate::hidePopup(bool) () from /lib64/libQt5QuickTemplates2.so.5
#26 0x00007f72ce50b010 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#27 0x00007f72b7e29018 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () from /lib64/libQt5QuickTemplates2.so.5
#28 0x00007f72b7e46959 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickTemplates2.so.5
#29 0x00007f72cdc7db58 in QQuickItem::event(QEvent*) () from /lib64/libQt5Quick.so.5
#30 0x00007f72cee45ad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#31 0x00007f72cee4f150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#32 0x00007f72ce4e0df8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#33 0x00007f72cdc98a1d in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib64/libQt5Quick.so.5
#34 0x00007f72cdc99e91 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib64/libQt5Quick.so.5
#35 0x00007f72cdc9ab59 in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Quick.so.5
#36 0x00007f72ce8bca9d in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#37 0x00007f72cdc9c089 in QQuickWindow::event(QEvent*) () from /lib64/libQt5Quick.so.5
#38 0x00007f72cee45ad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#39 0x00007f72cee4f150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#40 0x00007f72ce4e0df8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#41 0x00007f72ce07ab0b in QQuickWidget::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickWidgets.so.5
#42 0x00007f72cee8834e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#43 0x00007f72ce07acb3 in QQuickWidget::event(QEvent*) () from /lib64/libQt5QuickWidgets.so.5
#44 0x00007f72cee45ad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#45 0x00007f72cee4f3a3 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#46 0x00007f72ce4e0df8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#47 0x00007f72cee4e4b7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#48 0x00007f72ceea40dd in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#49 0x00007f72ceea6f6c in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#50 0x00007f72cee45ad6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#51 0x00007f72cee4f150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#52 0x00007f72ce4e0df8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#53 0x00007f72ce8b2c43 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#54 0x00007f72ce8b446b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib64/libQt5Gui.so.5
#55 0x00007f72ce89056b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#56 0x00007f72bcc1eb5e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#57 0x00007f72cc7bf510 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#58 0x00007f72cc7bf8a0 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#59 0x00007f72cc7bf943 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#60 0x00007f72ce535d85 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#61 0x00007f72ce4dfcfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#62 0x00007f72ce4e7a26 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#63 0x00007f72cfac4721 in kdemain () from /lib64/libkdeinit5_kcmshell5.so
#64 0x00007f72cf9181a3 in __libc_start_main () from /lib64/libc.so.6
#65 0x00005587e4caf0ae in _start ()
[Inferior 1 (process 118499) detached]

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

Report to https://bugs.kde.org/
Comment 1 Bernie Innocenti 2020-03-26 06:12:46 UTC
Created attachment 127018 [details]
New crash information added by DrKonqi

systemsettings5 (5.18.3) using Qt 5.13.2

- What I was doing when the application crashed:

1. Attached external monitor to laptop
2. Turned off the main LCD panel on the laptop
3. Adjusted "Refresh rate" of the external monitor from 60Hz to 120Hz
4. System Settings crashed at this point (see setRefreshRate() in the stack trace)

-- Backtrace (Reduced):
#11 0x00007fffc622cc24 in KScreen::Mode::size() const () from /lib64/libKF5Screen.so.7
#12 0x00007fffc62c0b2a in OutputModel::setRefreshRate(int, int) () from /usr/lib64/qt5/plugins/kcms/kcm_kscreen.so
#13 0x00007ffff5a08e0d in QQmlDMCachedModelData::metaCall(QMetaObject::Call, int, void**) () from /lib64/libQt5Qml.so.5
#14 0x00007ffff5bbf3e0 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () from /lib64/libQt5Qml.so.5
#15 0x00007ffff5b0385b in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) () from /lib64/libQt5Qml.so.5
Comment 2 . 2020-03-31 15:30:33 UTC
Here is a full backtrace

-- Backtrace
[KCrash Handler]
#6  KScreen::Mode::size (this=0x0) at /usr/src/debug/libkscreen2-5.18.3-1.1.x86_64/src/mode.cpp:102
#7  0x00007f25058d0bdd in OutputModel::<lambda(const ModePtr&)>::operator() (mode=..., __closure=0x7ffcd06a7f40) at /usr/include/qt5/QtCore/qsharedpointer_impl.h:306
#8  __gnu_cxx::__ops::_Iter_pred<OutputModel::setRefreshRate(int, int)::<lambda(const ModePtr&)> >::operator()<QMap<QString, QSharedPointer<KScreen::Mode> >::const_iterator> (__it=..., this=0x7ffcd06a7f40) at /usr/include/c++/9/bits/predefined_ops.h:283
#9  std::__find_if<QMap<QString, QSharedPointer<KScreen::Mode> >::const_iterator, __gnu_cxx::__ops::_Iter_pred<OutputModel::setRefreshRate(int, int)::<lambda(const ModePtr&)> > > (__pred=..., __last=..., __first=...) at /usr/include/c++/9/bits/stl_algo.h:104
#10 std::__find_if<QMap<QString, QSharedPointer<KScreen::Mode> >::const_iterator, __gnu_cxx::__ops::_Iter_pred<OutputModel::setRefreshRate(int, int)::<lambda(const ModePtr&)> > > (__pred=..., __last=..., __first=...) at /usr/include/c++/9/bits/stl_algo.h:161
#11 std::find_if<QMap<QString, QSharedPointer<KScreen::Mode> >::const_iterator, OutputModel::setRefreshRate(int, int)::<lambda(const ModePtr&)> > (__pred=..., __last=..., __first=...) at /usr/include/c++/9/bits/stl_algo.h:3961
#12 OutputModel::setRefreshRate (refIndex=<optimized out>, outputIndex=0, this=0x55a08b4ff750) at /usr/src/debug/kscreen5-5.18.3-1.1.x86_64/kcm/output_model.cpp:375
#13 OutputModel::setData (this=this@entry=0x55a08b4ff750, index=..., value=..., role=role@entry=269) at /usr/src/debug/kscreen5-5.18.3-1.1.x86_64/kcm/output_model.cpp:139
#14 0x00007f250a5d9788 in QQmlDMAbstractItemModelData::setValue (value=..., role=269, this=0x55a08d7194c0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qmlmodels/qqmladaptormodel.cpp:419
#15 QQmlDMCachedModelData::metaCall (this=0x55a08d7194c0, call=<optimized out>, id=<optimized out>, arguments=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qmlmodels/qqmladaptormodel.cpp:296
#16 0x00007f250bb1b770 in QQmlPropertyData::writeProperty (flags=..., value=0x7ffcd06a81c0, target=0x55a08d7194c0, this=0x55a0885df118) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/include/QtQml/5.14.1/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:290
#17 QQmlPropertyPrivate::write (object=object@entry=0x55a08d7194c0, property=..., value=..., context=<optimized out>, flags=..., flags@entry=...) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/qml/qqmlproperty.cpp:1282
#18 0x00007f250ba4865c in QV4::QObjectWrapper::setProperty (engine=engine@entry=0x55a088488160, object=object@entry=0x55a08d7194c0, property=0x55a0885df118, value=...) at /usr/include/qt5/QtCore/qflags.h:119
#19 0x00007f250ba490de in QV4::QObjectWrapper::setQmlProperty (value=..., revisionMode=QV4::QObjectWrapper::IgnoreRevision, name=<optimized out>, object=0x55a08d7194c0, qmlContext=<optimized out>, engine=0x55a088488160) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:435
#20 QV4::QObjectWrapper::setQmlProperty (engine=0x55a088488160, qmlContext=<optimized out>, object=0x55a08d7194c0, name=<optimized out>, revisionMode=QV4::QObjectWrapper::IgnoreRevision, value=...) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4qobjectwrapper.cpp:418
#21 0x00007f250ba49257 in QV4::QObjectWrapper::virtualPut (m=0x7f2504be0550, id=..., value=..., receiver=0x7f2504be0550) at /usr/include/c++/9/bits/atomic_base.h:413
#22 0x00007f250ba0d824 in QV4::Object::put (receiver=0x7f2504be0550, v=..., id=..., this=0x7f2504be0550) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/include/QtQml/5.14.1/QtQml/private/../../../../../src/qml/memory/qv4heap_p.h:73
#23 QV4::Object::virtualResolveLookupSetter (object=0x7f2504be0550, engine=0x55a088488160, lookup=0x55a08ba523c0, value=...) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4object.cpp:804
#24 0x00007f250ba626ce in QV4::Moth::VME::interpret (frame=0x7ffcd06a8560, engine=0x55a088488160, code=0x7f24f7face21 "\016\002") at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4vme_moth.cpp:653
#25 0x00007f250ba67867 in QV4::Moth::VME::exec (frame=frame@entry=0x7ffcd06a8560, engine=engine@entry=0x55a088488160) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4vme_moth.cpp:463
#26 0x00007f250b9f886d in QV4::Function::call (this=this@entry=0x55a08c08d7d0, thisObject=<optimized out>, argv=argv@entry=0x7f2504be0508, argc=<optimized out>, context=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/jsruntime/qv4function.cpp:69
#27 0x00007f250bb82d27 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x55a08c0d50f0, callData=callData@entry=0x7f2504be04d8, isUndefined=isUndefined@entry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/include/QtQml/5.14.1/QtQml/private/../../../../../src/qml/jsruntime/qv4value_p.h:343
#28 0x00007f250bb2a9ee in QQmlBoundSignalExpression::evaluate (this=<optimized out>, a=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/include/QtQml/5.14.1/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#29 0x00007f250bb2ba68 in QQmlBoundSignal_callback (e=0x55a08c0cf130, a=0x7ffcd06aa260) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/include/QtQml/5.14.1/QtQml/private/../../../../../src/qml/qml/qqmlboundsignalexpressionpointer_p.h:69
#30 0x00007f250bb6482d in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x7ffcd06aa260) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/qml/qqmlnotifier.cpp:104
#31 0x00007f250bb0dcf4 in QQmlData::signalEmitted (object=0x55a08c2c4f40, index=61, a=0x7ffcd06aa260) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/qml/qml/qqmlengine.cpp:858
#32 0x00007f250c8f0585 in doActivate<false> (sender=0x55a08c2c4f40, signal_index=61, argv=0x7ffcd06aa260) at kernel/qobject_p.h:110
#33 0x00007f250c8eb1bf in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd06aa260) at kernel/qobject.cpp:3930
#34 0x00007f2506f0b9ee in QQuickComboBox::activated (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qquickcombobox_p.cpp:740
#35 0x00007f2506f82c48 in QQuickComboBoxPrivate::hidePopup (this=0x55a08b9cb370, accept=<optimized out>) at qquickcombobox.cpp:323
#36 0x00007f250c8f09fe in QtPrivate::QSlotObjectBase::call (a=0x7ffcd06aa340, r=0x55a08c2c4f40, this=0x55a08d7ce680) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#37 doActivate<false> (sender=0x55a088380780, signal_index=64, argv=0x7ffcd06aa340) at kernel/qobject.cpp:3870
#38 0x00007f2506f90908 in QQuickAbstractButtonPrivate::handleRelease (this=0x55a088357630, point=...) at qquickabstractbutton.cpp:180
#39 0x00007f2506f70f75 in QQuickControl::mouseReleaseEvent (this=<optimized out>, event=0x7ffcd06aabc0) at /usr/include/qt5/QtGui/qevent.h:128
#40 0x00007f250bf8b208 in QQuickItem::event (this=0x55a088380780, ev=0x7ffcd06aabc0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/items/qquickitem.cpp:8089
#41 0x00007f250d3c3caf in QApplicationPrivate::notify_helper (this=this@entry=0x55a088306280, receiver=receiver@entry=0x55a088380780, e=e@entry=0x7ffcd06aabc0) at kernel/qapplication.cpp:3684
#42 0x00007f250d3ccdf0 in QApplication::notify (this=0x7ffcd06abb70, receiver=0x55a088380780, e=0x7ffcd06aabc0) at kernel/qapplication.cpp:3430
#43 0x00007f250c8bc002 in QCoreApplication::notifyInternal2 (receiver=0x55a088380780, event=0x7ffcd06aabc0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#44 0x00007f250bfa64ed in QQuickWindowPrivate::deliverMouseEvent (this=this@entry=0x55a088508ea0, pointerEvent=0x55a08d766a70) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/items/qquickwindow.cpp:1891
#45 0x00007f250bfa7be7 in QQuickWindowPrivate::deliverPointerEvent (this=this@entry=0x55a088508ea0, event=0x55a08d766a70) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/items/qquickwindow.cpp:2454
#46 0x00007f250bfa8985 in QQuickWindowPrivate::handleMouseEvent (event=0x7ffcd06aabc0, this=0x55a088508ea0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/items/qquickwindow.cpp:2317
#47 QQuickWindowPrivate::handleMouseEvent (this=0x55a088508ea0, event=0x7ffcd06aabc0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/items/qquickwindow.cpp:2270
#48 0x00007f250ccde45d in QWindow::event (this=this@entry=0x55a0886ee900, ev=ev@entry=0x7ffcd06aabc0) at kernel/qwindow.cpp:2359
#49 0x00007f250bfaa3a9 in QQuickWindow::event (this=0x55a0886ee900, e=0x7ffcd06aabc0) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quick/items/qquickwindow.cpp:1773
#50 0x00007f250d3c3caf in QApplicationPrivate::notify_helper (this=this@entry=0x55a088306280, receiver=receiver@entry=0x55a0886ee900, e=e@entry=0x7ffcd06aabc0) at kernel/qapplication.cpp:3684
#51 0x00007f250d3ccdf0 in QApplication::notify (this=0x7ffcd06abb70, receiver=0x55a0886ee900, e=0x7ffcd06aabc0) at kernel/qapplication.cpp:3430
#52 0x00007f250c8bc002 in QCoreApplication::notifyInternal2 (receiver=0x55a0886ee900, event=0x7ffcd06aabc0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#53 0x00007f250c434c37 in QQuickWidget::mouseReleaseEvent (this=<optimized out>, e=0x7ffcd06ab200) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quickwidgets/qquickwidget.cpp:1398
#54 0x00007f250d4065be in QWidget::event (this=this@entry=0x55a088501640, event=event@entry=0x7ffcd06ab200) at kernel/qwidget.cpp:8675
#55 0x00007f250c434de3 in QQuickWidget::event (this=0x55a088501640, e=0x7ffcd06ab200) at /usr/src/debug/libqt5-qtdeclarative-5.14.1-1.3.x86_64/src/quickwidgets/qquickwidget.cpp:1551
#56 0x00007f250d3c3caf in QApplicationPrivate::notify_helper (this=this@entry=0x55a088306280, receiver=receiver@entry=0x55a088501640, e=e@entry=0x7ffcd06ab200) at kernel/qapplication.cpp:3684
#57 0x00007f250d3cd043 in QApplication::notify (this=<optimized out>, receiver=0x55a088501640, e=0x7ffcd06ab200) at kernel/qapplication.cpp:3128
#58 0x00007f250c8bc002 in QCoreApplication::notifyInternal2 (receiver=0x55a088501640, event=0x7ffcd06ab200) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#59 0x00007f250d3cc123 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55a088501640, event=event@entry=0x7ffcd06ab200, alienWidget=alienWidget@entry=0x55a088501640, nativeWidget=0x7f24f800b920, buttonDown=buttonDown@entry=0x7f250d8f39a0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#60 0x00007f250d4215f9 in QWidgetWindow::handleMouseEvent (this=0x55a088dff290, event=0x7ffcd06ab680) at /usr/include/c++/9/bits/atomic_base.h:413
#61 0x00007f250d424694 in QWidgetWindow::event (event=0x7ffcd06ab680, this=0x55a088dff290) at kernel/qwidgetwindow.cpp:295
#62 QWidgetWindow::event (this=0x55a088dff290, event=0x7ffcd06ab680) at kernel/qwidgetwindow.cpp:238
#63 0x00007f250d3c3caf in QApplicationPrivate::notify_helper (this=this@entry=0x55a088306280, receiver=receiver@entry=0x55a088dff290, e=e@entry=0x7ffcd06ab680) at kernel/qapplication.cpp:3684
#64 0x00007f250d3ccdf0 in QApplication::notify (this=0x7ffcd06abb70, receiver=0x55a088dff290, e=0x7ffcd06ab680) at kernel/qapplication.cpp:3430
#65 0x00007f250c8bc002 in QCoreApplication::notifyInternal2 (receiver=0x55a088dff290, event=0x7ffcd06ab680) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153
#66 0x00007f250ccd34d3 in QGuiApplicationPrivate::processMouseEvent (e=e@entry=0x55a08dd348c0) at kernel/qguiapplication.cpp:2209
#67 0x00007f250ccd4b65 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55a08dd348c0) at kernel/qguiapplication.cpp:1941
#68 0x00007f250ccae53b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1163
#69 0x00007f2507cb2a6a in xcbSourceDispatch (source=source@entry=0x55a088432fb0) at qxcbeventdispatcher.cpp:105
#70 0x00007f250ab0d008 in g_main_dispatch (context=0x7f2500005000) at ../glib/gmain.c:3216
#71 g_main_context_dispatch (context=context@entry=0x7f2500005000) at ../glib/gmain.c:3881
#72 0x00007f250ab0d390 in g_main_context_iterate (context=context@entry=0x7f2500005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3954
#73 0x00007f250ab0d41f in g_main_context_iteration (context=0x7f2500005000, may_block=may_block@entry=1) at ../glib/gmain.c:4015
#74 0x00007f250c912bee in QEventDispatcherGlib::processEvents (this=0x55a088433bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#75 0x00007f250c8bab9b in QEventLoop::exec (this=this@entry=0x7ffcd06aba20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#76 0x00007f250c8c2972 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#77 0x00007f250ddb5f42 in kdemain () from /usr/lib64/libkdeinit5_kcmshell5.so
#78 0x00007f250dde2ceb in __libc_start_main () from /lib64/libc.so.6
#79 0x000055a087f1a08a in _start ()
Comment 3 Doncho N. Gunchev 2020-04-11 00:52:23 UTC
The automated crash report for 5.17.5 won't work (no component kcmshell5) so I will copy and paste the report here.

Application: kcmshell5 (5.17.5)

Qt Version: 5.13.2
Frameworks Version: 5.67.0
Operating System: Linux 5.6.3-300.fc31.x86_64 x86_64
Distribution: Fedora 31 (KDE Plasma)

-- Information about the crash:
I was playing around with display settings. My laptop display was inactive and I changed the refresh rate from 60 to 120.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings Module (kcmshell5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9c8ceea800 (LWP 10365))]

Thread 5 (Thread 0x7f9c6e590700 (LWP 10369)):
#0  0x00007f9c904b3d45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f9c6f42619b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f9c6f425dab in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f9c904ad4e2 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f9c92aea6a3 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f9c7d7b4700 (LWP 10368)):
#0  0x00007f9c92adfa3f in poll () from /lib64/libc.so.6
#1  0x00007f9c8f8cb86e in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f9c8f8cb9a3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f9c91612843 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f9c915bc1db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f9c9140cc45 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f9c908c6399 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f9c9140dd96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f9c904ad4e2 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f9c92aea6a3 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f9c7ebe5700 (LWP 10367)):
#0  0x00007f9c92adfa3f in poll () from /lib64/libc.so.6
#1  0x00007f9c8f8cb86e in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f9c8f8cb9a3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f9c91612843 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f9c915bc1db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f9c9140cc45 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f9c9252ef6a in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007f9c9140dd96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f9c904ad4e2 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f9c92aea6a3 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f9c7fbbc700 (LWP 10366)):
#0  0x00007f9c92adfa3f in poll () from /lib64/libc.so.6
#1  0x00007f9c9018838a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f9c90189fea in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f9c7fdc3d48 in QXcbEventQueue::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f9c9140dd96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f9c904ad4e2 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f9c92aea6a3 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9c8ceea800 (LWP 10365)):
[KCrash Handler]
#6  0x00007f9c7d808194 in KScreen::Mode::size() const () from /lib64/libKF5Screen.so.7
#7  0x00007f9c7d859b18 in OutputModel::setRefreshRate(int, int) () from /usr/lib64/qt5/plugins/kcms/kcm_kscreen.so
#8  0x00007f9c7d85de3d in OutputModel::setData(QModelIndex const&, QVariant const&, int) () from /usr/lib64/qt5/plugins/kcms/kcm_kscreen.so
#9  0x00007f9c90643e38 in QQmlDMCachedModelData::metaCall(QMetaObject::Call, int, void**) () from /lib64/libQt5Qml.so.5
#10 0x00007f9c90824560 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () from /lib64/libQt5Qml.so.5
#11 0x00007f9c9075ebcc in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) () from /lib64/libQt5Qml.so.5
#12 0x00007f9c9075f64e in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) () from /lib64/libQt5Qml.so.5
#13 0x00007f9c9075f7a1 in QV4::QObjectWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) () from /lib64/libQt5Qml.so.5
#14 0x00007f9c9072281c in QV4::Object::virtualResolveLookupSetter(QV4::Object*, QV4::ExecutionEngine*, QV4::Lookup*, QV4::Value const&) () from /lib64/libQt5Qml.so.5
#15 0x00007f9c907784c3 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#16 0x00007f9c9077cf9f in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#17 0x00007f9c907097bf in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#18 0x00007f9c90892b37 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#19 0x00007f9c9083356c in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#20 0x00007f9c90834738 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#21 0x00007f9c908760dd in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#22 0x00007f9c908138e5 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /lib64/libQt5Qml.so.5
#23 0x00007f9c915e733f in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#24 0x00007f9c7f036a92 in QQuickComboBox::activated(int) () from /lib64/libQt5QuickTemplates2.so.5
#25 0x00007f9c7efc1710 in QQuickComboBoxPrivate::hidePopup(bool) () from /lib64/libQt5QuickTemplates2.so.5
#26 0x00007f9c915e7a60 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#27 0x00007f9c7efb2488 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () from /lib64/libQt5QuickTemplates2.so.5
#28 0x00007f9c7efcfc09 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickTemplates2.so.5
#29 0x00007f9c90c87088 in QQuickItem::event(QEvent*) () from /lib64/libQt5Quick.so.5
#30 0x00007f9c91f2fab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#31 0x00007f9c91f39150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#32 0x00007f9c915bd3e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#33 0x00007f9c90ca25e5 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib64/libQt5Quick.so.5
#34 0x00007f9c90ca3ceb in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib64/libQt5Quick.so.5
#35 0x00007f9c90ca4a99 in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Quick.so.5
#36 0x00007f9c919a4c3d in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#37 0x00007f9c90ca5fe9 in QQuickWindow::event(QEvent*) () from /lib64/libQt5Quick.so.5
#38 0x00007f9c91f2fab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#39 0x00007f9c91f39150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#40 0x00007f9c915bd3e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#41 0x00007f9c9114cb4b in QQuickWidget::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickWidgets.so.5
#42 0x00007f9c91f72c7e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#43 0x00007f9c9114ccf3 in QQuickWidget::event(QEvent*) () from /lib64/libQt5QuickWidgets.so.5
#44 0x00007f9c91f2fab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#45 0x00007f9c91f393a3 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#46 0x00007f9c915bd3e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#47 0x00007f9c91f384b7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#48 0x00007f9c91f8ec8d in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#49 0x00007f9c91f91c8c in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#50 0x00007f9c91f2fab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#51 0x00007f9c91f39150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#52 0x00007f9c915bd3e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#53 0x00007f9c9199ab83 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#54 0x00007f9c9199c37b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib64/libQt5Gui.so.5
#55 0x00007f9c919786eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#56 0x00007f9c7fdc4d5e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#57 0x00007f9c8f8cb570 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#58 0x00007f9c8f8cb900 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#59 0x00007f9c8f8cb9a3 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#60 0x00007f9c91612825 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#61 0x00007f9c915bc1db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#62 0x00007f9c915c40b6 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#63 0x00007f9c92bbc721 in kdemain () from /lib64/libkdeinit5_kcmshell5.so
#64 0x00007f9c92a101a3 in __libc_start_main () from /lib64/libc.so.6
#65 0x0000564f496380ae in _start ()
[Inferior 1 (process 10365) detached]

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

Report to https://bugs.kde.org/
Comment 4 Nate Graham 2020-04-15 03:09:54 UTC
*** Bug 419876 has been marked as a duplicate of this bug. ***
Comment 5 David Edmundson 2020-06-24 23:01:44 UTC
*** Bug 421805 has been marked as a duplicate of this bug. ***
Comment 6 David Edmundson 2020-06-24 23:09:09 UTC
So from the trace

    const auto oldMode = output.ptr->currentMode();


is null, which seems plausible. If a screen is off or something it won't have a valid mode.
Comment 7 yo 2020-06-30 01:09:50 UTC
Created attachment 129780 [details]
New crash information added by DrKonqi

systemsettings5 (5.19.2) using Qt 5.14.2

- What I was doing when the application crashed:

I was attempting to adjust my screen's refresh rate from 60 Hz to 75 Hz.

- Unusual behavior I noticed:

It froze for a second then it crashed

- Custom settings of the application:

-- Backtrace (Reduced):
#4  KScreen::Mode::size (this=this@entry=0x0) at ./src/mode.cpp:102
#5  0x00007fe70526cc4b in OutputModel::<lambda(const ModePtr&)>::operator() (mode=..., __closure=<optimized out>) at ./kcm/output_model.cpp:373
#10 OutputModel::setRefreshRate (this=this@entry=0x558f28083310, outputIndex=2, refIndex=<optimized out>) at ./kcm/output_model.cpp:375
#11 0x00007fe70526e475 in OutputModel::setData (this=this@entry=0x558f28083310, index=..., value=..., role=role@entry=269) at ./kcm/output_model.cpp:139
#12 0x00007fe73ac74e91 in QQmlDMAbstractItemModelData::setValue (value=..., role=269, this=0x558f2867c3f0) at qqmladaptormodel.cpp:419
Comment 8 cassiopgodinho 2020-08-12 17:26:30 UTC
Created attachment 130831 [details]
New crash information added by DrKonqi

systemsettings5 (5.19.4) using Qt 5.14.2

- What I was doing when the application crashed:
Trying to change external display refresh rate from 60hz to 120hz
Laptop display is disabled, only using the external monitor.

-- Backtrace (Reduced):
#4  KScreen::Mode::size (this=this@entry=0x0) at ./src/mode.cpp:102
#5  0x00007f757b0aa3d8 in OutputModel::<lambda(const ModePtr&)>::operator() (mode=..., __closure=<optimized out>) at ./kcm/output_model.cpp:373
#10 OutputModel::setRefreshRate (this=this@entry=0x55c294a2d060, outputIndex=0, refIndex=<optimized out>) at ./kcm/output_model.cpp:375
#11 0x00007f757b0acf25 in OutputModel::setData (this=this@entry=0x55c294a2d060, index=..., value=..., role=role@entry=269) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractitemmodel.h:62
#12 0x00007f75a8a78fd8 in QQmlDMAbstractItemModelData::setValue (value=..., role=269, this=0x55c294925f30) at qqmladaptormodel.cpp:419
Comment 9 nyanpasu64 2020-09-09 23:52:59 UTC
I operate my laptop attached to an external monitor, with the internal monitor disabled.

When I open "Display Configuration", it defaults to configuring the internal monitor, which is not enabled. The "Refresh rate" shows 60 Hz, and I can safely click the dropdown. But when I scroll the list, or open the dropdown and click an option, System Settings crashes. The (incomplete) stack trace is at https://gist.github.com/nyanpasu64/0fd4316efbd476335d285311fb73627d but I can retake the stack trace if more symbols are needed.

If I check Enabled, the list changes to show "48 Hz" (the last option in a list of 60, 120, and 48). From now on, regardless I uncheck/check Enabled, I can change refresh rates without crashing (until I close or reopen "Display Configuration").

Changing the Resolution field does not crash, and makes the "Refresh rate" field safe to change without crashing.

Operating System: Arch Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.8.7-arch1-1
OS Type: 64-bit
Processors: 8 × AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
Memory: 13.6 GiB of RAM
Graphics Processor: AMD RAVEN
Comment 10 William Oprandi 2020-10-31 13:57:37 UTC
Created attachment 132913 [details]
New crash information added by DrKonqi

systemsettings5 (5.19.5) using Qt 5.15.1

- What I was doing when the application crashed:

Trying to change the refresh rate of one monitor

-- Backtrace (Reduced):
#4  0x00007f1ea098afa0 in KScreen::Mode::size() const () from /lib64/libKF5Screen.so.7
#5  0x00007f1ea0a12abc in OutputModel::setData(QModelIndex const&, QVariant const&, int) () from /usr/lib64/qt5/plugins/kcms/kcm_kscreen.so
#6  0x00007f1ee63e1cf1 in QQmlDMAbstractItemModelData::setValue(int, QVariant const&) () from /lib64/libQt5QmlModels.so.5
#7  0x00007f1ee63dc90c in QQmlDMCachedModelData::metaCall(QMetaObject::Call, int, void**) () from /lib64/libQt5QmlModels.so.5
#8  0x00007f1ee7860531 in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const () from /lib64/libQt5Qml.so.5
Comment 11 TraceyC 2020-11-06 00:32:53 UTC
Created attachment 133074 [details]
New crash information added by DrKonqi

systemsettings5 (5.20.1) using Qt 5.15.1

- What I was doing when the application crashed:

I had attached a 3rd external monitor (LG ultrawide) to my laptop. After selecting one of the options in the pop up for displaying it to the right of the others, the 3rd display overlapped the other 2. I opened Display Settings and tried to enable the monitor in there. The monitor still had no display. After closing and re-opening the settings, the monitor was not checked as "enabled". When I tried to change the refresh rate, the system settings crashed. I also noted that the native frequency of 144Hz was not available, it had automatically been set to 50Hz. 60Hz and 85Hz were available but both made the system settings crash.

-- Backtrace (Reduced):
#4  KScreen::Mode::size (this=0x0) at ../src/mode.cpp:102
#5  0x00007ff6cc3b38f5 in OutputModel::<lambda(const ModePtr&)>::operator() (mode=..., __closure=0x7ffe573fa490) at /usr/include/QtCore/qsharedpointer_impl.h:307
#10 OutputModel::setRefreshRate (refIndex=<optimized out>, outputIndex=0, this=0x2bfb7e0) at ../kcm/output_model.cpp:375
#11 OutputModel::setData (this=0x2bfb7e0, index=..., value=..., role=<optimized out>) at ../kcm/output_model.cpp:139
[...]
#13 0x00007ff7002ede5c in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () from /usr/lib/libQt5Qml.so.5
Comment 12 Allan Sandfeld 2020-11-14 19:52:55 UTC
*** Bug 429111 has been marked as a duplicate of this bug. ***
Comment 13 blake 2020-11-17 08:33:11 UTC
Created attachment 133396 [details]
New crash information added by DrKonqi

systemsettings5 (5.18.5) using Qt 5.14.2

- What I was doing when the application crashed:

Changing refresh rates and enabling a second tb3 monitor. Kscreen crashes and monitor does not enable.

-- Backtrace (Reduced):
#4  0x00007f38d945ac44 in KScreen::Mode::size() const () from /lib64/libKF5Screen.so.7
#5  0x00007f38d94f2ba2 in OutputModel::setRefreshRate(int, int) () from /usr/lib64/qt5/plugins/kcms/kcm_kscreen.so
#6  0x00007f3905b2312d in QQmlDMCachedModelData::metaCall(QMetaObject::Call, int, void**) () from /lib64/libQt5QmlModels.so.5
#7  0x00007f3907005f70 in QQmlPropertyPrivate::write(QObject*, QQmlPropertyData const&, QVariant const&, QQmlContextData*, QFlags<QQmlPropertyData::WriteFlag>) () from /lib64/libQt5Qml.so.5
#8  0x00007f3906f3d8cb in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) () from /lib64/libQt5Qml.so.5
Comment 14 Nate Graham 2022-11-12 14:58:09 UTC
*** Bug 438570 has been marked as a duplicate of this bug. ***
Comment 15 Nate Graham 2022-11-12 14:58:13 UTC
*** Bug 444067 has been marked as a duplicate of this bug. ***
Comment 16 Nate Graham 2022-11-12 14:58:18 UTC
*** Bug 433886 has been marked as a duplicate of this bug. ***
Comment 17 Nate Graham 2022-11-12 14:58:30 UTC
*** Bug 442719 has been marked as a duplicate of this bug. ***
Comment 18 Nate Graham 2022-11-12 14:59:20 UTC
This was fixed a while ago.