Bug 237125

Summary: REGRESSION(r287574-r287580): [ iOS ] 3 TestWebKitAPI.WebKitLegacy.* tests are constantly crashing (ScrollingDoesNotPauseMedia, PreemptVideoFullscreen, AudioSessionCategoryIOS)
Product: WebKit Reporter: Dawn Morningstar <Morningstar>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: jenner, jer.noble, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=235168
https://bugs.webkit.org/show_bug.cgi?id=229452

Description Dawn Morningstar 2022-02-23 18:05:33 PST
TestWebKitAPI.WebKitLegacy.ScrollingDoesNotPauseMedia
TestWebKitAPI.WebKitLegacy.PreemptVideoFullscreen
TestWebKitAPI.WebKitLegacy.AudioSessionCategoryIOS

Are crashing on iOS debug queue.

HISTORY:
https://results.webkit.org/?suite=api-tests&suite=api-tests&suite=api-tests&test=TestWebKitAPI.WebKitLegacy.AudioSessionCategoryIOS&test=TestWebKitAPI.WebKitLegacy.PreemptVideoFullscreen&test=TestWebKitAPI.WebKitLegacy.ScrollingDoesNotPauseMedia&limit=12740

Regression range appears to be r287574-r287580
Comment 1 Radar WebKit Bug Importer 2022-02-23 18:06:53 PST
<rdar://problem/89390421>
Comment 2 Ryan Haddad 2022-02-24 16:53:21 PST
        ASSERTION FAILED: !m_impl || !m_shouldEnableAssertions || m_impl->wasConstructedOnMainThread() == isMainThread()
        /Volumes/Data/worker/ios-simulator-15-debug/build/WebKitBuild/Debug-iphonesimulator/usr/local/include/wtf/WeakPtr.h(148) : T *WTF::WeakPtr<WebCore::QueuedVideoOutput>::operator->() const [T = WebCore::QueuedVideoOutput, Counter = WTF::EmptyCounter]
        1   0x117301989 WTFCrash
        2   0x167bd73cb WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x1680a678a WTF::WeakPtr<WebCore::QueuedVideoOutput, WTF::EmptyCounter>::operator->() const
        4   0x1680aae3f -[WebQueuedVideoOutputDelegate observeValueForKeyPath:ofObject:change:context:]::$_2::operator()() const
        5   0x1680aad69 WTF::Detail::CallableWrapper<-[WebQueuedVideoOutputDelegate observeValueForKeyPath:ofObject:change:context:]::$_2, void>::call()
        6   0x11732eb32 WTF::Function<void ()>::operator()() const
        7   0x1173c1c4e WTF::RunLoop::performWork()
        8   0x1173c647e WTF::RunLoop::performWork(void*)
Comment 3 Dawn Morningstar 2022-03-10 16:25:36 PST
Setting expectations while this is being investigated.
Comment 4 Dawn Morningstar 2022-03-10 16:25:59 PST
(In reply to Matteo Flores from comment #3)
> Setting expectations while this is being investigated.

Actually just saw these were API tests. Disregard.
Comment 5 Robert Jenner 2022-05-03 17:03:51 PDT
*** Bug 240046 has been marked as a duplicate of this bug. ***