Bug 261762 - Regression(267850@main) Flaky crash under the MediaStream destructor
Summary: Regression(267850@main) Flaky crash under the MediaStream destructor
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-19 11:43 PDT by Chris Dumez
Modified: 2023-09-19 13:03 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2023-09-19 11:43:26 PDT
Flaky crash under the MediaStream destructor since 267850@main:
```
ASSERTION FAILED: !m_inRemovedLastRefFunction
/Volumes/Data/worker/macOS-AppleSilicon-Ventura-Debug-Build-EWS/build/Source/WebCore/dom/Node.h(785) : void WebCore::Node::ref() const
1   0x13a27d3d0 WTFCrash
2   0x28416b130 WebCore::NetworkResourcesData::ResourceData::hasContent() const
3   0x282ab46e8 WebCore::Node::ref() const
4   0x282ab45a4 WTF::DefaultRefDerefTraits<WebCore::Document>::refIfNotNull(WebCore::Document*)
5   0x28015b58c WTF::RefPtr<WebCore::Document, WTF::RawPtrTraits<WebCore::Document>, WTF::DefaultRefDerefTraits<WebCore::Document>>::RefPtr(WebCore::Document*)
6   0x28303b53c WTF::RefPtr<WebCore::Document, WTF::RawPtrTraits<WebCore::Document>, WTF::DefaultRefDerefTraits<WebCore::Document>>::RefPtr(WebCore::Document*)
7   0x2827f3c64 WebCore::MediaStream::~MediaStream()
8   0x2827f3de0 WebCore::MediaStream::~MediaStream() 
```
Comment 1 Chris Dumez 2023-09-19 11:46:35 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17929
Comment 2 EWS 2023-09-19 13:02:04 PDT
Committed 268144@main (d00eeaf712d4): <https://commits.webkit.org/268144@main>

Reviewed commits have been landed. Closing PR #17929 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-09-19 13:03:22 PDT
<rdar://problem/115742083>