<?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>308176</bug_id>
          
          <creation_ts>2026-02-18 16:02:41 -0800</creation_ts>
          <short_desc>[GTK][WPE] SHOULD NEVER BE REACHED in WebKit::NetworkProcess::allowsFirstPartyForCookies under NetworkConnectionToWebProcess::scheduleResourceLoad</short_desc>
          <delta_ts>2026-02-18 23:37:02 -0800</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>NEW</bug_status>
          <resolution></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="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>csaavedra</cc>
    
    <cc>pgriffis</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2182859</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2026-02-18 16:02:41 -0800</bug_when>
    <thetext>[GTK][WPE] SHOULD NEVER BE REACHED in WebKit::NetworkProcess::allowsFirstPartyForCookies under NetworkConnectionToWebProcess::scheduleResourceLoad

{GTK,WPE}-WK2-Tests-EWS enables ASSERT, and observing random assertion failure.

https://ews-build.s3-us-west-2.amazonaws.com/WPE-WK2-Tests-EWS/f03e3bf9-111918/platform/glib/damage/non-accelerated-canvas-2d-fillRect-crash-log.txt

STDERR: SHOULD NEVER BE REACHED
STDERR: ../../../Source/WebKit/NetworkProcess/NetworkProcess.cpp(486) : WebKit::NetworkProcess::AllowCookieAccess WebKit::NetworkProcess::allowsFirstPartyForCookies(WebCore::ProcessIdentifier, const RegistrableDomain&amp;)
STDERR: 1   0x7f5caf5636ca WebKit::NetworkProcess::allowsFirstPartyForCookies(WTF::ObjectIdentifierGeneric&lt;WebCore::ProcessIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long&gt;, unsigned long&gt;, WebCore::RegistrableDomain const&amp;)
STDERR: 2   0x7f5caf564444 WebKit::NetworkProcess::allowsFirstPartyForCookies(WTF::ObjectIdentifierGeneric&lt;WebCore::ProcessIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long&gt;, unsigned long&gt;, WTF::URL const&amp;)
STDERR: 3   0x7f5caf54bb4d WebKit::NetworkConnectionToWebProcess::scheduleResourceLoad(WebKit::NetworkResourceLoadParameters&amp;&amp;, std::optional&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::NetworkResourceLoadIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long&gt;, unsigned long&gt; &gt;)
STDERR: 4   0x7f5caefcdd75 void IPC::handleMessage&lt;Messages::NetworkConnectionToWebProcess::ScheduleResourceLoad, IPC::Connection, WebKit::NetworkConnectionToWebProcess, WebKit::NetworkConnectionToWebProcess, void (WebKit::NetworkResourceLoadParameters&amp;&amp;, std::optional&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::NetworkResourceLoadIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long&gt;, unsigned long&gt; &gt;)&gt;(IPC::Connection&amp;, IPC::Decoder&amp;, WebKit::NetworkConnectionToWebProcess*, void (WebKit::NetworkConnectionToWebProcess::*)(WebKit::NetworkResourceLoadParameters&amp;&amp;, std::optional&lt;WTF::ObjectIdentifierGeneric&lt;WebKit::NetworkResourceLoadIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long&gt;, unsigned long&gt; &gt;)) [clone .isra.0]
STDERR: 5   0x7f5caefd7a9b WebKit::NetworkConnectionToWebProcess::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
STDERR: 6   0x7f5caf7acd20 IPC::Connection::dispatchMessage(IPC::Decoder&amp;)
STDERR: 7   0x7f5caf7ae1b5 IPC::Connection::dispatchMessage(WTF::UniqueRef&lt;IPC::Decoder&gt;) [clone .part.0]
STDERR: 8   0x7f5caf7ae87f IPC::Connection::dispatchOneIncomingMessage()
STDERR: 9   0x7f5cb236aac1 WTF::RunLoop::performWork()
STDERR: 10  0x7f5cb247903d WTF::RunLoop::RunLoop()::{lambda(void*)#1}::_FUN(void*)
STDERR: 11  0x7f5cb247f25a WTF::RunLoop::{lambda(_GSource*, int (*)(void*), void*)#1}::_FUN(_GSource*, int (*)(void*), void*)
STDERR: 12  0x7f5ca923845e ???
STDERR: 13  0x7f5ca92386d0 g_main_context_dispatch
STDERR: 14  0x7f5cb247bd34 WTF::RunLoop::runGLibMainLoopIteration(WTF::RunLoop::MayBlock)
STDERR: 15  0x7f5cb247c342 WTF::RunLoop::run()
STDERR: 16  0x7f5caf6f1b5b int WebKit::AuxiliaryProcessMain&lt;WebKit::NetworkProcessMainSoup&gt;(int, char**)
STDERR: 17  0x7f5caa2181ca __libc_start_call_main
STDERR: 18  0x7f5caa21828b __libc_start_main
STDERR: 19  0x55990c2cc705 _start
STDERR: ERROR: WebKit encountered an internal error. This is a WebKit bug.
STDERR: ../../../Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp(651) : void WebKit::WebLoaderStrategy::internallyFailedLoadTimerFired()
STDERR: WPENetworkProcess terminated (pid 2150797) for reason: crash</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>