Bug 390807 - System Settings crashes when closing its window
Summary: System Settings crashes when closing its window
Status: RESOLVED DUPLICATE of bug 381630
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.12.0
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-02-20 19:46 UTC by Davide Beatrici
Modified: 2018-02-23 20:43 UTC (History)
1 user (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 Davide Beatrici 2018-02-20 19:46:57 UTC
Application: systemsettings5 (5.12.0)

Qt Version: 5.9.2
Frameworks Version: 5.42.0
Operating System: Linux 4.14.0-3-amd64 x86_64
Distribution: Debian GNU/Linux testing (buster)

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

Opening System Settings and then closing its window causes it to crash.

It happens even without changing any settings or moving to another menu.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb4e15cd080 (LWP 7237))]

Thread 2 (Thread 0x7fb4cb057700 (LWP 7239)):
#0  0x00007fb4dd089e6b in __GI___poll (fds=0x7fb4c4003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fb4d6d35119 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fb4c4003ce0, timeout=<optimized out>, context=0x7fb4c4000bf0) at ../../../../glib/gmain.c:4169
#2  g_main_context_iterate (context=context@entry=0x7fb4c4000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3863
#3  0x00007fb4d6d3522c in g_main_context_iteration (context=0x7fb4c4000bf0, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3929
#4  0x00007fb4dd9bd10b in QEventDispatcherGlib::processEvents (this=0x7fb4c4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fb4dd9622aa in QEventLoop::exec (this=this@entry=0x7fb4cb056cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fb4dd78135a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007fb4df267e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fb4dd78622d in QThreadPrivate::start (arg=0x7fb4df4dad60) at thread/qthread_unix.cpp:368
#9  0x00007fb4d92b551a in start_thread (arg=0x7fb4cb057700) at pthread_create.c:465
#10 0x00007fb4dd0943ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fb4e15cd080 (LWP 7237)):
[KCrash Handler]
#6  wl_proxy_create_wrapper (proxy=0x0) at ../src/wayland-client.c:2038
#7  0x00007fb4c0f0bd54 in get_wl_surface_proxy (window=0x558926bbe530, window=0x558926bbe530) at ../../../src/egl/drivers/dri2/platform_wayland.c:121
#8  dri2_wl_create_window_surface (drv=<optimized out>, disp=0x558921c1aa00, conf=0x558921d2a290, native_window=0x558926bbe530, attrib_list=0x0) at ../../../src/egl/drivers/dri2/platform_wayland.c:189
#9  0x00007fb4c0ef98f7 in _eglCreateWindowSurfaceCommon (disp=0x558921c1aa00, config=<optimized out>, native_window=0x558926bbe530, attrib_list=0x0) at ../../../src/egl/main/eglapi.c:903
#10 0x00007fb4c154703d in QtWaylandClient::QWaylandEglWindow::updateSurface (this=this@entry=0x558921d2b1e0, create=create@entry=true) at ../../../../hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:141
#11 0x00007fb4c15455b5 in QtWaylandClient::QWaylandGLContext::makeCurrent (this=this@entry=0x55892226e710, surface=<optimized out>) at ../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:410
#12 0x00007fb4de1934e6 in QOpenGLContext::makeCurrent (this=0x5589222695e0, surface=0x558921b58580) at kernel/qopenglcontext.cpp:984
#13 0x00007fb4de938ba7 in deleteBackingStore (d=d@entry=0x558921a9f470) at kernel/qwidget.cpp:1885
#14 0x00007fb4de941672 in QWidgetPrivate::deleteTLSysExtra (this=0x558921a9f470) at kernel/qwidget.cpp:1912
#15 0x00007fb4de946508 in QWidget::destroy (this=this@entry=0x558921a21f20, destroyWindow=destroyWindow@entry=true, destroySubWindows=destroySubWindows@entry=true) at kernel/qwidget.cpp:12409
#16 0x00007fb4de94da78 in QWidget::~QWidget (this=0x558921a21f20, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1712
#17 0x00007fb4e0b0fcad in KMainWindow::~KMainWindow (this=0x558921a21f20, __in_chrg=<optimized out>) at ./src/kmainwindow.cpp:393
#18 0x000055891ff8fbbb in SettingsBase::~SettingsBase (this=0x558921a21f20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./app/SettingsBase.cpp:73
#19 0x000055891ff8fc19 in SettingsBase::~SettingsBase (this=0x558921a21f20, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ./app/SettingsBase.cpp:76
#20 0x00007fb4dd9938e0 in QObject::event (this=this@entry=0x558921a21f20, e=e@entry=0x5589220fd060) at kernel/qobject.cpp:1237
#21 0x00007fb4de952453 in QWidget::event (this=this@entry=0x558921a21f20, event=event@entry=0x5589220fd060) at kernel/qwidget.cpp:9264
#22 0x00007fb4dea651fb in QMainWindow::event (this=this@entry=0x558921a21f20, event=event@entry=0x5589220fd060) at widgets/qmainwindow.cpp:1562
#23 0x00007fb4e0b120f7 in KMainWindow::event (this=this@entry=0x558921a21f20, ev=ev@entry=0x5589220fd060) at ./src/kmainwindow.cpp:865
#24 0x00007fb4e0b56fb5 in KXmlGuiWindow::event (this=0x558921a21f20, ev=0x5589220fd060) at ./src/kxmlguiwindow.cpp:119
#25 0x00007fb4de91363c in QApplicationPrivate::notify_helper (this=this@entry=0x558921a16a50, receiver=receiver@entry=0x558921a21f20, e=e@entry=0x5589220fd060) at kernel/qapplication.cpp:3722
#26 0x00007fb4de91af04 in QApplication::notify (this=0x7ffd83754620, receiver=0x558921a21f20, e=0x5589220fd060) at kernel/qapplication.cpp:3481
#27 0x00007fb4dd964258 in QCoreApplication::notifyInternal2 (receiver=0x558921a21f20, event=event@entry=0x5589220fd060) at kernel/qcoreapplication.cpp:1018
#28 0x00007fb4dd9669cd in QCoreApplication::sendEvent (event=0x5589220fd060, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x558921a0dc00) at kernel/qcoreapplication.cpp:1678
#30 0x00007fb4dd966f58 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1532
#31 0x00007fb4dd9bdac3 in postEventSourceDispatch (s=s@entry=0x558921a55af0) at kernel/qeventdispatcher_glib.cpp:276
#32 0x00007fb4d6d34f67 in g_main_dispatch (context=0x558921a6ae80) at ../../../../glib/gmain.c:3142
#33 g_main_context_dispatch (context=context@entry=0x558921a6ae80) at ../../../../glib/gmain.c:3795
#34 0x00007fb4d6d351a0 in g_main_context_iterate (context=context@entry=0x558921a6ae80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3868
#35 0x00007fb4d6d3522c in g_main_context_iteration (context=0x558921a6ae80, may_block=may_block@entry=1) at ../../../../glib/gmain.c:3929
#36 0x00007fb4dd9bd0ef in QEventDispatcherGlib::processEvents (this=0x558921ab1bf0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#37 0x00007fb4dd9622aa in QEventLoop::exec (this=this@entry=0x7ffd83754540, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#38 0x00007fb4dd96b214 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291
#39 0x000055891ff8ce44 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:67

Possible duplicates by query: bug 390535.

Reported using DrKonqi
Comment 1 Matej Mrenica 2018-02-23 19:51:00 UTC
Happens on Arch too.
Comment 2 Christoph Feck 2018-02-23 20:41:31 UTC
It looks like an upstream (libwayland or QtWayland) bug.

Resetting status until someone actually investigates.
Comment 3 Christoph Feck 2018-02-23 20:43:36 UTC

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