https://bugs.kde.org/show_bug.cgi?id=402965

            Bug ID: 402965
           Summary: Assertion failure in windowClosed
           Product: kwin
           Version: 5.14.4
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: core
          Assignee: kwin-bugs-n...@kde.org
          Reporter: u...@unascribed.com
  Target Milestone: ---

SUMMARY
Getting an "Assertion `m_windows.contains(c)' failed." error that crashes Kwin.
Happens at random when closing some windows; what windows cause it is more or
less consistent but I don't see any particular pattern. I got it once when
System Settings stopped responding, I get it consistently when closing a
particular Konsole window that was saved with my session, and I got it once
when clicking OK in the "About System" dialog. Makes the Wayland session
unusable — which is sad because everything else was working perfectly for me.

STEPS TO REPRODUCE
1. Open windows, or have windows open as part of session restore
2. Close a window

OBSERVED RESULT
Kwin sometimes crashes with an assertion failure, kicking you back to the
display manager

EXPECTED RESULT
Kwin always continues running

SOFTWARE/OS VERSIONS
Linux: 4.15.14-041514-generic
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.53.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION

Relevant part of my log:

> Using Wayland-EGL
> Using the 'xdg-shell-v6' shell integration
> file:///usr/share/plasma/plasmoids/org.kde.plasma.pager/contents/ui/main.qml:426:
>  TypeError: Cannot read property '0' of undefined
> kwin_wayland: /workspace/build/scene.cpp:412: void 
> KWin::Scene::windowClosed(KWin::Toplevel*, KWin::Deleted*): Assertion 
> `m_windows.contains(c)' failed.
> QSocketNotifier: Invalid socket 21 and type 'Read', disabling...
> (EE) 
> Fatal server error:
> (EE) failed to read Wayland events: Broken pipe
> (EE) 
> The Wayland connection broke. Did the Wayland compositor die?
> The Wayland connection broke. Did the Wayland compositor die?
> The Wayland connection broke. Did the Wayland compositor die?

(Bug #400129 contains the same assertion failure, but is about a fixed Xwayland
crash.)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to