Bug 385645 - [Wayland] Systemsettings crash on close
Summary: [Wayland] Systemsettings crash on close
Status: RESOLVED DUPLICATE of bug 385805
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.11.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-12 08:58 UTC by Kishore Gopalakrishnan
Modified: 2017-10-16 12:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Backtrace from one such crash (5.16 KB, text/plain)
2017-10-12 08:58 UTC, Kishore Gopalakrishnan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2017-10-12 08:58:50 UTC
Created attachment 108296 [details]
Backtrace from one such crash

Systemsettings crashes when being closed in the wayland session. 

Qt version: 5.9.2

Steps to reproduce:
1. Start a Wayland session, and open the system settings application
2. Close the system settings application by clicking the button in the titlebar.

Observed result:
You will get a notification saying systemsettings has crashed.

Expected result:
Systemsettings should close without crashing.

I have attached a backtrace of one such crash for systemsettings.

Kate also crashes when closed, which suggests that the bug might be in some other component. However, since I don't know to read the backtrace, I'm not sure which component this bug should be reported under.

Bug 385628 describes a similar crash in Kate, and bug 385633 describes a similar one in konsole, but I am not sure if they are due to the same issue.
Comment 1 Kai Uwe Broulik 2017-10-12 09:18:28 UTC
Pasting inline:


Thread 1 (Thread 0x7f41f79cfec0 (LWP 32406)):
[KCrash Handler]
#5  0x00007f41e70dfc81 in wl_proxy_create_wrapper () from /usr/lib/libwayland-client.so.0
#6  0x00007f41dbbe27ea in ?? () from /usr/lib/libEGL_mesa.so.0
#7  0x00007f41dbbcf70f in ?? () from /usr/lib/libEGL_mesa.so.0
#8  0x00007f41e0279722 in ?? () from /usr/lib/qt/plugins/wayland-graphics-integration-client/libwayland-egl.so
#9  0x00007f41e0277bce in ?? () from /usr/lib/qt/plugins/wayland-graphics-integration-client/libwayland-egl.so
#10 0x00007f41f5380ca9 in QOpenGLContext::makeCurrent (this=0xff41c1eb0, surface=0xff3baf7f0) at kernel/qopenglcontext.cpp:984
#11 0x00007f41f5b2de3a in deleteBackingStore (d=d@entry=0xff3add3e0) at kernel/qwidget.cpp:1885
#12 0x00007f41f5b36c22 in QWidgetPrivate::deleteTLSysExtra (this=0xff3add3e0) at kernel/qwidget.cpp:1912
#13 0x00007f41f5b3bd11 in QWidget::destroy (this=this@entry=0xff3ab9230, destroyWindow=destroyWindow@entry=true, destroySubWindows=destroySubWindows@entry=true) at kernel/qwidget.cpp:12409
#14 0x00007f41f5b435f3 in QWidget::~QWidget (this=0xff3ab9230, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1712
#15 0x00007f41f714958e in KMainWindow::~KMainWindow (this=0xff3ab9230, __in_chrg=<optimized out>) at /home/kishore/build/kxmlgui/src/kxmlgui-5.38.0/src/kmainwindow.cpp:393
#16 0x0000000ff242ad1f in ?? ()
#17 0x0000000ff242ae89 in ?? ()
#18 0x00007f41f3f6b6f1 in QObject::event (this=this@entry=0xff3ab9230, e=e@entry=0xff3aa2420) at kernel/qobject.cpp:1237
#19 0x00007f41f5b481dc in QWidget::event (this=this@entry=0xff3ab9230, event=event@entry=0xff3aa2420) at kernel/qwidget.cpp:9264
#20 0x00007f41f5c60304 in QMainWindow::event (this=this@entry=0xff3ab9230, event=event@entry=0xff3aa2420) at widgets/qmainwindow.cpp:1562
#21 0x00007f41f714bab8 in KMainWindow::event (this=this@entry=0xff3ab9230, ev=ev@entry=0xff3aa2420) at /home/kishore/build/kxmlgui/src/kxmlgui-5.38.0/src/kmainwindow.cpp:865
#22 0x00007f41f71925f6 in KXmlGuiWindow::event (this=0xff3ab9230, ev=0xff3aa2420) at /home/kishore/build/kxmlgui/src/kxmlgui-5.38.0/src/kxmlguiwindow.cpp:119
#23 0x00007f41f5b07fcc in QApplicationPrivate::notify_helper (this=this@entry=0xff3a605e0, receiver=receiver@entry=0xff3ab9230, e=e@entry=0xff3aa2420) at kernel/qapplication.cpp:3722
#24 0x00007f41f5b0faa6 in QApplication::notify (this=0x7fff0724f4f0, receiver=0xff3ab9230, e=0xff3aa2420) at kernel/qapplication.cpp:3481
#25 0x00007f41f3f3b0d0 in QCoreApplication::notifyInternal2 (receiver=0xff3ab9230, event=event@entry=0xff3aa2420) at kernel/qcoreapplication.cpp:1018
#26 0x00007f41f3f3d926 in QCoreApplication::sendEvent (event=0xff3aa2420, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xff3a57320) at kernel/qcoreapplication.cpp:1678
#28 0x00007f41f3f3deba in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1532
#29 0x00007f41f3f96754 in postEventSourceDispatch (s=0xff3aecce0) at kernel/qeventdispatcher_glib.cpp:276
#30 0x00007f41eb52e270 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00007f41eb52ff69 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007f41eb52ffae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0x00007f41f3f95d41 in QEventDispatcherGlib::processEvents (this=0xff3adf290, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007f41f3f394fb in QEventLoop::exec (this=this@entry=0x7fff0724f410, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#35 0x00007f41f3f42548 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291
#36 0x0000000ff2427c34 in ?? ()
#37 0x00007f41f358bf6a in __libc_start_main () from /usr/lib/libc.so.6
#38 0x0000000ff2427cba in _start ()
Comment 2 Nate Graham 2017-10-16 12:13:41 UTC

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