<?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>300392</bug_id>
          
          <creation_ts>2025-10-08 09:13:01 -0700</creation_ts>
          <short_desc>REGRESSION(301191@main): [macOS Debug] ASSERTION FAILED: m_thread.ptr() == &amp;Thread::currentSingleton()</short_desc>
          <delta_ts>2025-10-08 09:38:36 -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>New Bugs</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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>300360</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2149473</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2025-10-08 09:13:01 -0700</bug_when>
    <thetext>Multiple tests are crashing with assertion after 301191@main.

ASSERTION FAILED: m_thread.ptr() == &amp;Thread::currentSingleton()
/Volumes/Data/worker/macOS-Sequoia-Debug-WK2-Tests-EWS/build/WebKitBuild/Debug/usr/local/include/wtf/SingleThreadIntegralWrapper.h(54) : void WTF::SingleThreadIntegralWrapper&lt;unsigned int&gt;::assertThread() const [IntegralType = unsigned int]
1   0x30025b324 WTF::SingleThreadIntegralWrapper&lt;unsigned int&gt;::assertThread() const
2   0x30025b29c WTF::SingleThreadIntegralWrapper&lt;unsigned int&gt;::operator++()
3   0x30025b274 WTF::CanMakeCheckedPtrBase&lt;WTF::SingleThreadIntegralWrapper&lt;unsigned int&gt;, unsigned int&gt;::incrementCheckedPtrCount() const
4   0x303a2a8e0 WTF::CheckedPtr&lt;WebCore::RangeResponseGeneratorDataTaskData, WTF::RawPtrTraits&lt;WebCore::RangeResponseGeneratorDataTaskData&gt;&gt;::refIfNotNull()
5   0x303a2a89c WTF::CheckedPtr&lt;WebCore::RangeResponseGeneratorDataTaskData, WTF::RawPtrTraits&lt;WebCore::RangeResponseGeneratorDataTaskData&gt;&gt;::CheckedPtr(WebCore::RangeResponseGeneratorDataTaskData*)
6   0x3039ffe24 WTF::CheckedPtr&lt;WebCore::RangeResponseGeneratorDataTaskData, WTF::RawPtrTraits&lt;WebCore::RangeResponseGeneratorDataTaskData&gt;&gt;::CheckedPtr(WebCore::RangeResponseGeneratorDataTaskData*)
7   0x303a004fc WebCore::RangeResponseGenerator::giveResponseToTaskIfBytesInRangeReceived(WebCoreNSURLSessionDataTask*, WebCore::ParsedRequestRange const&amp;, std::__1::optional&lt;unsigned long&gt;, WebCore::RangeResponseGenerator::Data const&amp;)::$_0::operator()() const
8   0x303a2b7f0 WebCore::RangeResponseGenerator::giveResponseToTaskIfBytesInRangeReceived(WebCoreNSURLSessionDataTask*, WebCore::ParsedRequestRange const&amp;, std::__1::optional&lt;unsigned long&gt;, WebCore::RangeResponseGenerator::Data const&amp;)::$_1::operator()(WebCore::ShouldContinuePolicyCheck)
9   0x303a2b670 WTF::Detail::CallableWrapper&lt;WebCore::RangeResponseGenerator::giveResponseToTaskIfBytesInRangeReceived(WebCoreNSURLSessionDataTask*, WebCore::ParsedRequestRange const&amp;, std::__1::optional&lt;unsigned long&gt;, WebCore::RangeResponseGenerator::Data const&amp;)::$_1, void, WebCore::ShouldContinuePolicyCheck&gt;::call(WebCore::ShouldContinuePolicyCheck)
10  0x303484ea4 WTF::Function&lt;void (WebCore::ShouldContinuePolicyCheck)&gt;::operator()(WebCore::ShouldContinuePolicyCheck) const
11  0x303468888 WTF::CompletionHandler&lt;void (WebCore::ShouldContinuePolicyCheck)&gt;::operator()(WebCore::ShouldContinuePolicyCheck)
12  0x3087aac7c -[WebCoreNSURLSessionDataTask resource:receivedResponse:completionHandler:]::$_13::operator()()::&apos;lambda&apos;(NSURLSessionResponseDisposition)::operator()(NSURLSessionResponseDisposition)::&apos;lambda&apos;()::operator()()
13  0x3087aaaec WTF::Detail::CallableWrapper&lt;-[WebCoreNSURLSessionDataTask resource:receivedResponse:completionHandler:]::$_13::operator()()::&apos;lambda&apos;(NSURLSessionResponseDisposition)::operator()(NSURLSessionResponseDisposition)::&apos;lambda&apos;(), void&gt;::call()
14  0x13003ef38 WTF::Function&lt;void ()&gt;::operator()() const
15  0x130217ba4 WTF::(anonymous namespace)::DispatchWorkItem::operator()()
16  0x13021685c void WTF::dispatchWorkItem&lt;WTF::(anonymous namespace)::DispatchWorkItem&gt;(void*)
17  0x19e4dc85c _dispatch_client_callout
18  0x19e4cb350 _dispatch_lane_serial_drain
19  0x19e4cbe2c _dispatch_lane_invoke
20  0x19e4d6264 _dispatch_root_queue_drain_deferred_wlh
21  0x19e4d5ae8 _dispatch_workloop_worker_thread
22  0x19e676e64 _pthread_wqthread
23  0x19e675b74 start_wqthread
com.apple.WebKit.GPU.Development terminated (pid 61262) for reason: crash


Tets history:
https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=http%2Ftests%2Fsecurity%2Fvideo-cross-origin-caching.html&amp;test=http%2Fwpt%2Ffetch%2Fdnt-header-after-redirection.html&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Ffetch%2Frange%2Fnon-matching-range-response.html&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Finfrastructure%2Furls%2Fresolving-urls%2Fquery-encoding%2Futf-8.html%3Finclude%3Dloading&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Finfrastructure%2Furls%2Fresolving-urls%2Fquery-encoding%2Fwindows-1251.html%3Finclude%3Dloading&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Finfrastructure%2Furls%2Fresolving-urls%2Fquery-encoding%2Fwindows-1252.html%3Finclude%3Dloading&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Fembedded-content%2Fmedia-elements%2Floading-the-media-resource%2Fresource-selection-invoke-insert-source-networkState.html&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Fembedded-content%2Fmedia-elements%2Floading-the-media-resource%2Fresource-selection-pointer-insert-br.html&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Fembedded-content%2Fmedia-elements%2Floading-the-media-resource%2Fresource-selection-pointer-remove-source-after.html&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Fembedded-content%2Fmedia-elements%2Floading-the-media-resource%2Fresource-selection-pointer-remove-text.html

Test results:
https://ews-build.webkit.org/#/builders/122/builds/39828</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149474</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-10-08 09:15:24 -0700</bug_when>
    <thetext>&lt;rdar://problem/162205419&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149480</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-10-08 09:38:33 -0700</bug_when>
    <thetext>Committed 301213@main (785804b19762): &lt;https://commits.webkit.org/301213@main&gt;

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

    </bug>

</bugzilla>