[Webkit-unassigned] [Bug 240283] [GTK] Crash in WebCore::TextureMapperLayer::paintSelf

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 25 07:26:41 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=240283

--- Comment #9 from Adrian Perez <aperez at igalia.com> ---
(In reply to Miguel Gomez from comment #7)

> [...]
> 
> diff --git
> a/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyGL.
> cpp
> b/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyGL.
> cpp
> index 8d60d142089f..89dec13a6c28 100644
> ---
> a/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyGL.
> cpp
> +++
> b/Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyGL.
> cpp
> @@ -94,7 +94,10 @@ void TextureMapperPlatformLayerProxyGL::invalidate()
>      {
>          Locker locker { m_lock };
>          m_compositor = nullptr;
> -        m_targetLayer = nullptr;
> +        if (m_targetLayer) {
> +            m_targetLayer->setContentsLayer(nullptr);
> +            m_targetLayer = nullptr;
> +        }
>  
>          m_currentBuffer = nullptr;
>          m_pendingBuffer = nullptr;

I did a local build with this patch, but I still managed to trigger the
issue. It seems to be a bit easier to trigger by switching quality
settings using the gear icon in YouTube videos *after* having entered
fullscreen.

I am doing now one more build with both this and your other suggested
patch to see what happens :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220525/599fee19/attachment.htm>


More information about the webkit-unassigned mailing list