<?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>262015</bug_id>
          
          <creation_ts>2023-09-24 13:26:08 -0700</creation_ts>
          <short_desc>REGRESSION(268368@main): ASSERTION FAILED: m_testingModeCount for some http tests</short_desc>
          <delta_ts>2023-09-24 21:27:11 -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>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=261671</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1979658</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-09-24 13:26:08 -0700</bug_when>
    <thetext>WinCairo debug is crashing due to an assertion failure after 118264@main (bug#261671).

Buildbot: builder WinCairo-64-bit-Debug-Tests build 20995 268370@main
https://build.webkit.org/#/builders/727/builds/20995

  http/tests/cache/loaded-from-cache-after-reload-within-iframe.html [ Crash ]
  http/tests/cache/partitioned-cache.html [ Crash ]
  http/tests/cookies/private-cookie-storage.html [ Crash ]
  http/tests/cookies/simple-cookies-expired.html [ Crash ]
  http/tests/inspector/target/provisional-load-cancels-previous-load.html [ Crash ]
  http/tests/inspector/worker/blob-script-with-cross-domain-imported-scripts.html [ Crash ]
  http/tests/misc/crash-multiple-family-fontface.html [ Crash ]
  http/tests/misc/form-post-textplain.html [ Crash ]
  http/tests/misc/form-target-iframe-inline.html [ Crash ]
  http/tests/misc/webtiming-cross-origin-redirect.py [ Crash ]
  http/tests/navigation/pushstate-at-unique-origin-denied.py [ Crash ]
  http/tests/referrer-policy-anchor/no-referrer-when-downgrade/cross-origin-http.https.html [ Crash ]
  http/tests/referrer-policy-anchor/no-referrer/cross-origin-http.https.html [ Crash ]
  http/tests/referrer-policy-anchor/origin-when-cross-origin/cross-origin-http.https.html [ Crash ]
  http/tests/referrer-policy-anchor/origin/cross-origin-http.https.html [ Crash ]
  http/tests/referrer-policy-anchor/same-origin/cross-origin-http.https.html [ Crash ]
  http/tests/referrer-policy-anchor/strict-origin-when-cross-origin/cross-origin-http.https.html [ Crash ]
  http/tests/referrer-policy-anchor/strict-origin/cross-origin-http.https.html [ Crash ]
  http/tests/referrer-policy-anchor/unsafe-url/cross-origin-http.https.html [ Crash ]
  http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-decoration-same-site.html [ Crash ]
  http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-and-fragment-from-prevalent-resource.html [ Crash ]
  http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-without-link-decoration-from-prevalent-resource.html [ Crash ]
  http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-to-prevalent.html [ Crash ]
  http/tests/resourceLoadStatistics/count-third-party-script-import-in-worker.html [ Crash ]
  http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations.html [ Crash ]
  http/tests/resourceLoadStatistics/dont-count-third-party-image-as-third-party-script.html [ Crash ]
  http/tests/resourceLoadStatistics/enable-debug-mode.html [ Crash ]
  http/tests/resourceLoadStatistics/leave-empty-document-referrer-alone-third-party-iframe.html [ Crash ]
  http/tests/resourceLoadStatistics/log-delayed-client-side-redirects.html [ Crash ]
  http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction.html [ Crash ]

ASSERTION FAILED: m_testingModeCount
C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebCore\page\CaptionUserPreferences.h(127) : WebCore::CaptionUserPreferences::decrementTestingModeCount
1   00007FF90432278B WTFCrash
2   00007FF8F8E2419E WTFCrashWithInfo
3   00007FF8F8F71C00 WebCore::CaptionUserPreferences::decrementTestingModeCount
4   00007FF8F8F61DC3 WebCore::CaptionUserPreferencesTestingModeToken::~CaptionUserPreferencesTestingModeToken
5   00007FF8F8F69908 WebCore::CaptionUserPreferencesTestingModeToken::`scalar deleting destructor&apos;
6   00007FF8F8F68160 std::default_delete&lt;WebCore::CaptionUserPreferencesTestingModeToken&gt;::operator()
7   00007FF8F8F617A3 std::unique_ptr&lt;WebCore::CaptionUserPreferencesTestingModeToken,std::default_delete&lt;WebCore::CaptionUserPreferencesTestingModeToken&gt; &gt;::~unique_ptr&lt;WebCore::CaptionUserPreferencesTestingModeToken,std::default_delete&lt;WebCore::CaptionUserPreferencesTestingModeToken&gt; &gt;
8   00007FF8F8EFC88A WebCore::Internals::~Internals
9   00007FF8F8F6A088 WebCore::Internals::`scalar deleting destructor&apos;
10  00007FF8F8FAFEC0 std::default_delete&lt;WebCore::Internals&gt;::operator()
11  00007FF8F8FB1A7B WTF::RefCounted&lt;WebCore::Internals,std::default_delete&lt;WebCore::Internals&gt; &gt;::deref
12  00007FF8F8FAE863 WTF::Ref&lt;WebCore::Internals,WTF::RawPtrTraits&lt;WebCore::Internals&gt; &gt;::~Ref&lt;WebCore::Internals,WTF::RawPtrTraits&lt;WebCore::Internals&gt; &gt;
13  00007FF8F8FAE78B WebCore::JSDOMWrapper&lt;WebCore::Internals,WTF::RawPtrTraits&lt;WebCore::Internals&gt; &gt;::~JSDOMWrapper&lt;WebCore::Internals,WTF::RawPtrTraits&lt;WebCore::Internals&gt; &gt;
14  00007FF8F8FAEBF4 WebCore::JSInternals::~JSInternals
15  00007FF8F90061FE WebCore::JSInternals::destroy
16  00007FF8BCF16A10 JSC::JSDestructibleObjectDestroyFunc::operator()
17  00007FF8BCEFA5D8 JSC::JSDestructibleObjectHeapCellType::destroy
18  00007FF8BC71FE5A JSC::Subspace::destroy
19  00007FF8BC713C86 JSC::PreciseAllocation::sweep
20  00007FF8BC6F2D40 JSC::MarkedSpace::sweepPreciseAllocations
21  00007FF8BC61FA3D JSC::Heap::sweepInFinalize
22  00007FF8BC61F718 JSC::Heap::finalize
23  00007FF8BC61CE0A JSC::Heap::handleNeedFinalize
24  00007FF8BC61CE65 JSC::Heap::handleNeedFinalize
25  00007FF8BC61B85E JSC::Heap::finishChangingPhase
26  00007FF8BC61B6D8 JSC::Heap::changePhase
27  00007FF8BC61B63D JSC::Heap::runEndPhase
28  00007FF8BC619C02 JSC::Heap::runCurrentPhase
29  00007FF8BC633EFD `JSC::Heap::collectInMutatorThread&apos;::`6&apos;::&lt;lambda_1&gt;::operator()
30  00007FF8BC633FDC WTF::ScopedLambdaFunctor&lt;void __cdecl(JSC::CurrentThreadState &amp;),`JSC::Heap::collectInMutatorThread&apos;::`6&apos;::&lt;lambda_1&gt; &gt;::implFunction
31  00007FF8BC6FB3EE WTF::ScopedLambda&lt;void __cdecl(JSC::CurrentThreadState &amp;)&gt;::operator()&lt;JSC::CurrentThreadState &amp;&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979659</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-09-24 13:39:00 -0700</bug_when>
    <thetext>After 268368@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979660</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-09-24 13:41:21 -0700</bug_when>
    <thetext>Not only WinCairo, Mac port is also crashing. I&apos;m going to revert it.

Buildbot: builder Apple-Ventura-Debug-WK2-Tests build 3037
https://build.webkit.org/#/builders/701/builds/3037

Regressions: Unexpected crashes (3)
  http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html [ Crash ]
  http/tests/security/cookies/third-party-cookie-blocking-user-action.html [ Crash ]
  http/wpt/webaudio/the-audio-api/the-audioworklet-interface/shared-array-buffer.https.html [ Crash ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979723</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2023-09-24 21:27:04 -0700</bug_when>
    <thetext>268380@main reverted the change. Closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>