[Mesa-dev] [Bug 109560] Sometimes VLC player process gets stuck in memory after closure if video output used is Auto or OpenGL

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 19 17:00:58 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=109560

Michel Dänzer <michel at daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Mesa core                   |GLX

--- Comment #8 from Michel Dänzer <michel at daenzer.net> ---
(In reply to Michel Dänzer from comment #7)
> > [...] maybe the X server failed to send an event when it should
> > (e.g. because the window was unmapped).

I've now confirmed this is what's happening. VLC has already destroyed the X11
window at this point, so the X server can't send any Present events for it
anymore.

It might be tricky to make Mesa robust against this... While the GLX spec says
this should be handled gracefully, I suspect it might be easier for VLC to
destroy the GLX context before the window.


> > Most likely not an XCB issue though.
> 
> I'm not sure about this anymore, since thread 6 (from Qt) is stuck in
> xcb_wait_for_event.

That's using a different XCB display handle, so unrelated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190719/c4123a61/attachment-0001.html>


More information about the mesa-dev mailing list