Bug 223462 - [ macOS Debug wk2 ARM64 ] ASSERTION FAILED: !m_deletionHasBegun /Volumes/Data/worker/bigsur-debug/build/WebKitBuild/Debug/usr/local/include/wtf/ThreadSafeRefCounted.h(58) : void WTF::ThreadSafeRefCountedBase::ref() const
Summary: [ macOS Debug wk2 ARM64 ] ASSERTION FAILED: !m_deletionHasBegun /Volumes/Data...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-18 11:47 PDT by Robert Jenner
Modified: 2021-03-25 05:17 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Jenner 2021-03-18 11:47:48 PDT
imported/w3c/web-platform-tests/mediacapture-streams/GUM-optional-constraint.https.html

is flakey crashing in macOS BigSur Debug wk2 on Apple Silicon only. 

HISTORY URL:
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fmediacapture-streams%2FGUM-optional-constraint.https.html

STDERR TEXT:
No crash log found for GPUProcess:48709.

stdout:

stderr:
ASSERTION FAILED: !m_deletionHasBegun
/Volumes/Data/worker/bigsur-debug/build/WebKitBuild/Debug/usr/local/include/wtf/ThreadSafeRefCounted.h(58) : void WTF::ThreadSafeRefCountedBase::ref() const
1   0x1334cddd0 WTFCrash
2   0x1334cddec WTFIsDebuggerAttached
3   0x11250ca40 WTF::ThreadSafeRefCountedBase::ref() const
4   0x1113ee748 WTF::Ref<WebCore::RealtimeMediaSource, WTF::RawPtrTraits<WebCore::RealtimeMediaSource> >::Ref(WebCore::RealtimeMediaSource&)
5   0x1113ee704 WTF::Ref<WebCore::RealtimeMediaSource, WTF::RawPtrTraits<WebCore::RealtimeMediaSource> >::Ref(WebCore::RealtimeMediaSource&)
6   0x1158a0130 WTF::Ref<WebCore::RealtimeMediaSource, WTF::RawPtrTraits<WebCore::RealtimeMediaSource> > WTF::makeRef<WebCore::RealtimeMediaSource>(WebCore::RealtimeMediaSource&)
7   0x1158a00ec WebCore::RealtimeMediaSource::forEachObserver(WTF::Function<void (WebCore::RealtimeMediaSource::Observer&)> const&)
8   0x1158bb204 WebCore::RealtimeMediaSource::updateHasStartedProducingData()::$_7::operator()() const
9   0x1158bb048 WTF::Detail::CallableWrapper<WebCore::RealtimeMediaSource::updateHasStartedProducingData()::$_7, void>::call()
10  0x1334f63d8 WTF::Function<void ()>::operator()() const
11  0x1335720d4 WTF::RunLoop::performWork()
12  0x133576ce8 WTF::RunLoop::performWork(void*)
13  0x1a5804c14 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
14  0x1a5804b60 __CFRunLoopDoSource0
15  0x1a580484c __CFRunLoopDoSources0
16  0x1a58031e4 __CFRunLoopRun
17  0x1a5802740 CFRunLoopRunSpecific
18  0x1a658ba88 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
19  0x1a661f644 -[NSRunLoop(NSRunLoop) run]
20  0x1a547f9e0 _xpc_objc_main
21  0x1a547f3a0 _xpc_copy_xpcservice_dictionary
22  0x10136c4f4 WebKit::XPCServiceMain(int, char const**)
23  0x102b010a4 WKXPCServiceMain
24  0x1003c7e8c main
25  0x1a5725f34 start
LEAK: 1 WebPageProxy
Comment 1 Radar WebKit Bug Importer 2021-03-18 11:48:15 PDT
<rdar://problem/75583258>
Comment 2 Robert Jenner 2021-03-18 11:53:04 PDT
Updated test expectations to Pass Crash here: 
https://trac.webkit.org/changeset/274658/webkit
Comment 3 Robert Jenner 2021-03-18 11:54:27 PDT
This test is very flakey, it appears to only have crashed twice. Also, the crashes are only occurring on Apple Silicon Macs in debug wk2. As such, I cannot reproduce the crash because I do not have access to an apple silicon Mac.