Bug 404388

Summary: Crash closing system settings
Product: [Applications] systemsettings Reporter: David Edmundson <kde>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Edmundson 2019-02-15 13:18:28 UTC
Application: systemsettings5 (5.15.80)
 (Compiled from sources)
Qt Version: 5.12.2
Frameworks Version: 5.56.0
Operating System: Linux 4.19.20-1-MANJARO x86_64
Distribution: "Manjaro Linux"

-- Information about the crash:
Was closing systemsettings, window appeared with no conents, then crashed.

git master as of 14/2/2019

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

Thread 4 (Thread 0x7f071630f700 (LWP 6449)):
#0  0x00007f0731fdc7a4 in read () from /usr/lib/libc.so.6
#1  0x00007f072e34b971 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f072e39c0b0 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007f072e39d4e6 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f072e39d62e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007f073274c148 in QEventDispatcherGlib::processEvents (this=0x7f0710000b20, flags=...) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f07326e6913 in QEventLoop::processEvents (this=this@entry=0x7f071630ed50, flags=..., flags@entry=...) at /usr/include/c++/8.2.1/bits/atomic_base.h:707
#7  0x00007f07326e6d6b in QEventLoop::exec (this=this@entry=0x7f071630ed50, flags=flags@entry=...) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qflags.h:122
#8  0x00007f073251c4c6 in QThread::exec (this=this@entry=0x55da6011f260) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qflags.h:120
#9  0x00007f0734a635e6 in QQmlThreadPrivate::run (this=0x55da6011f260) at /home/david/projects/qt5/qtdeclarative/src/qml/qml/ftw/qqmlthread.cpp:148
#10 0x00007f073251deb7 in QThreadPrivate::start (arg=0x55da6011f260) at /home/david/projects/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:361
#11 0x00007f073135fa9d in start_thread () from /usr/lib/libpthread.so.0
#12 0x00007f0731febb23 in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f072abf7700 (LWP 6445)):
#0  0x00007f0731fdc7a4 in read () from /usr/lib/libc.so.6
#1  0x00007f072e34b971 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f072e39c0b0 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007f072e39d4e6 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f072e39d62e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007f073274c148 in QEventDispatcherGlib::processEvents (this=0x7f071c000b20, flags=...) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f07326e6913 in QEventLoop::processEvents (this=this@entry=0x7f072abf6d30, flags=..., flags@entry=...) at /usr/include/c++/8.2.1/bits/atomic_base.h:707
#7  0x00007f07326e6d6b in QEventLoop::exec (this=this@entry=0x7f072abf6d30, flags=flags@entry=...) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qflags.h:122
#8  0x00007f073251c4c6 in QThread::exec (this=this@entry=0x7f0732a7dde0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qflags.h:120
#9  0x00007f07329e98c2 in QDBusConnectionManager::run (this=0x7f0732a7dde0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /home/david/projects/qt5/qtbase/src/dbus/qdbusconnection.cpp:178
#10 0x00007f073251deb7 in QThreadPrivate::start (arg=0x7f0732a7dde0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /home/david/projects/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:361
#11 0x00007f073135fa9d in start_thread () from /usr/lib/libpthread.so.0
#12 0x00007f0731febb23 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f072be07700 (LWP 6444)):
#0  0x00007f0731fe0c21 in poll () from /usr/lib/libc.so.6
#1  0x00007f0730744cf7 in _xcb_conn_wait (c=c@entry=0x55da5f79b9e0, cond=cond@entry=0x55da5f79ba20, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:479
#2  0x00007f07307468fa in xcb_wait_for_event (c=c@entry=0x55da5f79b9e0) at xcb_in.c:697
#3  0x00007f072cc31f2a in QXcbEventQueue::run (this=0x55da5f7a8a50) at /home/david/projects/qt5/qtbase/src/plugins/platforms/xcb/qxcbeventqueue.cpp:228
#4  0x00007f073251deb7 in QThreadPrivate::start (arg=0x55da5f7a8a50) at /home/david/projects/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:361
#5  0x00007f073135fa9d in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f0731febb23 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f073433f400 (LWP 6443)):
[KCrash Handler]
#6  0x00007f0731f27d7f in raise () from /usr/lib/libc.so.6
#7  0x00007f0731f12672 in abort () from /usr/lib/libc.so.6
#8  0x00007f0732512284 in qt_message_fatal (context=..., message=...) at /home/david/projects/qt5/qtbase/src/corelib/global/qlogging.cpp:1901
#9  0x00007f0732512ecf in QMessageLogger::fatal (this=this@entry=0x7ffca3348be0, msg=msg@entry=0x7f07327d7a78 "ASSERT: \"%s\" in file %s, line %d") at /home/david/projects/qt5/qtbase/src/corelib/global/qlogging.cpp:887
#10 0x00007f073250b7f2 in qt_assert (assertion=assertion@entry=0x7f0731ee8938 "!context || (QOpenGLContext::currentContext() == context && context->surface() == offscreenSurface)", file=file@entry=0x7f0731ee8520 "/home/david/projects/qt5/qtdeclarative/src/quickwidgets/qquickwidget.cpp", line=line@entry=218) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qlogging.h:91
#11 0x00007f0731ee5d26 in QQuickWidgetPrivate::~QQuickWidgetPrivate (this=0x55da5f912190, __in_chrg=<optimized out>) at ../../include/QtQuick/5.12.2/QtQuick/private/../../../../../../../qt5/qtdeclarative/src/quick/items/qquickitemchangelistener_p.h:123
#12 0x00007f0731ee5daf in QQuickWidgetPrivate::~QQuickWidgetPrivate (this=0x55da5f912190, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtdeclarative/src/quickwidgets/qquickwidget.cpp:208
#13 0x00007f0732722e30 in QScopedPointerDeleter<QObjectData>::cleanup (pointer=<optimized out>) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/tools/qscopedpointer.h:52
#14 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer (this=0x55da5f88a5f8, __in_chrg=<optimized out>) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/tools/qscopedpointer.h:107
#15 QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:891
#16 0x00007f0733226a30 in QWidget::~QWidget (this=0x55da5f88a5f0, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidget.cpp:1725
#17 0x00007f0731ee1dd7 in QQuickWidget::~QQuickWidget (this=0x55da5f88a5f0, __in_chrg=<optimized out>) at /home/david/projects/qt5-build/qtbase/include/QtCore/../../../../qt5/qtbase/src/corelib/tools/qsharedpointer_impl.h:167
#18 0x00007f0731ee1e51 in QQuickWidget::~QQuickWidget (this=0x55da5f88a5f0, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtdeclarative/src/quickwidgets/qquickwidget.cpp:547
#19 0x00007f0732721a64 in QObjectPrivate::deleteChildren (this=this@entry=0x55da5fa011e0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:2010
#20 0x00007f0733226acf in QWidget::~QWidget (this=0x55da5f9a23c0, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidget.cpp:1703
#21 0x00007f07218615f5 in FocusHackWidget::~FocusHackWidget (this=0x55da5f9a23c0) at /home/david/projects/kde5/src/kde/workspace/systemsettings/sidebar/SidebarMode.cpp:70
#22 0x00007f0721861639 in FocusHackWidget::~FocusHackWidget (this=0x55da5f9a23c0) at /home/david/projects/kde5/src/kde/workspace/systemsettings/sidebar/SidebarMode.cpp:70
#23 0x00007f0732721a64 in QObjectPrivate::deleteChildren (this=this@entry=0x55da5f87fdb0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:2010
#24 0x00007f0733226acf in QWidget::~QWidget (this=0x55da5f86f560, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidget.cpp:1703
#25 0x00007f07332e4fa0 in QFrame::~QFrame (this=<optimized out>, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/widgets/widgets/qframe.cpp:262
#26 0x00007f07333b74ee in QStackedWidget::~QStackedWidget (this=<optimized out>, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/widgets/widgets/qstackedwidget.cpp:145
#27 0x00007f07333b7503 in QStackedWidget::~QStackedWidget (this=0x55da5f86f560, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/widgets/widgets/qstackedwidget.cpp:145
#28 0x00007f0732721a64 in QObjectPrivate::deleteChildren (this=this@entry=0x55da5f874cf0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:2010
#29 0x00007f0733226acf in QWidget::~QWidget (this=0x55da5f811bd0, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidget.cpp:1703
#30 0x00007f0733352bce in QMainWindow::~QMainWindow (this=<optimized out>, __in_chrg=<optimized out>) at /home/david/projects/qt5/qtbase/src/widgets/widgets/qmainwindow.cpp:377
#31 0x00007f073528bec0 in KMainWindow::~KMainWindow (this=0x55da5f811bd0) at /home/david/projects/kde5/src/frameworks/kxmlgui/src/kmainwindow.cpp:406
#32 0x00007f07352e5c8e in KXmlGuiWindow::~KXmlGuiWindow (this=0x55da5f811bd0, vtt=0x55da5e2e6608 <VTT for SettingsBase+8>) at /home/david/projects/kde5/src/frameworks/kxmlgui/src/kxmlguiwindow.cpp:121
#33 0x000055da5e2c9e0d in SettingsBase::~SettingsBase (this=0x55da5f811bd0, vtt=0x55da5e2e6600 <VTT for SettingsBase>) at /home/david/projects/kde5/src/kde/workspace/systemsettings/app/SettingsBase.cpp:77
#34 0x000055da5e2c9e40 in SettingsBase::~SettingsBase (this=0x55da5f811bd0) at /home/david/projects/kde5/src/kde/workspace/systemsettings/app/SettingsBase.cpp:75
#35 0x000055da5e2c9ed9 in SettingsBase::~SettingsBase (this=0x55da5f811bd0) at /home/david/projects/kde5/src/kde/workspace/systemsettings/app/SettingsBase.cpp:75
#36 0x00007f073271a2b9 in qDeleteInEventHandler (o=o@entry=0x55da5f811bd0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:4647
#37 0x00007f073271c080 in QObject::event (this=this@entry=0x55da5f811bd0, e=e@entry=0x55da5fcfee50) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qobject.cpp:1251
#38 0x00007f073322bf5c in QWidget::event (this=this@entry=0x55da5f811bd0, event=event@entry=0x55da5fcfee50) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qwidget.cpp:9380
#39 0x00007f0733354772 in QMainWindow::event (this=0x55da5f811bd0, event=0x55da5fcfee50) at /home/david/projects/qt5/qtbase/src/widgets/widgets/qmainwindow.cpp:1339
#40 0x00007f073528e706 in KMainWindow::event (this=0x55da5f811bd0, ev=0x55da5fcfee50) at /home/david/projects/kde5/src/frameworks/kxmlgui/src/kmainwindow.cpp:877
#41 0x00007f07352e5e0f in KXmlGuiWindow::event (this=0x55da5f811bd0, ev=0x55da5fcfee50) at /home/david/projects/kde5/src/frameworks/kxmlgui/src/kxmlguiwindow.cpp:125
#42 0x00007f07331e1ead in QApplicationPrivate::notify_helper (this=this@entry=0x55da5f788b80, receiver=receiver@entry=0x55da5f811bd0, e=e@entry=0x55da5fcfee50) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3736
#43 0x00007f07331eb88b in QApplication::notify (this=0x7ffca3349c40, receiver=0x55da5f811bd0, e=0x55da5fcfee50) at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3687
#44 0x00007f07326e8a67 in QCoreApplication::notifyInternal2 (receiver=0x55da5f811bd0, event=0x55da5fcfee50) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1060
#45 0x00007f07326e8cc2 in QCoreApplication::sendEvent (receiver=receiver@entry=0x55da5f811bd0, event=event@entry=0x55da5fcfee50) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1450
#46 0x00007f07326ee793 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55da5f77f660) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1799
#47 0x00007f07326eee18 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1653
#48 0x00007f073274c824 in postEventSourceDispatch (s=0x55da5f7de3b0) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:276
#49 0x00007f072e39ba2f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0x00007f072e39d5e9 in ?? () from /usr/lib/libglib-2.0.so.0
#51 0x00007f072e39d62e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#52 0x00007f073274c12e in QEventDispatcherGlib::processEvents (this=0x55da5f7ef4c0, flags=...) at /home/david/projects/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:422
#53 0x00007f072cc3390a in QXcbGlibEventDispatcher::processEvents (this=<optimized out>, flags=...) at /home/david/projects/qt5/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:143
#54 0x00007f07326e6913 in QEventLoop::processEvents (this=this@entry=0x7ffca33499f0, flags=..., flags@entry=...) at /usr/include/c++/8.2.1/bits/atomic_base.h:707
#55 0x00007f07326e6d6b in QEventLoop::exec (this=this@entry=0x7ffca33499f0, flags=flags@entry=...) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qflags.h:122
#56 0x00007f07326f0ec4 in QCoreApplication::exec () at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/global/qflags.h:120
#57 0x00007f0732b9d6ec in QGuiApplication::exec () at /home/david/projects/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1779
#58 0x00007f07331e1e1b in QApplication::exec () at /home/david/projects/qt5/qtbase/src/widgets/kernel/qapplication.cpp:2893
#59 0x000055da5e2d8ae5 in main (argc=1, argv=0x7ffca3349d68) at /home/david/projects/kde5/src/kde/workspace/systemsettings/app/main.cpp:71
[Inferior 1 (process 6443) detached]

Possible duplicates by query: bug 387444.

Reported using DrKonqi
Comment 1 Christoph Feck 2019-03-08 23:20:39 UTC
> Qt Version: 5.12.2
> [...]
> #10 0x00007f073250b7f2 in qt_assert (assertion=assertion@entry=0x7f0731ee8938 "!context || (QOpenGLContext::currentContext() == context && context->surface() == offscreenSurface)", file=file@entry=0x7f0731ee8520

Is that assert new in Qt 5.12.2? I cannot remember seeing it previously.
Comment 2 Nate Graham 2020-10-12 21:28:17 UTC
You still seeing this?
Comment 3 Bug Janitor Service 2020-10-27 04:33:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2020-11-11 04:34:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!