Bug 389201

Summary: kwin crashed
Product: [Plasma] kwin Reporter: gosella
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: rhautz
Priority: NOR Keywords: drkonqi, triaged
Version: 5.11.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description gosella 2018-01-19 12:33:05 UTC
Application: kwin_x11 (5.11.5)

Qt Version: 5.10.0
Frameworks Version: 5.42.0
Operating System: Linux 4.14.13-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
I was doing Alt-Tab to switch between applications.
After the crash, a black square appears at the upper left corner of the screen (with a tooltip saying 'Clementine').

The crash can be reproduced sometimes.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5573e53840 (LWP 951))]

Thread 6 (Thread 0x7f54c35ff700 (LWP 1679)):
#0  0x00007f556c71539d in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5570b8c00c in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f556b8df9ca in  () at /usr/lib/libQt5Quick.so.5
#3  0x00007f556b8dfe54 in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f5570b8ab2d in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f556c70f08c in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f55737fee1f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f555082d700 (LWP 1010)):
#0  0x00007f556c71539d in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f556fcdff77 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f556fcdffb9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f556c70f08c in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f55737fee1f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f5551a7e700 (LWP 1001)):
#0  0x00007f5570b81d2c in QMutex::lock() () at /usr/lib/libQt5Core.so.5
#1  0x00007f5570d7a375 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f5570dd0ca6 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f5570d75d0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f5570b8578e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f556b1e1a19 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f5570b8ab2d in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f556c70f08c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f55737fee1f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f5553fff700 (LWP 961)):
#0  0x00007f55737f4a16 in ppoll () at /usr/lib/libc.so.6
#1  0x00007f5570dcf6f3 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5
#2  0x00007f5570dd0e8f in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007f5570d75d0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f5570b8578e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007f556a355416 in  () at /usr/lib/libQt5DBus.so.5
#6  0x00007f5570b8ab2d in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f556c70f08c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f55737fee1f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f555a573700 (LWP 952)):
#0  0x00007f55737f491b in poll () at /usr/lib/libc.so.6
#1  0x00007f55728f48e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f55728f6679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f555b6607aa in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f5570b8ab2d in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f556c70f08c in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f55737fee1f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f5573e53840 (LWP 951)):
[KCrash Handler]
#5  0x0000000000000000 in  ()
#6  0x00007f55732ed09d in KWin::Workspace::constrainedStackingOrder() () at /usr/lib/libkwin.so.5
#7  0x00007f55732ede81 in KWin::Workspace::updateStackingOrder(bool) () at /usr/lib/libkwin.so.5
#8  0x00007f55732ee221 in KWin::Workspace::blockStackingUpdates(bool) () at /usr/lib/libkwin.so.5
#9  0x00007f5573295d74 in KWin::Client::destroyClient() () at /usr/lib/libkwin.so.5
#10 0x00007f55732faa3f in KWin::Client::unmapNotifyEvent(xcb_unmap_notify_event_t*) () at /usr/lib/libkwin.so.5
#11 0x00007f55732fe714 in KWin::Client::windowEvent(xcb_generic_event_t*) () at /usr/lib/libkwin.so.5
#12 0x00007f55732ff87a in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/libkwin.so.5
#13 0x00007f5570d7473f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/libQt5Core.so.5
#14 0x00007f555b662372 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#15 0x00007f555b662ffe in QXcbConnection::processXcbEvents() () at /usr/lib/libQt5XcbQpa.so.5
#16 0x00007f5570da8932 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007f5571af1e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f5571af9816 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f5570d776c0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f5570d7a326 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#21 0x00007f5570dd0ca6 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#22 0x00007f555b6e858e in  () at /usr/lib/libQt5XcbQpa.so.5
#23 0x00007f5570d75d0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x00007f5570d7eff8 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#25 0x00007f5573ac86e3 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so
#26 0x00007f5573729f4a in __libc_start_main () at /usr/lib/libc.so.6
#27 0x00005561164ae7aa in _start ()

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

Possible duplicates by query: bug 370244, bug 369318.

Reported using DrKonqi
Comment 1 Martin Flöser 2018-01-19 19:39:16 UTC
Arch -> useless backtrace. Please complain to Arch for having allowed you to create this bug report.
Comment 2 Roland Hautz 2018-03-13 19:06:07 UTC
Created attachment 111379 [details]
New crash information added by DrKonqi

kwin_x11 (5.12.3) using Qt 5.9.4

- What I was doing when the application crashed:
Alt-Tab shortly after one window terminated normally

-- Backtrace (Reduced):
#7  0x00007ffff7406dbd in KWin::Workspace::constrainedStackingOrder() () from /usr/lib64/libkwin.so.5
#8  0x00007ffff74075d0 in KWin::Workspace::updateStackingOrder(bool) () from /usr/lib64/libkwin.so.5
#9  0x00007ffff74078e0 in KWin::Workspace::blockStackingUpdates(bool) () from /usr/lib64/libkwin.so.5
#10 0x00007ffff73b04cd in KWin::Client::destroyClient() () from /usr/lib64/libkwin.so.5
#11 0x00007ffff7413286 in KWin::Client::unmapNotifyEvent(xcb_unmap_notify_event_t*) () from /usr/lib64/libkwin.so.5
Comment 3 Andrew Crouthamel 2018-09-28 03:33:18 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 4 Andrew Crouthamel 2018-10-29 02:13:19 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 5 Vlad Zahorodnii 2018-11-26 09:17:04 UTC
Hi! How often this happens? Did you find a reliable way to reproduce the crash?
Comment 6 gosella 2018-12-14 21:21:39 UTC
(In reply to Vlad Zagorodniy from comment #5)
> Hi! How often this happens? Did you find a reliable way to reproduce the
> crash?

Sorry but it's been so long since I reported this bug...
Arch Linux now ships kwin 5.14.4, which luckily doesn't show this behavior (and it hadn't have done it for a while).