Bug 391395

Summary: kwin crashes when closing unrelated app
Product: [Plasma] kwin Reporter: pbhj
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi, triaged
Priority: NOR    
Version: 5.12.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description pbhj 2018-03-04 20:47:16 UTC
Application: kwin_x11 (5.12.2)

Qt Version: 5.9.1
Frameworks Version: 5.43.0
Operating System: Linux 4.13.0-36-generic x86_64
Distribution: Ubuntu 17.10

-- Information about the crash:
- What I was doing when the application crashed: I was kill-ing the start-tor-browser process from a console. Kwin then was reported to have crashed. System reports debug symbols can't be downloaded for some reason.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f790204c300 (LWP 23234))]

Thread 13 (Thread 0x7f7841ffb700 (LWP 23268)):
#0  0x00007f78fa9d1072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564a5139b8e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564a5139b890, cond=0x564a5139b8b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564a5139b8b8, mutex=0x564a5139b890) at pthread_cond_wait.c:655
#3  0x00007f78d250f4cb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f78d250f3e8 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f78fa9ca7fc in start_thread (arg=0x7f7841ffb700) at pthread_create.c:465
#6  0x00007f79019cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7f78427fc700 (LWP 23266)):
#0  0x00007f78fa9d1072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564a510e4f38) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564a510e4ee8, cond=0x564a510e4f10) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564a510e4f10, mutex=0x564a510e4ee8) at pthread_cond_wait.c:655
#3  0x00007f78d250f4cb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f78d250f3e8 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f78fa9ca7fc in start_thread (arg=0x7f78427fc700) at pthread_create.c:465
#6  0x00007f79019cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7f7842ffd700 (LWP 23265)):
#0  0x00007f78fa9d1072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564a510e4f38) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564a510e4ee8, cond=0x564a510e4f10) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564a510e4f10, mutex=0x564a510e4ee8) at pthread_cond_wait.c:655
#3  0x00007f78d250f4cb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f78d250f3e8 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f78fa9ca7fc in start_thread (arg=0x7f7842ffd700) at pthread_create.c:465
#6  0x00007f79019cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7f78437fe700 (LWP 23264)):
#0  0x00007f78fa9d1072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564a510e4e50) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564a510e4e00, cond=0x564a510e4e28) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564a510e4e28, mutex=0x564a510e4e00) at pthread_cond_wait.c:655
#3  0x00007f78d250f4cb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f78d250f3e8 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f78fa9ca7fc in start_thread (arg=0x7f78437fe700) at pthread_create.c:465
#6  0x00007f79019cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f7843fff700 (LWP 23263)):
#0  0x00007f78fa9d1072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564a510e4e54) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564a510e4e00, cond=0x564a510e4e28) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564a510e4e28, mutex=0x564a510e4e00) at pthread_cond_wait.c:655
#3  0x00007f78d250f4cb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f78d250f3e8 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f78fa9ca7fc in start_thread (arg=0x7f7843fff700) at pthread_create.c:465
#6  0x00007f79019cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f78489f2700 (LWP 23262)):
#0  0x00007f78fa9d1072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564a510e4e50) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564a510e4e00, cond=0x564a510e4e28) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564a510e4e28, mutex=0x564a510e4e00) at pthread_cond_wait.c:655
#3  0x00007f78d250f4cb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f78d250f3e8 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f78fa9ca7fc in start_thread (arg=0x7f78489f2700) at pthread_create.c:465
#6  0x00007f79019cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f78d0b01700 (LWP 23261)):
#0  0x00007f78fa9d1072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564a510e54a0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564a510e5450, cond=0x564a510e5478) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564a510e5478, mutex=0x564a510e5450) at pthread_cond_wait.c:655
#3  0x00007f78d250f4cb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f78d250f3e8 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f78fa9ca7fc in start_thread (arg=0x7f78d0b01700) at pthread_create.c:465
#6  0x00007f79019cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f78d1302700 (LWP 23260)):
#0  0x00007f78fa9d1072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x564a50f45430) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x564a50f453e0, cond=0x564a50f45408) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x564a50f45408, mutex=0x564a50f453e0) at pthread_cond_wait.c:655
#3  0x00007f78d250f4cb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007f78d250f3e8 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007f78fa9ca7fc in start_thread (arg=0x7f78d1302700) at pthread_create.c:465
#6  0x00007f79019cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f78dcf50700 (LWP 23259)):
#0  0x00007f78fa9d1072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f78fdf9efb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x7f78fdf9ef68, cond=0x7f78fdf9ef90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f78fdf9ef90, mutex=0x7f78fdf9ef68) at pthread_cond_wait.c:655
#3  0x00007f78fdcaabd4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f78fdcaac19 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f78fa9ca7fc in start_thread (arg=0x7f78dcf50700) at pthread_create.c:465
#6  0x00007f79019cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f78de351700 (LWP 23258)):
#0  0x00007f79019c3a4b in __GI_ppoll (fds=0x7f78cc000d18, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f78fedb1151 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f78fedb286e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f78fed5ae3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f78feb7a3ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f78f94b4f45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f78feb7f29d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f78fa9ca7fc in start_thread (arg=0x7f78de351700) at pthread_create.c:465
#8  0x00007f79019cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f78e50a2700 (LWP 23250)):
#0  0x00007f79019c3a4b in __GI_ppoll (fds=0x7f78d800e768, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f78fedb1151 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f78fedb286e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f78fed5ae3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f78feb7a3ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f78f8378e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f78feb7f29d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f78fa9ca7fc in start_thread (arg=0x7f78e50a2700) at pthread_create.c:465
#8  0x00007f79019cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f78e751a700 (LWP 23243)):
#0  0x00007f79019c3951 in __GI___poll (fds=0x7f78e7519b78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f79008ce747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f79008d053a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f78e7fd4f09 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f78feb7f29d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f78fa9ca7fc in start_thread (arg=0x7f78e751a700) at pthread_create.c:465
#6  0x00007f79019cfb5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f790204c300 (LWP 23234)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f79014c35cd in KWin::Workspace::constrainedStackingOrder() () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#8  0x00007f79014c3d98 in KWin::Workspace::updateStackingOrder(bool) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#9  0x00007f79014c4320 in KWin::Workspace::blockStackingUpdates(bool) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#10 0x00007f790146f520 in KWin::Client::destroyClient() () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007f79014cefc9 in KWin::Client::unmapNotifyEvent(xcb_unmap_notify_event_t*) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#12 0x00007f79014d26cb in KWin::Client::windowEvent(xcb_generic_event_t*) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007f79014d3055 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
#14 0x00007f78fed599cf in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f78e7fd6480 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#16 0x00007f78e7fd710c in QXcbConnection::processXcbEvents() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#17 0x00007f78fed8c452 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f78ffadf46c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f78ffae6d34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f78fed5cde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f78fed5f55d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f78fedb2684 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f78e80379ad in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#24 0x00007f78fed5ae3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f78fed63da4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f7901ca3dbb in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#27 0x00007f79018dc1c1 in __libc_start_main (main=0x564a4f301730, argc=3, argv=0x7ffd84c76fa8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd84c76f98) at ../csu/libc-start.c:308
#28 0x0000564a4f30176a in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 383209.

Possible duplicates by query: bug 389201, bug 383965, bug 383209.

Reported using DrKonqi
Comment 1 Martin Flöser 2018-03-05 05:15:30 UTC
Unfortunately the backtrace is lacking debug symbols. If you are able to reproduce please install debug packages and attach a new backtrace.
Comment 2 Andrew Crouthamel 2018-09-28 03:25:47 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 set the bug status 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 3 Andrew Crouthamel 2018-10-29 02:23:07 UTC
Dear Bug Submitter,

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!
Comment 4 Vlad Zahorodnii 2018-11-26 09:12:26 UTC
Hi! Could you please shed light on several things: Is this happening only when killing the tor browser? How often this happens? Did you find a reliable way to reproduce the crash?