<?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>303677</bug_id>
          
          <creation_ts>2025-12-05 19:37:47 -0800</creation_ts>
          <short_desc>[GLIB] Some tests are flaky crashing in soup_session_get_feature during clearCredentials</short_desc>
          <delta_ts>2026-02-16 21:32:48 -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>Service Workers</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=304236</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>303678</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fujii</cc>
    
    <cc>vitaly</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2163813</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2025-12-05 19:37:47 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/workers/constructors/SharedWorker/empty-name.html

First occurrence: 304017@main https://build.webkit.org/results/WPE-Linux-64-bit-Release-Tests/304017@main%20(24152)/results.html
Last good: 304014@main

Commits in range:

304017@main (ac8dd1f33398) [threaded-animations] add testing functions to inspect remote timelines https://bugs.webkit.org/show_bug.cgi?id=303625 rdar://problem/165912596
304016@main (27a74ff8ea3e) Optimize SVGTextLayoutAttributesBuilder rotation attribute handling https://bugs.webkit.org/show_bug.cgi?id=303279 rdar://165585366
304015@main (0f0653d9eddc) Reland: Inspector agents should use CheckedRef for InspectorEnvironment references. https://bugs.webkit.org/show_bug.cgi?id=302416 rdar://165006365

GTK-Release passed for 304016, though. Maybe some race condition related to the Inspector agents changes?

Unfortunately, could not reproduce locally.

Trace:

Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
Core was generated by `/home/buildbot-worker/WPE-Linux-64-bit-Release-Tests/build/WebKitBuild/WPE/Rele&apos;.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007efc0839b661 in soup_session_get_feature (session=&lt;optimized out&gt;, feature_type=94369687182896) at ../../../../../jhbuild/checkout/libsoup/libsoup/soup-session.c:2230
2230			if (G_TYPE_CHECK_INSTANCE_TYPE (feature, feature_type))
[Current thread is 1 (Thread 0x7efc00c835c0 (LWP 1238187))]
&lt;snip&gt;

Thread 1 (Thread 0x7efc00c835c0 (LWP 1238187)):
#0  0x00007efc0839b661 in soup_session_get_feature (session=&lt;optimized out&gt;, feature_type=Python Exception &lt;class &apos;gdb.error&apos;&gt;: No type named TypeNode.
) at ../../../../../jhbuild/checkout/libsoup/libsoup/soup-session.c:2230
#1  0x00007efc0a937337 in WebKit::NetworkSessionSoup::clearCredentials(WTF::WallTime) () at /home/buildbot-worker/WPE-Linux-64-bit-Release-Build/build/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#2  0x00007efc0a7f21d3 in WebKit::NetworkProcess::deleteWebsiteDataImpl(PAL::SessionID, WTF::OptionSet&lt;WebKit::WebsiteDataType, (WTF::ConcurrencyTag)0&gt;, WTF::WallTime, WTF::CompletionHandler&lt;void ()&gt;&amp;&amp;) () at /home/buildbot-worker/WPE-Linux-64-bit-Release-Build/build/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#3  0x00007efc0a7fd961 in WebKit::NetworkProcess::performDeleteWebsiteDataTask(WTF::ObjectIdentifierGeneric&lt;WebKit::NetworkProcess::TaskIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long&gt;, unsigned long&gt;, WebKit::NetworkProcess::TaskTrigger) () at /home/buildbot-worker/WPE-Linux-64-bit-Release-Build/build/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#4  0x00007efc0cb9eb13 in WTF::Detail::CallableWrapper&lt;WTF::RunLoop::dispatchAfter(WTF::Seconds, WTF::Function&lt;void ()&gt;&amp;&amp;)::{lambda()#1}, void&gt;::call() () at /home/buildbot-worker/WPE-Linux-64-bit-Release-Build/build/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#5  0x00007efc0cc88da1 in WTF::RunLoop::TimerBase::TimerBase(WTF::Ref&lt;WTF::RunLoop, WTF::RawPtrTraits&lt;WTF::RunLoop&gt;, WTF::DefaultRefDerefTraits&lt;WTF::RunLoop&gt; &gt;&amp;&amp;, WTF::ASCIILiteral)::{lambda(void*)#1}::_FUN(void*) () at /home/buildbot-worker/WPE-Linux-64-bit-Release-Build/build/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#6  0x00007efc0cc8c59d in WTF::RunLoop::{lambda(_GSource*, int (*)(void*), void*)#1}::_FUN(_GSource*, int (*)(void*), void*) () at /home/buildbot-worker/WPE-Linux-64-bit-Release-Build/build/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#7  0x00007efc0740649e in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007efc07406710 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007efc0cc8ab07 in WTF::RunLoop::runGLibMainLoopIteration(WTF::RunLoop::MayBlock) () at /home/buildbot-worker/WPE-Linux-64-bit-Release-Build/build/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#10 0x00007efc0cc8af12 in WTF::RunLoop::run() () at /home/buildbot-worker/WPE-Linux-64-bit-Release-Build/build/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#11 0x00007efc0a92c48b in int WebKit::AuxiliaryProcessMain&lt;WebKit::NetworkProcessMainSoup&gt;(int, char**) () at /home/buildbot-worker/WPE-Linux-64-bit-Release-Build/build/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#12 0x00007efc083fa1ca in __libc_start_call_main (main=main@entry=0x55d3ed6c2800 &lt;main&gt;, argc=argc@entry=3, argv=argv@entry=0x7ffd43d66538) at ../sysdeps/nptl/libc_start_call_main.h:58
#13 0x00007efc083fa28b in __libc_start_main_impl (main=0x55d3ed6c2800 &lt;main&gt;, argc=3, argv=0x7ffd43d66538, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7ffd43d66528) at ../csu/libc-start.c:360
#14 0x000055d3ed6c2735 in _start ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2163814</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2025-12-05 19:57:18 -0800</bug_when>
    <thetext>The crash is indeed a flaky one, and not exclusive of that test:

imported/w3c/web-platform-tests/fetch/data-urls/base64.any.html crashed with a very similar trace in:

- https://build.webkit.org/results/WPE-Linux-64-bit-Release-Tests/304005@main%20(24149)/results.html
- https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/303945@main%20(22382)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2163819</commentid>
    <comment_count>2</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2025-12-05 20:08:45 -0800</bug_when>
    <thetext>Gardening commit: https://commits.webkit.org/304034@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2174713</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2026-01-24 01:20:14 -0800</bug_when>
    <thetext>I got the following SEGV for my GTK ASan build of 306136@main.

http/tests/cache/disk-cache/speculative-validation/cacheable-redirect.html

==113836==ERROR: AddressSanitizer: SEGV on unknown address 0x0000000088df (pc 0x7f918cf44d31 bp 0x50300001e370 sp 0x7fffebec2840 T0)
==113836==The signal is caused by a READ memory access.
    #0 0x7f918cf44d31 in soup_session_get_feature /var/tmp/jhbuild/build/libsoup/../../../../../jhbuild/checkout/libsoup/libsoup/soup-session.c:2290:7
    #1 0x7f919ff15602 in WebKit::NetworkSessionSoup::clearCredentials(WTF::WallTime) UnifiedSource-72468c22-11.cpp
    #2 0x7f919fb76044 in WebKit::NetworkProcess::deleteWebsiteDataImpl(PAL::SessionID, WTF::OptionSet&lt;WebKit::WebsiteDataType, (WTF::ConcurrencyTag)0&gt;, WTF::WallTime, WTF::CompletionHandler&lt;void ()&gt;&amp;&amp;) UnifiedSource-72468c22-2.cpp
    #3 0x7f919fb7550e in WebKit::NetworkProcess::performDeleteWebsiteDataTask(WTF::ObjectIdentifierGeneric&lt;WebKit::NetworkProcess::TaskIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long&gt;, unsigned long&gt;, WebKit::NetworkProcess::TaskTrigger) UnifiedSource-72468c22-2.cpp
    #4 0x7f919fbc3140 in WTF::Detail::CallableWrapper&lt;WebKit::NetworkProcess::deleteWebsiteData(PAL::SessionID, WTF::OptionSet&lt;WebKit::WebsiteDataType, (WTF::ConcurrencyTag)0&gt;, WTF::WallTime, WTF::HashSet&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::ProcessIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long&gt;, unsigned long&gt;, WTF::DefaultHash&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::ProcessIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long&gt;, unsigned long&gt;&gt;, WTF::HashTraits&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::ProcessIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long&gt;, unsigned long&gt;&gt;, WTF::HashTableTraits, (WTF::ShouldValidateKey)1&gt; const&amp;, WTF::CompletionHandler&lt;void ()&gt;&amp;&amp;)::$_0, void&gt;::call() UnifiedSource-72468c22-2.cpp
    #5 0x7f919fab5a18 in WTF::Ref&lt;WTF::CallbackAggregatorOnThread&lt;(WTF::DestructionThread)0&gt;, WTF::RawPtrTraits&lt;WTF::CallbackAggregatorOnThread&lt;(WTF::DestructionThread)0&gt;&gt;, WTF::DefaultRefDerefTraits&lt;WTF::CallbackAggregatorOnThread&lt;(WTF::DestructionThread)0&gt;&gt;&gt;::~Ref() UnifiedSource-72468c22-1.cpp
    #6 0x7f919fbc37de in WTF::Detail::CallableWrapper&lt;WebKit::NetworkProcess::deleteWebsiteData(PAL::SessionID, WTF::OptionSet&lt;WebKit::WebsiteDataType, (WTF::ConcurrencyTag)0&gt;, WTF::WallTime, WTF::HashSet&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::ProcessIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long&gt;, unsigned long&gt;, WTF::DefaultHash&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::ProcessIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long&gt;, unsigned long&gt;&gt;, WTF::HashTraits&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::ProcessIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&lt;unsigned long&gt;, unsigned long&gt;&gt;, WTF::HashTableTraits, (WTF::ShouldValidateKey)1&gt; const&amp;, WTF::CompletionHandler&lt;void ()&gt;&amp;&amp;)::$_2, void&gt;::~CallableWrapper() UnifiedSource-72468c22-2.cpp
    #7 0x7f919fb48a3d in WebKit::NetworkProcess::removeNetworkConnectionToWebProcess(WebKit::NetworkConnectionToWebProcess&amp;) UnifiedSource-72468c22-2.cpp
    #8 0x7f919fac9aaa in WebKit::NetworkConnectionToWebProcess::didClose(IPC::Connection&amp;) UnifiedSource-72468c22-1.cpp
    #9 0x7f919faca08c in non-virtual thunk to WebKit::NetworkConnectionToWebProcess::didClose(IPC::Connection&amp;) UnifiedSource-72468c22-1.cpp
    #10 0x7f91a00d180b in WTF::Detail::CallableWrapper&lt;IPC::Connection::dispatchDidCloseAndInvalidate()::$_0, void&gt;::call() UnifiedSource-123a7f2f-1.cpp
    #11 0x7f91988e1749 in WTF::RunLoop::performWork() RunLoop.cpp
    #12 0x7f9198cab048 in WTF::RunLoop::RunLoop()::$_0::__invoke(void*) RunLoopGLib.cpp
    #13 0x7f9198ca59e0 in WTF::RunLoop::$_3::__invoke(_GSource*, int (*)(void*), void*) RunLoopGLib.cpp
    #14 0x7f919942e40d  (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x5d40d) (BuildId: 94bfd21331c311d3199726de93a2656d07c22b33)
    #15 0x7f919942e67f in g_main_context_dispatch (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x5d67f) (BuildId: 94bfd21331c311d3199726de93a2656d07c22b33)
    #16 0x7f9198ca6b47 in WTF::RunLoop::runGLibMainLoopIteration(WTF::RunLoop::MayBlock) RunLoopGLib.cpp
    #17 0x7f9198ca79a1 in WTF::RunLoop::run() (/sdk/webkit/WebKitBuild/GTK/Release/lib/libjavascriptcoregtk-6.0.so.1+0x62a79a1) (BuildId: 12207f79ebe3102c)
    #18 0x7f919fef97e9 in WebKit::NetworkProcessMain(int, char**) (/sdk/webkit/WebKitBuild/GTK/Release/lib/libwebkitgtk-6.0.so.4+0x56f97e9) (BuildId: 446d1bd84ef1be34)
    #19 0x55ea29f1f948 in main NetworkProcessMain.cpp
    #20 0x7f91901b51c9 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #21 0x7f91901b528a in __libc_start_main csu/../csu/libc-start.c:360:3
    #22 0x55ea29e4fd44 in _start (/sdk/webkit/WebKitBuild/GTK/Release/bin/WebKitNetworkProcess+0x62d44) (BuildId: f92c3631832e666b)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2177508</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2026-02-03 03:07:21 -0800</bug_when>
    <thetext>`imported/w3c/web-platform-tests/close-watcher/user-activation/n-activate-preventDefault.html?CloseWatcher` is also a flaky crash with the same stack trace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2177510</commentid>
    <comment_count>5</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2026-02-03 03:12:58 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/57765</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2177512</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-02-03 03:16:08 -0800</bug_when>
    <thetext>Test gardening commit 306703@main (715b6e62819f): &lt;https://commits.webkit.org/306703@main&gt;

Reviewed commits have been landed. Closing PR #57765 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2179764</commentid>
    <comment_count>7</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2026-02-09 23:06:41 -0800</bug_when>
    <thetext>This seems to be the fix. https://gitlab.gnome.org/GNOME/libsoup/-/commit/5e020bdf33c4f674a4686157adf82a327718fade</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2182243</commentid>
    <comment_count>8</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2026-02-16 18:03:44 -0800</bug_when>
    <thetext>This should be fixed by libsoup 3.6.6.
https://github.com/Igalia/webkit-container-sdk/commit/7ff3cc222b5a1d0ce9857e671bfb404608d6809c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2182290</commentid>
    <comment_count>9</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2026-02-16 21:32:48 -0800</bug_when>
    <thetext>307688@main unmarked. Closed. Please reopen if it happens again.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>