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

Matt Fagnani <matthew.fagn...@utoronto.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|5.20.3                      |5.20.4

--- Comment #2 from Matt Fagnani <matthew.fagn...@utoronto.ca> ---
I've seen kwin_wayland crashes with this trace seven times with Plasma 5.20.3
and six times with 5.20.4. Each crash happened when using Firefox Nightly
84.0a1-86.0a1 on Wayland. All but one crash occurred while moving the cursor
over the bookmark folders. One crash happened on the bugs.kde.org Advanced
search page when I clicked on a popup box in the Custom Search area
https://bugs.kde.org/query.cgi?format=advanced

I've had WebRender compositing enabled in Firefox by going into about:config
and setting gfx.webrender.all=true, gfx.webrender.enabled=true. Having
WebRender enabled might be needed for this crash to happen. Robert Mader
commented "It just occurred to me that with Webrender enabled mesa will commit
our surface in dri2_wl_swap_buffers_with_damage which we call in
GLContextEGL::SwapBuffers(). So even if when using
moz_container_wayland_surface_lock there's still a chance that the surface will
get commited behind our back, potentially freeing it IIUC.

So maybe we have to extent our surface locking to GLContextEGL::SwapBuffers()
as well somehow.
"
https://bugzilla.mozilla.org/show_bug.cgi?id=1655282#c10

Robert wrote a patch to lock the surface in GLContextEGL::SwapBuffers
https://bugzilla.mozilla.org/show_bug.cgi?id=1680961

Checking that the pointer this or d isn't null in
KWaylandServer::SurfaceInterface::subSurface before surface_interface.cpp:792
might avoid the crash at least until the problem is fixed in Firefox.

QPointer< SubSurfaceInterface > SurfaceInterface::subSurface() const
{
    return d->subSurface;
}

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

Reply via email to