Bug 398529 - Kwin crash after closing app
Summary: Kwin crash after closing app
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.13.5
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2018-09-12 06:28 UTC by Muhammad Andryan Noor
Modified: 2018-10-29 02:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (6.83 KB, text/plain)
2018-09-12 09:41 UTC, Muhammad Andryan Noor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Andryan Noor 2018-09-12 06:28:49 UTC
Application: kwin_x11 (5.13.5)

Qt Version: 5.11.1
Frameworks Version: 5.50.0
Operating System: Linux 4.15.0-34-generic x86_64
Distribution: KDE neon User Edition 5.13

-- Information about the crash:
- What I was doing when the application crashed:
I opened pdf document with Okular (in maximized window and BorderLess), then when I close Okular, Kwin crash. Sometimes the same issue happen at the first time opening any apps (when close it), but the issue gone at the second time opening any apps (when close it).

The issue appears only when I try to close it.

I use Window Active Control widget within Latte-Dock panel. and I activate Window Active Control's button only when I maximazed any windows' app with BorderLess.

The crash can be reproduced sometimes.

-- 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 0x7f688d8b4840 (LWP 13414))]

Thread 4 (Thread 0x7f68561ff700 (LWP 13457)):
#0  0x00007f68862579f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f68897f7fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f68862579f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7f68897f7f68, cond=0x7f68897f7f90) at pthread_cond_wait.c:502
#2  0x00007f68862579f3 in __pthread_cond_wait (cond=0x7f68897f7f90, mutex=0x7f68897f7f68) at pthread_cond_wait.c:655
#3  0x00007f6889502954 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007f6889502999 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007f68862516db in start_thread (arg=0x7f68561ff700) at pthread_create.c:463
#6  0x00007f688d21a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f68677fe700 (LWP 13446)):
#0  0x00007f688d20dcf6 in __GI_ppoll (fds=0x7f6858000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f688a5f37a1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f688a5f4eae in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f688a59bdea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f688a3c6b8a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f6884cde8b5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f688a3d1aab in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f68862516db in start_thread (arg=0x7f68677fe700) at pthread_create.c:463
#8  0x00007f688d21a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f686e571700 (LWP 13424)):
#0  0x00007f688d20dcf6 in __GI_ppoll (fds=0x7f686800e878, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f688a5f37a1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f688a5f4eae in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f688a59bdea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f688a3c6b8a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f6883bd0e45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f688a3d1aab in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f68862516db in start_thread (arg=0x7f686e571700) at pthread_create.c:463
#8  0x00007f688d21a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f688d8b4840 (LWP 13414)):
[KCrash Handler]
#6  0x00007f688ccd3572 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#7  0x00007f688ccd38e0 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#8  0x00007f688cd2fdb3 in KWin::Workspace::activateNextClient(KWin::AbstractClient*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#9  0x00007f688ccb3a0b in KWin::Client::releaseWindow(bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#10 0x00007f688cd1152a in KWin::Client::unmapNotifyEvent(xcb_unmap_notify_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007f688cd14bab in KWin::Client::windowEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#12 0x00007f688cd15535 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007f688a59a97f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f6875bacc70 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#15 0x00007f6875bad8ec in QXcbConnection::processXcbEvents() () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#16 0x00007f688a5cd642 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f688b32ae8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f688b33245f in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f688a59dab8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f688a5a05fd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f688a5f4cc4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f6875c3616d in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#23 0x00007f688a59bdea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f688a5a4fa0 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f688d4f2dab in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#26 0x00007f688d11ab97 in __libc_start_main (main=0x555da7ae9720, argc=3, argv=0x7ffed2df62b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffed2df62a8) at ../csu/libc-start.c:310
#27 0x0000555da7ae975a in _start ()

Reported using DrKonqi
Comment 1 Martin Flöser 2018-09-12 07:09:51 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 Muhammad Andryan Noor 2018-09-12 09:41:35 UTC
Created attachment 114913 [details]
New crash information added by DrKonqi

kwin_x11 (5.13.5) using Qt 5.11.1

Kwin_x11 crash (https://bugs.kde.org/show_bug.cgi?id=398529)

-- Backtrace (Reduced):
#6  0x0000002500000000 in  ()
#7  0x00007fc869d61578 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#8  0x00007fc869d618e0 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#9  0x00007fc869dbddb3 in KWin::Workspace::activateNextClient(KWin::AbstractClient*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#10 0x00007fc869d41fcf in KWin::Client::internalHide() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
Comment 3 Muhammad Andryan Noor 2018-09-12 09:46:59 UTC
(In reply to Martin Flöser from comment #1)
> Unfortunately the backtrace is lacking debug symbols. If you are able to
> reproduce please install debug packages and attach a new backtrace.

I've installed kwin_x11-dbgsym, perhaps the following is what you need
Comment 4 Muhammad Andryan Noor 2018-09-12 09:48:01 UTC
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 0x7fc86a942840 (LWP 1237))]

Thread 4 (Thread 0x7fc8337fe700 (LWP 1358)):
#0  0x00007fc8632e59f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fc866885fb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fc8632e59f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7fc866885f68, cond=0x7fc866885f90) at pthread_cond_wait.c:502
#2  0x00007fc8632e59f3 in __pthread_cond_wait (cond=0x7fc866885f90, mutex=0x7fc866885f68) at pthread_cond_wait.c:655
#3  0x00007fc866590954 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007fc866590999 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007fc8632df6db in start_thread (arg=0x7fc8337fe700) at pthread_create.c:463
#6  0x00007fc86a2a888f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fc849796700 (LWP 1323)):
#0  0x00007fc86a29bcf6 in __GI_ppoll (fds=fds@entry=0x7fc840000d28, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fc8676817a1 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  0x00007fc8676817a1 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fc840000d28) at kernel/qcore_unix.cpp:112
#3  0x00007fc8676817a1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7fc840000d28, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#4  0x00007fc867682eae in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007fc867629dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc849795d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fc867454b8a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007fc861d6c8b5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fc86745faab in QThreadPrivate::start(void*) (arg=0x557a1752f470) at thread/qthread_unix.cpp:367
#9  0x00007fc8632df6db in start_thread (arg=0x7fc849796700) at pthread_create.c:463
#10 0x00007fc86a2a888f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fc84b671700 (LWP 1288)):
#0  0x00007fc86a29bcf6 in __GI_ppoll (fds=fds@entry=0x7fc84400b388, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fc8676817a1 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  0x00007fc8676817a1 in qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7fc84400b388) at kernel/qcore_unix.cpp:112
#3  0x00007fc8676817a1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) (fds=0x7fc84400b388, nfds=1, timeout_ts=timeout_ts@entry=0x0) at kernel/qcore_unix.cpp:133
#4  0x00007fc867682eae in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:500
#5  0x00007fc867629dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc84b670d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fc867454b8a in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:525
#7  0x00007fc860c5ee45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007fc86745faab in QThreadPrivate::start(void*) (arg=0x7fc860ed6d60) at thread/qthread_unix.cpp:367
#9  0x00007fc8632df6db in start_thread (arg=0x7fc84b671700) at pthread_create.c:463
#10 0x00007fc86a2a888f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fc86a942840 (LWP 1237)):
[KCrash Handler]
#6  0x0000002500000000 in  ()
#7  0x00007fc869d61578 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#8  0x00007fc869d618e0 in  () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#9  0x00007fc869dbddb3 in KWin::Workspace::activateNextClient(KWin::AbstractClient*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#10 0x00007fc869d41fcf in KWin::Client::internalHide() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007fc869d449de in KWin::Client::doMinimize() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#12 0x00007fc869d38477 in KWin::AbstractClient::minimize(bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007fc86765b642 in QObject::event(QEvent*) (this=0x557a17ad7f70, e=<optimized out>) at kernel/qobject.cpp:1251
#14 0x00007fc8683b8e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x557a17381390, receiver=receiver@entry=0x557a17ad7f70, e=e@entry=0x7fc84c030fb0) at kernel/qapplication.cpp:3727
#15 0x00007fc8683c045f in QApplication::notify(QObject*, QEvent*) (this=0x7ffc9c1ff6c0, receiver=0x557a17ad7f70, e=0x7fc84c030fb0) at kernel/qapplication.cpp:3486
#16 0x00007fc86762bab8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x557a17ad7f70, event=event@entry=0x7fc84c030fb0) at kernel/qcoreapplication.cpp:1048
#17 0x00007fc86762e5fd in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x7fc84c030fb0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#18 0x00007fc86762e5fd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x557a17372240) at kernel/qcoreapplication.cpp:1745
#19 0x00007fc867682cc4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x557a173c8000, flags=...) at kernel/qeventdispatcher_unix.cpp:466
#20 0x00007fc852cc416d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:68
#21 0x00007fc867629dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc9c1ff5d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#22 0x00007fc867632fa0 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1336
#23 0x00007fc86a580dab in kdemain(int, char**) (argc=<optimized out>, argv=0x7ffc9c1ff858) at ./main_x11.cpp:468
#24 0x00007fc86a1a8b97 in __libc_start_main (main=0x557a16bb0720 <main>, argc=3, argv=0x7ffc9c1ff858, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc9c1ff848) at ../csu/libc-start.c:310
#25 0x0000557a16bb075a in _start ()
Comment 5 Andrew Crouthamel 2018-09-28 03:31:53 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 6 Andrew Crouthamel 2018-10-29 02:21:49 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!