Bug 417557

Summary: System Settings crash on Night Color Xorg and Wayland
Product: [Applications] systemsettings Reporter: Emmnuel <prefeitura.access>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR Keywords: drkonqi
Version: 5.18.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Emmnuel 2020-02-13 12:20:07 UTC
Application: systemsettings5 (5.18.0)

Qt Version: 5.13.2
Frameworks Version: 5.67.0
Operating System: Linux 5.5.2-250.vanilla.knurd.1.fc31.x86_64 x86_64
Windowing system: Wayland
Distribution: Fedora 31 (KDE Plasma)

-- Information about the crash:
When I click on Night Color option system settings crashes. Terminal output:

Icon theme "gnome" not found.
Icon theme "gnome" not found.
file:///usr/share/kpackage/genericqml/org.kde.systemsettings.sidebar/contents/ui/SubCategoryPage.qml:141:9: QML Connections: Cannot assign to non-existent property "onActiveSubCategoryChanged"
QQmlEngine::setContextForObject(): Object already has a QQmlContext
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
QQmlEngine::setContextForObject(): Object already has a QQmlContext
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:137:9: Unable to assign [undefined] to double
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:137:9: Unable to assign [undefined] to double
file:///usr/share/kpackage/kcms/kcm_kscreen/contents/ui/Panel.qml:137:13: Unable to assign [undefined] to int
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:137:9: Unable to assign [undefined] to double
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/FormLayout.qml:137:9: Unable to assign [undefined] to double
Accessed invalid KPluginInfo object
KCrash: Application 'systemsettings5' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__1
[1]  + 5725 suspended (signal)  systemsettings5




The lines ''file://*' shows when I click on Display and Monitor

The line 'Accessed invalid KPluginInfo object' shows up when a click on Night Color and then System Settings Crashes without showing Night Color configs.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2c77e1f800 (LWP 4334))]

Thread 7 (Thread 0x7f2c65b03700 (LWP 4361)):
#0  0x00007f2c7bf9aa6f in poll () from /lib64/libc.so.6
#1  0x00007f2c7a20880e in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f2c7a208943 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f2c7c52c843 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f2c7c4d61db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f2c7c326c45 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f2c7b5d1399 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f2c7c327d96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f2c7ab5d4e2 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2c7bfa56d3 in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f2c5bbff700 (LWP 4360)):
#0  0x00007f2c7bf2ae33 in __libc_enable_asynccancel () from /lib64/libc.so.6
#1  0x00007f2c7bf96437 in read () from /lib64/libc.so.6
#2  0x00007f2c7a25053f in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#3  0x00007f2c7a208357 in g_main_context_check () from /lib64/libglib-2.0.so.0
#4  0x00007f2c7a2087b2 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#5  0x00007f2c7a208943 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#6  0x00007f2c7c52c843 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f2c7c4d61db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#8  0x00007f2c7c326c45 in QThread::exec() () from /lib64/libQt5Core.so.5
#9  0x00007f2c7c327d96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f2c7ab5d4e2 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f2c7bfa56d3 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f2c6da4c700 (LWP 4339)):
#0  0x00007f2c7a207cbe in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#1  0x00007f2c7a20873b in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f2c7a208943 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f2c7c52c843 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f2c7c4d61db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f2c7c326c45 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f2c7b5d1399 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f2c7c327d96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f2c7ab5d4e2 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2c7bfa56d3 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f2c6f7fe700 (LWP 4338)):
#0  0x00007f2c7bf9648d in read () from /lib64/libc.so.6
#1  0x00007f2c7a25053f in g_wakeup_acknowledge () from /lib64/libglib-2.0.so.0
#2  0x00007f2c7a208357 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x00007f2c7a2087b2 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#4  0x00007f2c7a208943 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f2c7c52c843 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f2c7c4d61db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f2c7c326c45 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f2c7b5d1399 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#9  0x00007f2c7c327d96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f2c7ab5d4e2 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f2c7bfa56d3 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2c6ffff700 (LWP 4337)):
#0  0x00007f2c7ab63d45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2c7541d19b in util_queue_thread_func () from /usr/lib64/dri/i965_dri.so
#2  0x00007f2c7541cdab in impl_thrd_routine () from /usr/lib64/dri/i965_dri.so
#3  0x00007f2c7ab5d4e2 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f2c7bfa56d3 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2c7713a700 (LWP 4336)):
#0  0x00007f2c7bf9aa6f in poll () from /lib64/libc.so.6
#1  0x00007f2c7a20880e in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f2c7a208943 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f2c7c52c843 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f2c7c4d61db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f2c7c326c45 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f2c7c7b2f6a in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007f2c7c327d96 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f2c7ab5d4e2 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2c7bfa56d3 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2c77e1f800 (LWP 4334)):
[KCrash Handler]
#6  0x00007f2c7bee0625 in raise () from /lib64/libc.so.6
#7  0x00007f2c7bec98d9 in abort () from /lib64/libc.so.6
#8  0x00007f2c7c2f1b25 in QMessageLogger::fatal(char const*, ...) const () from /lib64/libQt5Core.so.5
#9  0x00007f2c7d62b179 in KPluginInfo::category() const [clone .part.0] () from /lib64/libKF5Service.so.5
#10 0x00007f2c7d62b35f in KPluginInfo::toMetaData() const [clone .cold] () from /lib64/libKF5Service.so.5
#11 0x00007f2c6e6ee02e in Plasma::DataEngine::DataEngine(KPluginInfo const&, QObject*) () from /lib64/libKF5Plasma.so.5
#12 0x00007f2c6e702e42 in Plasma::DataEngineManager::loadEngine(QString const&) () from /lib64/libKF5Plasma.so.5
#13 0x00007f2c6e6f2201 in Plasma::DataEngineConsumer::dataEngine(QString const&) () from /lib64/libKF5Plasma.so.5
#14 0x00007f2c64fc7245 in ColorCorrect::Geolocator::Geolocator(QObject*) () from /lib64/libcolorcorrect.so.5
#15 0x00007f2c64feb96f in QQmlPrivate::QQmlElement<ColorCorrect::Geolocator>::QQmlElement (this=0x55a04a4cd9a0) at /usr/include/qt5/QtQml/qqmlprivate.h:103
#16 QQmlPrivate::createInto<ColorCorrect::Geolocator> (memory=0x55a04a4cd9a0) at /usr/include/qt5/QtQml/qqmlprivate.h:124
#17 0x00007f2c7b5517aa in QQmlType::create(QObject**, void**, unsigned long) const () from /lib64/libQt5Qml.so.5
#18 0x00007f2c7b5b9340 in QQmlObjectCreator::createInstance(int, QObject*, bool) () from /lib64/libQt5Qml.so.5
#19 0x00007f2c7b5b7b3f in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) () from /lib64/libQt5Qml.so.5
#20 0x00007f2c7b5b82a2 in QQmlObjectCreator::setupBindings(bool) () from /lib64/libQt5Qml.so.5
#21 0x00007f2c7b5b8f03 in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*) () from /lib64/libQt5Qml.so.5
#22 0x00007f2c7b5b9b0c in QQmlObjectCreator::createInstance(int, QObject*, bool) () from /lib64/libQt5Qml.so.5
#23 0x00007f2c7b5bacdc in QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*) () from /lib64/libQt5Qml.so.5
#24 0x00007f2c7b5399c4 in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () from /lib64/libQt5Qml.so.5
#25 0x00007f2c7b53a123 in QQmlEnginePrivate::incubate(QQmlIncubator&, QQmlContextData*) () from /lib64/libQt5Qml.so.5
#26 0x00007f2c7b536ad6 in QQmlComponent::create(QQmlIncubator&, QQmlContext*, QQmlContext*) () from /lib64/libQt5Qml.so.5
#27 0x00007f2c7bc7b0f1 in KDeclarative::QmlObject::completeInitialization(QHash<QString, QVariant> const&) () from /lib64/libKF5Declarative.so.5
#28 0x00007f2c7d985b49 in KQuickAddons::ConfigModule::mainUi() [clone .part.0] () from /lib64/libKF5QuickAddons.so.5
#29 0x00007f2c7daae2c9 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /lib64/libKF5KCMUtils.so.5
#30 0x00007f2c7dab8005 in KCModuleProxyPrivate::loadModule() () from /lib64/libKF5KCMUtils.so.5
#31 0x00007f2c7dab8688 in KCModuleProxy::realModule() const () from /lib64/libKF5KCMUtils.so.5
#32 0x00007f2c7dafc4d7 in ModuleView::updatePageIconHeader(KPageWidgetItem*, bool) () from /lib64/libsystemsettingsview.so.3
#33 0x00007f2c7dafd87d in ModuleView::addModule(KCModuleInfo*) () from /lib64/libsystemsettingsview.so.3
#34 0x00007f2c7dafdc6d in ModuleView::loadModule(QModelIndex const&) () from /lib64/libsystemsettingsview.so.3
#35 0x00007f2c7447106f in SidebarMode::loadModule(QModelIndex const&) () from /usr/lib64/qt5/plugins/systemsettings_sidebar_mode.so
#36 0x00007f2c7446e4bc in SidebarMode::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/systemsettings_sidebar_mode.so
#37 0x00007f2c7446eaf3 in SidebarMode::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/systemsettings_sidebar_mode.so
#38 0x00007f2c7b575755 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () from /lib64/libQt5Qml.so.5
#39 0x00007f2c7b46595d in CallMethod(QQmlObjectOrGadget const&, int, int, int, int*, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#40 0x00007f2c7b467d94 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () from /lib64/libQt5Qml.so.5
#41 0x00007f2c7b468b8e in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () from /lib64/libQt5Qml.so.5
#42 0x00007f2c7b485fc6 in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () from /lib64/libQt5Qml.so.5
#43 0x00007f2c7b487f9f in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) () from /lib64/libQt5Qml.so.5
#44 0x00007f2c7b4147bf in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /lib64/libQt5Qml.so.5
#45 0x00007f2c7b59db37 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /lib64/libQt5Qml.so.5
#46 0x00007f2c7b53e56c in QQmlBoundSignalExpression::evaluate(void**) () from /lib64/libQt5Qml.so.5
#47 0x00007f2c7b53f738 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#48 0x00007f2c7b5810dd in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () from /lib64/libQt5Qml.so.5
#49 0x00007f2c7b51e8e5 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () from /lib64/libQt5Qml.so.5
#50 0x00007f2c7c50133f in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#51 0x00007f2c77501488 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () from /lib64/libQt5QuickTemplates2.so.5
#52 0x00007f2c7751ec09 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickTemplates2.so.5
#53 0x00007f2c7b992088 in QQuickItem::event(QEvent*) () from /lib64/libQt5Quick.so.5
#54 0x00007f2c7cee7ab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#55 0x00007f2c7cef1150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#56 0x00007f2c7c4d73e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#57 0x00007f2c7b9ad5e5 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () from /lib64/libQt5Quick.so.5
#58 0x00007f2c7b9aeceb in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () from /lib64/libQt5Quick.so.5
#59 0x00007f2c7b9afa99 in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Quick.so.5
#60 0x00007f2c7c95ac3d in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#61 0x00007f2c7b9b0fe9 in QQuickWindow::event(QEvent*) () from /lib64/libQt5Quick.so.5
#62 0x00007f2c7cee7ab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#63 0x00007f2c7cef1150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#64 0x00007f2c7c4d73e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#65 0x00007f2c7bc93b4b in QQuickWidget::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5QuickWidgets.so.5
#66 0x00007f2c7cf2ac7e in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#67 0x00007f2c7bc93cf3 in QQuickWidget::event(QEvent*) () from /lib64/libQt5QuickWidgets.so.5
#68 0x00007f2c7cee7ab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#69 0x00007f2c7cef13a3 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#70 0x00007f2c7c4d73e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#71 0x00007f2c7cef04b7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#72 0x00007f2c7cf46c8d in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#73 0x00007f2c7cf49c8c in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#74 0x00007f2c7cee7ab6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#75 0x00007f2c7cef1150 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#76 0x00007f2c7c4d73e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#77 0x00007f2c7c950b83 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#78 0x00007f2c7c95237b in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib64/libQt5Gui.so.5
#79 0x00007f2c7c92e6eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#80 0x00007f2c77a949a4 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5WaylandClient.so.5
#81 0x00007f2c7a208510 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#82 0x00007f2c7a2088a0 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#83 0x00007f2c7a208943 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#84 0x00007f2c7c52c825 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#85 0x00007f2c7c4d61db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#86 0x00007f2c7c4de0b6 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#87 0x000055a03cf628a6 in main ()
[Inferior 1 (process 4334) detached]

Possible duplicates by query: bug 417548, bug 417285, bug 416969, bug 416151, bug 415674.

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2020-02-13 12:28:34 UTC

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