Bug 404632 - Yet another crash in constrainedStackingOrder
Summary: Yet another crash in constrainedStackingOrder
Status: RESOLVED DUPLICATE of bug 317765
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.12.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-02-21 07:32 UTC by izll
Modified: 2019-02-21 12:05 UTC (History)
0 users

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 izll 2019-02-21 07:32:12 UTC
Application: kwin_x11 (5.12.7)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-32-generic x86_64
Distribution: Ubuntu 18.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Write an e-mail with thunderbird, then clicked to taskbar to a vlc icon, that plays a video.

-- 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 0x7fccf0a15040 (LWP 18049))]

Thread 5 (Thread 0x7fcccf7fe700 (LWP 20474)):
#0  0x00007fccefc519f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fccd0019b9c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fccefc519f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7fccd0019b48, cond=0x7fccd0019b70) at pthread_cond_wait.c:502
#2  0x00007fccefc519f3 in __pthread_cond_wait (cond=0x7fccd0019b70, mutex=0x7fccd0019b48) at pthread_cond_wait.c:655
#3  0x00007fcc38150b1b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fcc38150847 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fccefc4b6db in start_thread (arg=0x7fcccf7fe700) at pthread_create.c:463
#6  0x00007fccf018888f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fccccf55700 (LWP 18150)):
#0  0x00007fccefc519f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fccec35bfb8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fccefc519f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x7fccec35bf68, cond=0x7fccec35bf90) at pthread_cond_wait.c:502
#2  0x00007fccefc519f3 in __pthread_cond_wait (cond=0x7fccec35bf90, mutex=0x7fccec35bf68) at pthread_cond_wait.c:655
#3  0x00007fccec0655f4 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#4  0x00007fccec065639 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#5  0x00007fccefc4b6db in start_thread (arg=0x7fccccf55700) at pthread_create.c:463
#6  0x00007fccf018888f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fccced86700 (LWP 18140)):
#0  0x00007fccf017bcf6 in __GI_ppoll (fds=0x7fccc4000d28, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fcced15a5c1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fcced15bcde in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fcced1039ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fccecf2222a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcce7ac96f5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007fccecf2716d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fccefc4b6db in start_thread (arg=0x7fccced86700) at pthread_create.c:463
#8  0x00007fccf018888f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fcccffff700 (LWP 18070)):
#0  0x00007fccf017bcf6 in __GI_ppoll (fds=0x7fccc800afb8, nfds=1, timeout=<optimized out>, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007fcced15a5c1 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007fcced15bcde in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fcced1039ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fccecf2222a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcce69a2d45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007fccecf2716d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fccefc4b6db in start_thread (arg=0x7fcccffff700) at pthread_create.c:463
#8  0x00007fccf018888f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fccf0a15040 (LWP 18049)):
[KCrash Handler]
#6  0x00007fccf04531b0 in main_arena () at /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007fccef850d6d in KWin::Workspace::constrainedStackingOrder() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#8  0x00007fccef851538 in KWin::Workspace::updateStackingOrder(bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#9  0x00007fccef851ac0 in KWin::Workspace::blockStackingUpdates(bool) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#10 0x00007fccef7fc870 in KWin::Client::destroyClient() () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#11 0x00007fccef85c769 in KWin::Client::unmapNotifyEvent(xcb_unmap_notify_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#12 0x00007fccef85fe6b in KWin::Client::windowEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#13 0x00007fccef8607f5 in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libkwin.so.5
#14 0x00007fcced10258f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fccd7b5b820 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#16 0x00007fccd7b5c4ac in QXcbConnection::processXcbEvents() () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#17 0x00007fcced135122 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fccede8382c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fccede8b0f4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fcced1059a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fcced10811d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fcced15baf4 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007fccd7bbd5cd in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#24 0x00007fcced1039ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007fcced10ca84 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fccf0460dbb in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_kwin_x11.so
#27 0x00007fccf0088b97 in __libc_start_main (main=0x55e6787a0730, argc=3, argv=0x7ffde29b66a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffde29b6698) at ../csu/libc-start.c:310
#28 0x000055e6787a076a in _start ()

Possible duplicates by query: bug 383209.

Reported using DrKonqi
Comment 1 Vlad Zahorodnii 2019-02-21 08:56:35 UTC
Could you please provide more detailed steps to reproduce? Given KWin::Client::destroyClient, some window had been closed. It's very hard to reproduce this bug, so it would be great if you could provide as much as possible detailed steps to reproduce.

Also, do you use any scripts?
Comment 2 izll 2019-02-21 09:07:27 UTC
(In reply to Vlad Zagorodniy from comment #1)
> Could you please provide more detailed steps to reproduce? Given
> KWin::Client::destroyClient, some window had been closed. It's very hard to
> reproduce this bug, so it would be great if you could provide as much as
> possible detailed steps to reproduce.
> 
> Also, do you use any scripts?

Hi,

Only thunderbird main window, and e-mail window was open in foreground. I was send the mail, so the mail window closed, e-mail sent successfully. Then 1 clicked the vlc icon at taskbar (icons are grouped). Two vlc was opened, and I clicked one of the running vlc title.

By the way there are so many apps running in background:
Viber, Double Commander, Intellij Idea, KCalc, Picture Viewer, Konsole, Libreoffice Draw and Calc, Notepadqq, Okular, Sublime Text, Cura, AnyDesk, Teamviewer, SQL Manager (Wine), Shift, Chrome and Thunderbird, VLC
Comment 3 Vlad Zahorodnii 2019-02-21 09:22:48 UTC
How often the crash occurs?
Comment 4 Vlad Zahorodnii 2019-02-21 11:48:12 UTC

*** This bug has been marked as a duplicate of bug 317765 ***
Comment 5 izll 2019-02-21 11:51:20 UTC
Rarely, about 2 times a week.
Comment 6 Vlad Zahorodnii 2019-02-21 11:57:33 UTC
(In reply to izll from comment #5)
> Rarely, about 2 times a week.

If you find a reliable way to reproduce the crash please write it down in bug 317765.

I wasted hours trying to reproduce the crash with no luck. Practically every related bug report doesn't provide enough information what bug reporter was doing, which makes things even more difficult... :(
Comment 7 izll 2019-02-21 12:05:58 UTC
(In reply to Vlad Zagorodniy from comment #6)
> (In reply to izll from comment #5)
> > Rarely, about 2 times a week.
> 
> If you find a reliable way to reproduce the crash please write it down in
> bug 317765.
> 
> I wasted hours trying to reproduce the crash with no luck. Practically every
> related bug report doesn't provide enough information what bug reporter was
> doing, which makes things even more difficult... :(

Okey, I understend, and sorry about it. If the problem reappears, i'm telling you what I'm doing before.

Thanks for developing KDE, it's a best desktop environment :)
Best Regards,
izll