<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>311789</bug_id>
          
          <creation_ts>2026-04-08 21:33:07 -0700</creation_ts>
          <short_desc>[GTK] ASSERTION FAILED: GLContextWrapper::currentContext() in WebCore::BitmapTexturePool::acquireTexture()</short_desc>
          <delta_ts>2026-04-09 00:01:20 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>DoNotImportToRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Fujii Hironori">fujii</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2198243</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2026-04-08 21:33:07 -0700</bug_when>
    <thetext>[GTK] ASSERTION FAILED: GLContextWrapper::currentContext() in WebCore::BitmapTexturePool::acquireTexture()

I&apos;m seeing the following assertion failure twice today while browsing some web sites with GTK debug build of 310680@main.
I don&apos;t know how to reproduce it. It&apos;s not easy to reproduce.

ASSERTION FAILED: GLContextWrapper::currentContext()
../../../Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp(73) : Ref&lt;BitmapTexture&gt; WebCore::BitmapTexturePool::acquireTexture(const IntSize &amp;, OptionSet&lt;BitmapTexture::Flags&gt;)
1   0x7fc50730a622 WebCore::BitmapTexturePool::acquireTexture(WebCore::IntSize const&amp;, WTF::OptionSet&lt;WebCore::BitmapTexture::Flags, (WTF::ConcurrencyTag)0&gt;)
2   0x7fc50735a0c4 WebCore::ScrollerCoordinated::updateValues()
3   0x7fc50735c20d WebCore::ScrollerPairCoordinated::updateValues()
4   0x7fc507364fa5 WebCore::ScrollingTreeScrollingNodeDelegateCoordinated::updateVisibleLengths()
5   0x7fc507362e9e WebCore::ScrollingTreeFrameScrollingNodeCoordinated::repositionRelatedLayers()
6   0x7fc50d1eb46a WebCore::ScrollingTreeScrollingNode::applyLayerPositions()
7   0x7fc50d1b9812 WebCore::ScrollingTree::applyLayerPositionsRecursive(WebCore::ScrollingTreeNode&amp;)
8   0x7fc50d1b97e0 WebCore::ScrollingTree::applyLayerPositionsInternal()
9   0x7fc50735e6e6 WebCore::ScrollingTreeCoordinated::applyLayerPositionsInternal()
10  0x7fc50d1b970e WebCore::ScrollingTree::applyLayerPositions()
11  0x7fc50d145bb2 WebCore::AsyncScrollingCoordinator::applyScrollingTreeLayerPositions()
12  0x7fc50cfbeadd WebCore::Page::finalizeRenderingUpdateForRootFrame(WebCore::LocalFrame&amp;, WTF::OptionSet&lt;WebCore::FinalizeRenderingUpdateFlags, (WTF::ConcurrencyTag)0&gt;)
13  0x7fc50cfbe856 WebCore::Page::finalizeRenderingUpdate(WTF::OptionSet&lt;WebCore::FinalizeRenderingUpdateFlags, (WTF::ConcurrencyTag)0&gt;)
14  0x7fc506db6d89 WebKit::WebPage::finalizeRenderingUpdate(WTF::OptionSet&lt;WebCore::FinalizeRenderingUpdateFlags, (WTF::ConcurrencyTag)0&gt;)
15  0x7fc506e7d387 WebKit::LayerTreeHost::updateRendering()
16  0x7fc506e7c051 WebKit::FrameRenderer::renderingUpdateRunLoopObserverFired()
17  0x7fc506e84478 WebKit::FrameRenderer::FrameRenderer()::$_0::operator()() const
18  0x7fc506e84459 WTF::Detail::CallableWrapper&lt;WebKit::FrameRenderer::FrameRenderer()::$_0, void&gt;::call()
19  0x7fc50437a7a2 WTF::Function&lt;void ()&gt;::operator()() const
20  0x7fc50d29232b WebCore::RunLoopObserver::runLoopObserverFired()
21  0x7fc50d411088 WebCore::RunLoopObserver::schedule(WTF::RefPtr&lt;WTF::RunLoop, WTF::RawPtrTraits&lt;WTF::RunLoop&gt;, WTF::DefaultRefDerefTraits&lt;WTF::RunLoop&gt; &gt;, WTF::OptionSet&lt;WTF::RunLoop::Activity, (WTF::ConcurrencyTag)0&gt;)::$_0::operator()() const
22  0x7fc50d411069 WTF::Detail::CallableWrapper&lt;WebCore::RunLoopObserver::schedule(WTF::RefPtr&lt;WTF::RunLoop, WTF::RawPtrTraits&lt;WTF::RunLoop&gt;, WTF::DefaultRefDerefTraits&lt;WTF::RunLoop&gt; &gt;, WTF::OptionSet&lt;WTF::RunLoop::Activity, (WTF::ConcurrencyTag)0&gt;)::$_0, void&gt;::call()
23  0x7fc4f6aa4352 WTF::Function&lt;void ()&gt;::operator()() const
24  0x7fc4f8be1f74 WTF::ActivityObserver::notify()
25  0x7fc4f8be1320 WTF::RunLoop::notifyActivity(WTF::RunLoop::Activity)
26  0x7fc4f8be0e54 WTF::RunLoop::runGLibMainLoopIteration(WTF::RunLoop::MayBlock)
27  0x7fc4f8be13b0 WTF::RunLoop::runGLibMainLoop()
28  0x7fc4f8be144c WTF::RunLoop::run()
29  0x7fc506ee1b51 WebKit::AuxiliaryProcessMainBase&lt;WebKit::WebProcess, true&gt;::run(int, char**)
30  0x7fc506ebf860 int WebKit::AuxiliaryProcessMain&lt;WebKit::WebProcessMainGtk&gt;(int, char**)
31  0x7fc506ebf81b WebKit::WebProcessMain(int, char**)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198247</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2026-04-08 22:13:18 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/62331</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198278</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-09 00:01:17 -0700</bug_when>
    <thetext>Committed 310829@main (a8b923f87381): &lt;https://commits.webkit.org/310829@main&gt;

Reviewed commits have been landed. Closing PR #62331 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>