Bug 414160

Summary: systemsettings crashes when more than one settngs module is used
Product: [Applications] systemsettings Reporter: Mathias Homann <Mathias.Homann>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: elias, kde
Priority: NOR Keywords: drkonqi
Version: 5.17.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Mathias Homann 2019-11-15 07:36:24 UTC
Application: systemsettings5 (5.17.3)

Qt Version: 5.13.1
Frameworks Version: 5.64.0
Operating System: Linux 4.12.14-lp151.28.32-default x86_64
Distribution: "openSUSE Leap 15.1"

-- Information about the crash:
- What I was doing when the application crashed:

I was trying to use more than one settings module in a row, when i tried to open the second one systemsettings crashed.
reproduces with almost any combination of settings modues

The crash can be reproduced sometimes.

-- Backtrace:
Application: Systemeinstellungen (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f81e5a7fd80 (LWP 4800))]

Thread 8 (Thread 0x7f81a1beb700 (LWP 4823)):
#0  0x00007f81e0f9219b in poll () at /lib64/libc.so.6
#1  0x00007f81da3981a9 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f81da3982bc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f81e18e177b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f81e1881c4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f81e169d10a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f81df456995 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f81e169e8b2 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f81dca26569 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f81e0f9c9ef in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f81a8c78700 (LWP 4821)):
#0  0x00007f81e0f8dc98 in read () at /lib64/libc.so.6
#1  0x00007f81da3dcca0 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f81da397cb8 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f81da398150 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f81da3982bc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f81e18e177b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f81e1881c4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f81e169d10a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f81df456995 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f81e169e8b2 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f81dca26569 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f81e0f9c9ef in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f81a9688700 (LWP 4820)):
#0  0x00007f81e0f9219b in poll () at /lib64/libc.so.6
#1  0x00007f81da3981a9 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f81da398542 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f81aa025d66 in  () at /usr/lib64/libgio-2.0.so.0
#4  0x00007f81da3bfae6 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f81dca26569 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f81e0f9c9ef in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f81b618b700 (LWP 4819)):
#0  0x00007f81e0f9219b in poll () at /lib64/libc.so.6
#1  0x00007f81da3981a9 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f81da3982bc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f81da398301 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f81da3bfae6 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f81dca26569 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f81e0f9c9ef in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f81c1536700 (LWP 4805)):
#0  0x00007f81dca2c8ad in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f81c21dc92b in  () at /usr/lib64/dri/i965_dri.so
#2  0x00007f81c21dc637 in  () at /usr/lib64/dri/i965_dri.so
#3  0x00007f81dca26569 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f81e0f9c9ef in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f81ca461700 (LWP 4803)):
#0  0x00007f81e0f8dc98 in read () at /lib64/libc.so.6
#1  0x00007f81da3dcca0 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f81da397cb8 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f81da398150 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f81da3982bc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f81e18e177b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f81e1881c4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f81e169d10a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f81e1d59db5 in  () at /usr/lib64/libQt5DBus.so.5
#9  0x00007f81e169e8b2 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f81dca26569 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f81e0f9c9ef in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f81d1af7700 (LWP 4802)):
#0  0x00007f81e0f9219b in poll () at /lib64/libc.so.6
#1  0x00007f81dc5eb307 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f81dc5ecf3a in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f81d48ea940 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f81e169e8b2 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f81dca26569 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f81e0f9c9ef in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f81e5a7fd80 (LWP 4800)):
[KCrash Handler]
#6  0x00007f81e18b2541 in QObject::property(char const*) const () at /usr/lib64/libQt5Core.so.5
#7  0x00007f81b444c2fe in  () at /usr/lib64/qt5/qml/org/kde/kirigami.2/libkirigamiplugin.so
#8  0x00007f81df4403f7 in QQmlObjectCreator::createInstance(int, QObject*, bool) () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f81df43ead0 in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) () at /usr/lib64/libQt5Qml.so.5
#10 0x00007f81df43f21b in QQmlObjectCreator::setupBindings(bool) () at /usr/lib64/libQt5Qml.so.5
#11 0x00007f81df43fdeb in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*) () at /usr/lib64/libQt5Qml.so.5
#12 0x00007f81df4408e0 in QQmlObjectCreator::createInstance(int, QObject*, bool) () at /usr/lib64/libQt5Qml.so.5
#13 0x00007f81df441610 in QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*) () at /usr/lib64/libQt5Qml.so.5
#14 0x00007f81df440ced in QQmlObjectCreator::createInstance(int, QObject*, bool) () at /usr/lib64/libQt5Qml.so.5
#15 0x00007f81df43ead0 in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) () at /usr/lib64/libQt5Qml.so.5
#16 0x00007f81df43f21b in QQmlObjectCreator::setupBindings(bool) () at /usr/lib64/libQt5Qml.so.5
#17 0x00007f81df43fdeb in QQmlObjectCreator::populateInstance(int, QObject*, QObject*, QQmlPropertyData const*) () at /usr/lib64/libQt5Qml.so.5
#18 0x00007f81df4408e0 in QQmlObjectCreator::createInstance(int, QObject*, bool) () at /usr/lib64/libQt5Qml.so.5
#19 0x00007f81df441610 in QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*) () at /usr/lib64/libQt5Qml.so.5
#20 0x00007f81df440ced in QQmlObjectCreator::createInstance(int, QObject*, bool) () at /usr/lib64/libQt5Qml.so.5
#21 0x00007f81df441610 in QQmlObjectCreator::create(int, QObject*, QQmlInstantiationInterrupt*) () at /usr/lib64/libQt5Qml.so.5
#22 0x00007f81df3c2e1c in QQmlComponentPrivate::beginCreate(QQmlContextData*) () at /usr/lib64/libQt5Qml.so.5
#23 0x00007f81df3c0f2b in QQmlComponent::create(QQmlContext*) () at /usr/lib64/libQt5Qml.so.5
#24 0x00007f81e547fe31 in  () at /usr/lib64/libKF5KCMUtils.so.5
#25 0x00007f81e547d8de in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () at /usr/lib64/libKF5KCMUtils.so.5
#26 0x00007f81e5484d4f in  () at /usr/lib64/libKF5KCMUtils.so.5
#27 0x00007f81e54858a8 in KCModuleProxy::realModule() const () at /usr/lib64/libKF5KCMUtils.so.5
#28 0x00007f81e56bf7e2 in ModuleView::updatePageIconHeader(KPageWidgetItem*, bool) () at /usr/lib64/libsystemsettingsview.so.3
#29 0x00007f81e56c0b96 in ModuleView::addModule(KCModuleInfo*) () at /usr/lib64/libsystemsettingsview.so.3
#30 0x00007f81e56c0f2d in ModuleView::loadModule(QModelIndex const&) () at /usr/lib64/libsystemsettingsview.so.3
#31 0x00007f81e18b45cf in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#32 0x00007f81e2b9a295 in QAbstractItemView::activated(QModelIndex const&) () at /usr/lib64/libQt5Widgets.so.5
#33 0x00007f81e2b9d30e in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#34 0x00007f81e2bdf81f in QListView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#35 0x00007f81e0701b84 in KCategorizedView::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libKF5ItemViews.so.5
#36 0x00007f81e2988d88 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#37 0x00007f81e2a2d84e in QFrame::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#38 0x00007f81e2ba61b3 in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#39 0x00007f81e188386d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#40 0x00007f81e2948015 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#41 0x00007f81e2950518 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#42 0x00007f81e1883ae8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#43 0x00007f81e294eb0f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib64/libQt5Widgets.so.5
#44 0x00007f81e29a3721 in  () at /usr/lib64/libQt5Widgets.so.5
#45 0x00007f81e29a657a in  () at /usr/lib64/libQt5Widgets.so.5
#46 0x00007f81e294803c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#47 0x00007f81e294f640 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#48 0x00007f81e1883ae8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#49 0x00007f81e20fe525 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#50 0x00007f81e20ff675 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#51 0x00007f81e20d99bb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#52 0x00007f81d48eb90a in  () at /usr/lib64/libQt5XcbQpa.so.5
#53 0x00007f81da397e87 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#54 0x00007f81da398230 in  () at /usr/lib64/libglib-2.0.so.0
#55 0x00007f81da3982bc in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#56 0x00007f81e18e175f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#57 0x00007f81e1881c4a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#58 0x00007f81e188afc0 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#59 0x000055c6f8f84d48 in  ()
#60 0x00007f81e0ec4f8a in __libc_start_main () at /lib64/libc.so.6
#61 0x000055c6f8f84dca in _start ()
[Inferior 1 (process 4800) detached]

Possible duplicates by query: bug 414150, bug 414147, bug 414146, bug 414141, bug 414140.

Reported using DrKonqi
Comment 1 David Edmundson 2019-11-15 10:48:48 UTC

*** This bug has been marked as a duplicate of bug 414003 ***
Comment 2 Elias 2019-11-17 05:10:41 UTC
Created attachment 123964 [details]
New crash information added by DrKonqi

systemsettings5 (5.17.3) using Qt 5.12.4

- What I was doing when the application crashed:

Open a module in systemsettings5, then close and open another. Crash everytime.

-- Backtrace (Reduced):
#6  0x00007faef06f5813 in QObject::property(char const*) const () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007faee0046d74 in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/libkirigamiplugin.so
#8  0x00007faeef7d8fe6 in QQmlObjectCreator::createInstance(int, QObject*, bool) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007faeef7d7634 in QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*, QV4::CompiledData::Binding const*) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007faeef7d7d92 in QQmlObjectCreator::setupBindings(bool) () at /lib/x86_64-linux-gnu/libQt5Qml.so.5