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

Andreas H <andreas.harat...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/commit/6c9026628cdb
                   |                            |fd38baeeceb48e672c5458e93f8
                   |                            |e
         Resolution|---                         |FIXED

--- Comment #4 from Andreas H <andreas.harat...@gmail.com> ---
Git commit 6c9026628cdbfd38baeeceb48e672c5458e93f8e by Andreas Haratzis.
Committed on 08/07/2020 at 01:33.
Pushed by apol into branch 'master'.

Fix DrmOutput sometimes being freed with a pending pageflip, often when waking
from sleep.

It is possible for updateOutputs to be called when a pageflip is pending.
Freeing a DrmOutput with a pending pageflip is not allowed (see ~DrmOutput
assert - the page flip handler will be called on the freed memory, possibly
leading to use-after-free).
This works around the problem by delaying the destruction with teardown().

M  +5    -1    plugins/platforms/drm/drm_backend.cpp

https://invent.kde.org/plasma/kwin/commit/6c9026628cdbfd38baeeceb48e672c5458e93f8e

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

Reply via email to