Bug 404056 - System Settings crash when closing
Summary: System Settings crash when closing
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (show other bugs)
Version: 5.14.5
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-02-07 11:09 UTC by Erik Quaeghebeur
Modified: 2022-11-07 20:57 UTC (History)
3 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 Erik Quaeghebeur 2019-02-07 11:09:00 UTC
Application: systemsettings5 (5.14.5)

Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.14.83-gentoo x86_64
Distribution (Platform): Gentoo Packages

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

I was closing System Settings using the top-right x on the title bar.

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

Thread 4 (Thread 0x7fd6cf5ef700 (LWP 17850)):
#0  0x00007fd7000b9460 in read () from /lib64/libc.so.6
#1  0x00007fd6f964cb70 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd6f9607ba7 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd6f9608060 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd6f96081cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fd700a23f5b in QEventDispatcherGlib::processEvents (this=0x7fd6c8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fd7009cfffa in QEventLoop::exec (this=this@entry=0x7fd6cf5eed00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007fd700833f5a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#8  0x00007fd6fe80b145 in ?? () from /usr/lib64/libQt5Qml.so.5
#9  0x00007fd70083d9af in QThreadPrivate::start (arg=0x558c975b3580) at thread/qthread_unix.cpp:367
#10 0x00007fd6fbc9b96a in start_thread () from /lib64/libpthread.so.0
#11 0x00007fd7000c992f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fd6dffff700 (LWP 17847)):
#0  0x00007fd6fbca256c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd6e4c911eb in ?? () from /usr/lib64/dri/i965_dri.so
#2  0x00007fd6e4c90f17 in ?? () from /usr/lib64/dri/i965_dri.so
#3  0x00007fd6fbc9b96a in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd7000c992f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd6e686e700 (LWP 17846)):
#0  0x00007fd70083c9c6 in QThreadData::current (createIfNecessary=createIfNecessary@entry=true) at thread/qthread_unix.cpp:238
#1  0x00007fd700a23e4a in postEventSourcePrepare (s=0x7fd6e0004ba0, timeout=0x7fd6e686db24) at kernel/qeventdispatcher_glib.cpp:252
#2  0x00007fd6f9607618 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd6f9607feb in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd6f96081cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fd700a23f5b in QEventDispatcherGlib::processEvents (this=0x7fd6e0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fd7009cfffa in QEventLoop::exec (this=this@entry=0x7fd6e686dcf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#7  0x00007fd700833f5a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:525
#8  0x00007fd700e5cde5 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007fd70083d9af in QThreadPrivate::start (arg=0x7fd7010d4d60) at thread/qthread_unix.cpp:367
#10 0x00007fd6fbc9b96a in start_thread () from /lib64/libpthread.so.0
#11 0x00007fd7000c992f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd704a16880 (LWP 17844)):
[KCrash Handler]
#6  std::__atomic_base<QThread*>::load (__m=std::memory_order_acquire, this=<error reading variable: Cannot access memory at address 0x1049>) at /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/atomic_base.h:713
#7  std::atomic<QThread*>::load (__m=std::memory_order_acquire, this=<error reading variable: Cannot access memory at address 0x1049>) at /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/atomic:452
#8  QAtomicOps<QThread*>::loadAcquire<QThread*> (_q_value=<error reading variable: Cannot access memory at address 0x1049>) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#9  QBasicAtomicPointer<QThread>::loadAcquire (this=<error reading variable: Cannot access memory at address 0x1049>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:245
#10 QBasicAtomicPointer<QThread>::operator QThread* (this=<error reading variable: Cannot access memory at address 0x1049>) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:241
#11 QObject::thread (this=0x558c97291ac0) at kernel/qobject.cpp:1420
#12 0x00007fd6fe62d19e in QV4::CompiledData::CompilationUnit::destroy() () from /usr/lib64/libQt5Qml.so.5
#13 0x00007fd6fe7743f5 in ?? () from /usr/lib64/libQt5Qml.so.5
#14 0x00007fd700a01fd0 in QScopedPointerDeleter<QObjectData>::cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:60
#15 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer (this=0x558c977674f8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#16 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:884
#17 0x00007fd6fe770756 in QQmlComponent::~QQmlComponent() () from /usr/lib64/libQt5Qml.so.5
#18 0x00007fd6fe7709c9 in QQmlComponent::~QQmlComponent() () from /usr/lib64/libQt5Qml.so.5
#19 0x00007fd7009fb448 in QObject::event (this=0x558c977674f0, e=<optimized out>) at kernel/qobject.cpp:1242
#20 0x00007fd701911d8c in QApplicationPrivate::notify_helper (this=this@entry=0x558c96c92ac0, receiver=receiver@entry=0x558c977674f0, e=e@entry=0x558c9781c3f0) at kernel/qapplication.cpp:3726
#21 0x00007fd70191932f in QApplication::notify (this=0x7ffc71057f00, receiver=0x558c977674f0, e=0x558c9781c3f0) at kernel/qapplication.cpp:3485
#22 0x00007fd7009d1207 in QCoreApplication::notifyInternal2 (receiver=0x558c977674f0, event=event@entry=0x558c9781c3f0) at kernel/qcoreapplication.cpp:1047
#23 0x00007fd7009d4061 in QCoreApplication::sendEvent (event=0x558c9781c3f0, receiver=<optimized out>) at kernel/qcoreapplication.h:234
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x558c96c7a0f0) at kernel/qcoreapplication.cpp:1744
#25 0x00007fd6fee12ced in ?? () from /usr/lib64/libQt5Quick.so.5
#26 0x00007fd6fee13020 in QQuickRenderControl::~QQuickRenderControl() () from /usr/lib64/libQt5Quick.so.5
#27 0x00007fd6ff3eb3c3 in ?? () from /usr/lib64/libQt5QuickWidgets.so.5
#28 0x00007fd6ff3e976b in ?? () from /usr/lib64/libQt5QuickWidgets.so.5
#29 0x00007fd6ff3e97e9 in ?? () from /usr/lib64/libQt5QuickWidgets.so.5
#30 0x00007fd700a01fd0 in QScopedPointerDeleter<QObjectData>::cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:60
#31 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer (this=0x558c971f5c48, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
#32 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:884
#33 0x00007fd70194c416 in QWidget::~QWidget (this=0x558c971f5c40, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1564
#34 0x00007fd6ff3e64c9 in QQuickWidget::~QQuickWidget() () from /usr/lib64/libQt5QuickWidgets.so.5
#35 0x00007fd700a01068 in QObjectPrivate::deleteChildren (this=this@entry=0x558c96d29a10) at kernel/qobject.cpp:1997
#36 0x00007fd70194c38c in QWidget::~QWidget (this=0x558c9718cf80, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1705
#37 0x00007fd6dc407891 in ?? () from /usr/lib64/qt5/plugins/systemsettings_sidebar_mode.so
#38 0x00007fd700a01068 in QObjectPrivate::deleteChildren (this=this@entry=0x558c96d33b30) at kernel/qobject.cpp:1997
#39 0x00007fd70194c38c in QWidget::~QWidget (this=0x558c96d43e10, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1705
#40 0x00007fd701ab2e69 in QStackedWidget::~QStackedWidget (this=0x558c96d43e10, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:147
#41 0x00007fd700a01068 in QObjectPrivate::deleteChildren (this=this@entry=0x558c96d40d30) at kernel/qobject.cpp:1997
#42 0x00007fd70194c38c in QWidget::~QWidget (this=0x558c96d29e70, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1705
#43 0x00007fd70415e40d in KMainWindow::~KMainWindow (this=0x558c96d29e70, __in_chrg=<optimized out>) at /var/tmp/portage/kde-frameworks/kxmlgui-5.54.0-r1/work/kxmlgui-5.54.0/src/kmainwindow.cpp:395
#44 0x0000558c95840d1b in ?? ()
#45 0x0000558c95840d79 in ?? ()
#46 0x00007fd7009fb448 in QObject::event (this=this@entry=0x558c96d29e70, e=e@entry=0x558c9a30ccf0) at kernel/qobject.cpp:1242
#47 0x00007fd701951173 in QWidget::event (this=this@entry=0x558c96d29e70, event=event@entry=0x558c9a30ccf0) at kernel/qwidget.cpp:9353
#48 0x00007fd701a58aa0 in QMainWindow::event (this=this@entry=0x558c96d29e70, event=event@entry=0x558c9a30ccf0) at widgets/qmainwindow.cpp:1348
#49 0x00007fd704160901 in KMainWindow::event (this=this@entry=0x558c96d29e70, ev=ev@entry=0x558c9a30ccf0) at /var/tmp/portage/kde-frameworks/kxmlgui-5.54.0-r1/work/kxmlgui-5.54.0/src/kmainwindow.cpp:871
#50 0x00007fd7041a6d15 in KXmlGuiWindow::event (this=0x558c96d29e70, ev=0x558c9a30ccf0) at /var/tmp/portage/kde-frameworks/kxmlgui-5.54.0-r1/work/kxmlgui-5.54.0/src/kxmlguiwindow.cpp:119
#51 0x00007fd701911d8c in QApplicationPrivate::notify_helper (this=this@entry=0x558c96c92ac0, receiver=receiver@entry=0x558c96d29e70, e=e@entry=0x558c9a30ccf0) at kernel/qapplication.cpp:3726
#52 0x00007fd70191932f in QApplication::notify (this=0x7ffc71057f00, receiver=0x558c96d29e70, e=0x558c9a30ccf0) at kernel/qapplication.cpp:3485
#53 0x00007fd7009d1207 in QCoreApplication::notifyInternal2 (receiver=0x558c96d29e70, event=event@entry=0x558c9a30ccf0) at kernel/qcoreapplication.cpp:1047
#54 0x00007fd7009d4061 in QCoreApplication::sendEvent (event=0x558c9a30ccf0, receiver=<optimized out>) at kernel/qcoreapplication.h:234
#55 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x558c96c7a0f0) at kernel/qcoreapplication.cpp:1744
#56 0x00007fd7009d45d8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1598
#57 0x00007fd700a24153 in postEventSourceDispatch (s=0x558c96cdca20) at kernel/qeventdispatcher_glib.cpp:276
#58 0x00007fd6f9607f07 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#59 0x00007fd6f9608140 in ?? () from /usr/lib64/libglib-2.0.so.0
#60 0x00007fd6f96081cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#61 0x00007fd700a23f3f in QEventDispatcherGlib::processEvents (this=0x558c96cf0d40, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#62 0x00007fd6f204a5d1 in QPAEventDispatcherGlib::processEvents (this=0x558c96cf0d40, flags=...) at qeventdispatcher_glib.cpp:69
#63 0x00007fd7009cfffa in QEventLoop::exec (this=this@entry=0x7ffc71057e20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#64 0x00007fd7009d89e0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1335
#65 0x0000558c9583deb9 in ?? ()
#66 0x00007fd6fffe6b87 in __libc_start_main () from /lib64/libc.so.6
#67 0x0000558c9583df3a in _start ()

Reported using DrKonqi
Comment 1 Nate Graham 2019-09-15 22:03:48 UTC
Can you reproduce this with Plasma 5.16 or current git master?
Comment 2 Erik Quaeghebeur 2019-09-17 19:06:34 UTC
(In reply to Nate Graham from comment #1)
> Can you reproduce this with Plasma 5.16 or current git master?
I can't even reproduce with 5.15.5. Feel free to close. If a crash comes, I'll just report again with DrKonqi.