Bug 262015 - REGRESSION(268368@main): ASSERTION FAILED: m_testingModeCount for some http tests
Summary: REGRESSION(268368@main): ASSERTION FAILED: m_testingModeCount for some http t...
Status: CLOSED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-24 13:26 PDT by Fujii Hironori
Modified: 2023-09-24 21:27 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2023-09-24 13:26:08 PDT
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'
6   00007FF8F8F68160 std::default_delete<WebCore::CaptionUserPreferencesTestingModeToken>::operator()
7   00007FF8F8F617A3 std::unique_ptr<WebCore::CaptionUserPreferencesTestingModeToken,std::default_delete<WebCore::CaptionUserPreferencesTestingModeToken> >::~unique_ptr<WebCore::CaptionUserPreferencesTestingModeToken,std::default_delete<WebCore::CaptionUserPreferencesTestingModeToken> >
8   00007FF8F8EFC88A WebCore::Internals::~Internals
9   00007FF8F8F6A088 WebCore::Internals::`scalar deleting destructor'
10  00007FF8F8FAFEC0 std::default_delete<WebCore::Internals>::operator()
11  00007FF8F8FB1A7B WTF::RefCounted<WebCore::Internals,std::default_delete<WebCore::Internals> >::deref
12  00007FF8F8FAE863 WTF::Ref<WebCore::Internals,WTF::RawPtrTraits<WebCore::Internals> >::~Ref<WebCore::Internals,WTF::RawPtrTraits<WebCore::Internals> >
13  00007FF8F8FAE78B WebCore::JSDOMWrapper<WebCore::Internals,WTF::RawPtrTraits<WebCore::Internals> >::~JSDOMWrapper<WebCore::Internals,WTF::RawPtrTraits<WebCore::Internals> >
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'::`6'::<lambda_1>::operator()
30  00007FF8BC633FDC WTF::ScopedLambdaFunctor<void __cdecl(JSC::CurrentThreadState &),`JSC::Heap::collectInMutatorThread'::`6'::<lambda_1> >::implFunction
31  00007FF8BC6FB3EE WTF::ScopedLambda<void __cdecl(JSC::CurrentThreadState &)>::operator()<JSC::CurrentThreadState &>
Comment 1 Fujii Hironori 2023-09-24 13:39:00 PDT
After 268368@main
Comment 2 Fujii Hironori 2023-09-24 13:41:21 PDT
Not only WinCairo, Mac port is also crashing. I'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 ]
Comment 3 Fujii Hironori 2023-09-24 21:27:04 PDT
268380@main reverted the change. Closed.