Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bd89b1e2d4fe054cfa5c9b262a752d5c5d311b58
https://github.com/WebKit/WebKit/commit/bd89b1e2d4fe054cfa5c9b262a752d5c5d311b58
Author: Nikolas Zimmermann <[email protected]>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M Source/WebCore/platform/graphics/gbm/DRMDeviceManager.cpp
Log Message:
-----------
[GTK] Memory corruption when destroying DRMDeviceManager in exit handler
https://bugs.webkit.org/show_bug.cgi?id=315577
Reviewed by Michael Catanzaro.
The heap corruption reported in the bug comes from the EGL race fixed in bug
305909.
~DRMDeviceManager only showed up in the backtrace because its free() was the
first
to trip over the corrupted heap....
Transform DRMDeviceManager singleton into a NeverDestroyed, like other
singletons,
so it has no exit-time destructor - it's only a cleanup, the underlying
crash has already been fixed with other bug fix.
* Source/WebCore/platform/graphics/gbm/DRMDeviceManager.cpp:
(WebCore::DRMDeviceManager::singleton):
Canonical link: https://commits.webkit.org/321785@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications