RESOLVED DUPLICATE of bug 278659 280425
[macOS EWS] ASSERTION FAILED in void WebCore::VideoTrack::clearClient(VideoTrackClient in imported/w3c/web-platform-tests/media-source/mediasource-activesourcebuffers.html
https://bugs.webkit.org/show_bug.cgi?id=280425
Summary [macOS EWS] ASSERTION FAILED in void WebCore::VideoTrack::clearClient(VideoTr...
Marta Darbinyan
Reported 2024-09-26 12:31:47 PDT
Observing multiple PRs are having flaky failure in imported/w3c/web-platform-tests/media-source/mediasource-activesourcebuffers.html test. ASSERTION FAILED: m_clients.contains(client) /Volumes/Data/worker/macOS-Sonoma-Debug-Build-EWS/build/Source/WebCore/html/track/VideoTrack.cpp(122) : void WebCore::VideoTrack::clearClient(VideoTrackClient &) 1 0x33232aec4 WebCore::VideoTrack::clearClient(WebCore::VideoTrackClient&) 2 0x331fc2a68 WebCore::HTMLMediaElement::removeVideoTrack(WTF::Ref<WebCore::VideoTrack, WTF::RawPtrTraits<WebCore::VideoTrack>, WTF::DefaultRefDerefTraits<WebCore::VideoTrack>>&&) 3 0x330493a44 auto WebCore::MediaSource::removeSourceBufferWithOptionalDestruction(WebCore::SourceBuffer&, bool)::$_21::operator()<WebCore::HTMLMediaElement>(WebCore::HTMLMediaElement&) 4 0x33049399c WTF::Detail::CallableWrapper<WebCore::MediaSource::removeSourceBufferWithOptionalDestruction(WebCore::SourceBuffer&, bool)::$_21, void, WebCore::HTMLMediaElement&>::call(WebCore::HTMLMediaElement&) 5 0x33049acd4 WTF::Function<void (WebCore::HTMLMediaElement&)>::operator()(WebCore::HTMLMediaElement&) const 6 0x33049ac1c WebCore::MediaSource::ensureWeakOnHTMLMediaElementContext(WTF::Function<void (WebCore::HTMLMediaElement&)>&&) const::$_31::operator()() 7 0x33049ab24 WTF::Detail::CallableWrapper<WebCore::MediaSource::ensureWeakOnHTMLMediaElementContext(WTF::Function<void (WebCore::HTMLMediaElement&)>&&) const::$_31, void>::call() 8 0x11891fb84 WTF::Function<void ()>::operator()() const 9 0x11898cdd0 WTF::ensureOnMainThread(WTF::Function<void ()>&&) 10 0x33045ca14 WebCore::MediaSource::ensureWeakOnHTMLMediaElementContext(WTF::Function<void (WebCore::HTMLMediaElement&)>&&) const 11 0x3304628a0 WebCore::MediaSource::removeSourceBufferWithOptionalDestruction(WebCore::SourceBuffer&, bool) 12 0x330462448 WebCore::MediaSource::removeSourceBuffer(WebCore::SourceBuffer&) 13 0x33045cc38 WebCore::MediaSource::detachFromElement() 14 0x3304661c8 WebCore::MediaSourceInterfaceMainThread::detachFromElement() 15 0x331fb171c WebCore::HTMLMediaElement::detachMediaSource() 16 0x331fb0bb0 WebCore::HTMLMediaElement::~HTMLMediaElement() 17 0x3320956d8 WebCore::HTMLVideoElement::~HTMLVideoElement() 18 0x332095794 WebCore::HTMLVideoElement::~HTMLVideoElement() 19 0x3320959c8 WebCore::HTMLVideoElement::operator delete(WebCore::HTMLVideoElement*, std::destroying_delete_t, unsigned long) 20 0x33209592c WebCore::HTMLVideoElement::~HTMLVideoElement() 21 0x331b9d5f8 WebCore::Node::removedLastRef() 22 0x32d62fc7c WebCore::Node::deref() const 23 0x32dc1976c WebCore::EventTarget::deref() 24 0x32dc196f4 WTF::DefaultRefDerefTraits<WebCore::EventTarget>::derefIfNotNull(WebCore::EventTarget*) 25 0x32dc19688 WTF::Ref<WebCore::EventTarget, WTF::RawPtrTraits<WebCore::EventTarget>, WTF::DefaultRefDerefTraits<WebCore::EventTarget>>::~Ref() 26 0x32dc193a4 WTF::Ref<WebCore::EventTarget, WTF::RawPtrTraits<WebCore::EventTarget>, WTF::DefaultRefDerefTraits<WebCore::EventTarget>>::~Ref() 27 0x32e498290 WebCore::JSDOMWrapper<WebCore::EventTarget, WTF::RawPtrTraits<WebCore::EventTarget>>::~JSDOMWrapper() 28 0x32e498260 WebCore::JSEventTarget::~JSEventTarget() 29 0x32e3ecd48 WebCore::JSEventTarget::~JSEventTarget() 30 0x32e37b164 WebCore::JSEventTarget::destroy(JSC::JSCell*) 31 0x11a76459c JSC::JSDestructibleObjectDestroyFunc::operator()(JSC::VM&, JSC::JSCell*) const com.apple.WebKit.WebContent.Development terminated (pid 16272) for reason: crash LEAK: 1 WebPageProxy Link: https://ews-build.s3-us-west-2.amazonaws.com/macOS-Sonoma-Debug-WK2-Tests-EWS/16046a76-16591/results.html History: https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fmedia-source%2Fmediasource-activesourcebuffers.html
Attachments
Radar WebKit Bug Importer
Comment 1 2024-09-26 12:32:25 PDT
EWS
Comment 2 2024-09-26 16:44:11 PDT
Test gardening commit 284323@main (74fdcda0c49a): <https://commits.webkit.org/284323@main> Reviewed commits have been landed. Closing PR #34331 and removing active labels.
Jean-Yves Avenard [:jya]
Comment 3 2024-09-27 11:56:16 PDT
*** This bug has been marked as a duplicate of bug 278659 ***
Note You need to log in before you can comment on or make changes to this bug.