Bug 306646
| Summary: | REGRESSION(306230@main)[macOS Debug] ASSERTION FAILED: !(bits & destructionStartedFlag) in TestWebKitAPI.WebCoreNSURLSessionTest.InvalidateEmpty | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Marta Darbinyan <darbinyan> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Marta Darbinyan
The following test is flakey crashing on macOS Debug. The errors point to WebCore::MediaResourceLoader that modified in 306230@main that is within the range of regression. The test is failing on EWS bots across different PRs.
TestWebKitAPI.WebCoreNSURLSessionTest.InvalidateEmpty
4:25:55.809 25293 TestWebKitAPI.WebCoreNSURLSessionTest.InvalidateEmpty
04:25:55.809 25293 2026-01-30 03:41:18.756 TestWebKitAPI[29812:376718] NSEventConcurrentProcessingEnabled=NO
04:25:55.809 25293 ASSERTION FAILED: !(bits & destructionStartedFlag)
04:25:55.809 25293 /Volumes/Data/worker/macOS-Tahoe-Debug-Build-EWS/build/WebKitBuild/Debug/usr/local/include/wtf/ThreadSafeWeakPtr.h(221) : auto WTF::ThreadSafeRefCountedAndCanMakeThreadSafeWeakPtr<WebCore::MediaResourceLoader, WTF::DestructionThread::Main>::ref()::(anonymous class)::operator()(uintptr_t &) const [T = WebCore::MediaResourceLoader, destructionThread = WTF::DestructionThread::Main]
04:25:55.809 25293 1 0x14011b33c WTF::ThreadSafeRefCountedAndCanMakeThreadSafeWeakPtr<WebCore::MediaResourceLoader, (WTF::DestructionThread)1>::ref() const::'lambda'(unsigned long&)::operator()(unsigned long&) const
04:25:55.809 25293 2 0x14011b260 bool WTF::Atomic<unsigned long>::transaction<WTF::ThreadSafeRefCountedAndCanMakeThreadSafeWeakPtr<WebCore::MediaResourceLoader, (WTF::DestructionThread)1>::ref() const::'lambda'(unsigned long&)>(WTF::ThreadSafeRefCountedAndCanMakeThreadSafeWeakPtr<WebCore::MediaResourceLoader, (WTF::DestructionThread)1>::ref() const::'lambda'(unsigned long&) const&, std::__1::memory_order)
04:25:55.809 25293 3 0x14011b1d8 WTF::ThreadSafeRefCountedAndCanMakeThreadSafeWeakPtr<WebCore::MediaResourceLoader, (WTF::DestructionThread)1>::ref() const
04:25:55.809 25293 4 0x1401134e4 WebCore::MediaResourceLoader::ref() const
04:25:55.809 25293 5 0x13f378cf0 WTF::DefaultRefDerefTraits<WebCore::ContextDestructionObserver>::refIfNotNull(WebCore::ContextDestructionObserver*)
04:25:55.809 25293 6 0x13f378cac WTF::RefPtr<WebCore::ContextDestructionObserver, WTF::RawPtrTraits<WebCore::ContextDestructionObserver>, WTF::DefaultRefDerefTraits<WebCore::ContextDestructionObserver>>::RefPtr(WebCore::ContextDestructionObserver*)
04:25:55.809 25293 7 0x13f35c0e4 WTF::RefPtr<WebCore::ContextDestructionObserver, WTF::RawPtrTraits<WebCore::ContextDestructionObserver>, WTF::DefaultRefDerefTraits<WebCore::ContextDestructionObserver>>::RefPtr(WebCore::ContextDestructionObserver*)
04:25:55.809 25293 8 0x13f35bb58 WebCore::ScriptExecutionContext::~ScriptExecutionContext()
04:25:55.809 25293 9 0x13f02fecc WebCore::Document::~Document()
04:25:55.809 25293 10 0x13f7115d4 WebCore::HTMLDocument::~HTMLDocument()
04:25:55.809 25293 11 0x13f711600 WebCore::HTMLDocument::~HTMLDocument()
04:25:55.809 25293 12 0x13f711774 WebCore::HTMLDocument::operator delete(WebCore::HTMLDocument*, std::destroying_delete_t, unsigned long)
04:25:55.809 25293 13 0x13f7116d4 WebCore::HTMLDocument::~HTMLDocument()
04:25:55.809 25293 14 0x13f03236c WebCore::Document::removedLastRef()
04:25:55.809 25293 15 0x13f2ea7d0 WebCore::Node::removedLastRef()
04:25:55.809 25293 16 0x139a3df4c WebCore::Node::deref() const
04:25:55.809 25293 17 0x139a3dd74 WebCore::Document::deref() const
04:25:55.809 25293 18 0x139a3dd20 WTF::DefaultRefDerefTraits<WebCore::Document>::derefIfNotNull(WebCore::Document*)
04:25:55.809 25293 19 0x139a3dcec WTF::RefPtr<WebCore::Document, WTF::RawPtrTraits<WebCore::Document>, WTF::DefaultRefDerefTraits<WebCore::Document>>::~RefPtr()
04:25:55.809 25293 20 0x139a3bad0 WTF::RefPtr<WebCore::Document, WTF::RawPtrTraits<WebCore::Document>, WTF::DefaultRefDerefTraits<WebCore::Document>>::~RefPtr()
04:25:55.809 25293 21 0x1403ca678 WebCore::LocalFrame::~LocalFrame()
04:25:55.809 25293 22 0x1403caf50 WebCore::LocalFrame::~LocalFrame()
04:25:55.809 25293 23 0x1403caf7c WebCore::LocalFrame::~LocalFrame()
04:25:55.809 25293 24 0x139af4e50 WTF::RefCounted<WebCore::Frame>::deref() const
04:25:55.809 25293 25 0x139af4df8 WTF::RefCountedAndCanMakeWeakPtr<WebCore::Frame>::deref() const
04:25:55.809 25293 26 0x13bcdecb8 WTF::DefaultRefDerefTraits<WebCore::Frame>::derefIfNotNull(WebCore::Frame*)
04:25:55.809 25293 27 0x13e33fb88 WTF::Ref<WebCore::Frame, WTF::RawPtrTraits<WebCore::Frame>, WTF::DefaultRefDerefTraits<WebCore::Frame>>::~Ref()
04:25:55.809 25293 28 0x13e33e148 WTF::Ref<WebCore::Frame, WTF::RawPtrTraits<WebCore::Frame>, WTF::DefaultRefDerefTraits<WebCore::Frame>>::~Ref()
04:25:55.809 25293 29 0x1404ad07c WebCore::Page::~Page()
04:25:55.809 25293 30 0x1404ae1cc WebCore::Page::~Page()
04:25:55.809 25293 31 0x109cc3ec4 WTF::RefCounted<WebCore::Page>::deref() const
04:25:55.810 25293
Test history:
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WebCoreNSURLSessionTest.InvalidateEmpty&style=debug
Test result:
https://ews-build.webkit.org/#/builders/165/builds/8466
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/169301730>
EWS
Test gardening commit 306529@main (07190d7b6db6): <https://commits.webkit.org/306529@main>
Reviewed commits have been landed. Closing PR #57592 and removing active labels.