[Webkit-unassigned] [Bug 227930] REGRESSION (r279119?): [iOS] ASSERTION FAILED: !m_impl || !m_shouldEnableAssertions || m_impl->wasConstructedOnMainThread() == isMainThread() seen with 3 WebKitLegacy media API tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 13 17:16:10 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=227930

--- Comment #3 from Jer Noble <jer.noble at apple.com> ---
Fuller crashlog:

```
        /Volumes/Data/worker/ios-simulator-14-debug/build/WebKitBuild/Debug-iphonesimulator/usr/local/include/wtf/WeakPtr.h(118) : T *WTF::WeakPtr<WebCore::MediaPlayerPrivateAVFoundationObjC, WTF::EmptyCounter>::operator->() const [T = WebCore::MediaPlayerPrivateAVFoundationObjC, Counter = WTF::EmptyCounter]
        1   0x105f7fdb9 WTFCrash
        2   0x1211aeb1b WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x121297067 WTF::WeakPtr<WebCore::MediaPlayerPrivateAVFoundationObjC, WTF::EmptyCounter>::operator->() const
        4   0x1215c60ba WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer()::$_4::operator()(CMTime) const
        5   0x1215c6079 invocation function for block in WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer()
        6   0x160c5ce8d -[AVPeriodicTimebaseObserver _effectiveRateChanged]
```

This doesn't seem related to the change in question. It seems much more likely that the cause was: https://trac.webkit.org/changeset/279146/webkit

Basically, we dispatch to the main thread, not the UI thread. We should probably re-dispatch to the UI thread if that's needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210714/f38d6ef5/attachment.htm>


More information about the webkit-unassigned mailing list