fast/mediastream/mediastreamtrack-video-frameRate-decreasing.html History: https://results.webkit.org/?suite=layout-tests&test=fast%2Fmediastream%2Fmediastreamtrack-video-frameRate-decreasing.html Crash: 0 com.apple.JavaScriptCore 0x000000027cb2058e WTFCrash + 14 (Assertions.cpp:295) 1 com.apple.WebKit 0x0000000249f6a6f7 WTF::CompletionHandler<void (WTF::Optional<WebCore::RealtimeMediaSource::ApplyConstraintsError>&&)>::~CompletionHandler() + 87 (CompletionHandler.h:58) 2 com.apple.WebKit 0x0000000249f542d5 WTF::CompletionHandler<void (WTF::Optional<WebCore::RealtimeMediaSource::ApplyConstraintsError>&&)>::~CompletionHandler() + 21 (CompletionHandler.h:57) 3 com.apple.WebKit 0x0000000249f6111f WTF::VectorDestructor<true, WTF::CompletionHandler<void (WTF::Optional<WebCore::RealtimeMediaSource::ApplyConstraintsError>&&)> >::destruct(WTF::CompletionHandler<void (WTF::Optional<WebCore::RealtimeMediaSource::ApplyConstraintsError>&&)>*, WTF::CompletionHandler<void (WTF::Optional<WebCore::RealtimeMediaSource::ApplyConstraintsError>&&)>*) + 47 (Vector.h:67)
I am unable to reproduce this locally. this test started crashing around r273732 which seems related.
<rdar://problem/75006211>
ASSERTION FAILED: Completion handler should always be called !m_function /Volumes/Data/worker/ios-simulator-14-debug/build/WebKitBuild/Debug-iphonesimulator/usr/local/include/wtf/CompletionHandler.h(58) : WTF::CompletionHandler<void (WTF::Optional<WebCore::RealtimeMediaSource::ApplyConstraintsError> &&)>::~CompletionHandler()
Created attachment 422184 [details] crash log
Looks like we're seeing this assert with various media stream tests: fast/mediastream/audio-bad-sampleRate.html fast/mediastream/resize-trim.html fast/mediastream/play-newly-added-audio-track.html fast/mediastream/audio-settings-reset.html
*** Bug 222690 has been marked as a duplicate of this bug. ***
Created attachment 422209 [details] Patch
Committed r273892: <https://commits.webkit.org/r273892> All reviewed patches have been landed. Closing bug and clearing flags on attachment 422209 [details].