Bug 187293 - Layout Test media/video-background-playback.html is flaky but crashes constantly in iOS 11 sim
Summary: Layout Test media/video-background-playback.html is flaky but crashes constan...
Status: RESOLVED DUPLICATE of bug 186945
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-03 09:07 PDT by Truitt Savell
Modified: 2018-07-03 14:01 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 Truitt Savell 2018-07-03 09:07:58 PDT
The following layout test is a flaky failure on High Sierra, Sierra, for both Debug and Release, and for WK1 and WK2.

This test is constantly crashing in iOS 11 Simulator Debug WK2

media/video-background-playback.html

Probable cause:

Appears that this revision my have caused this:
https://trac.webkit.org/changeset/233115/webkit

Sample crash Log
https://build.webkit.org/builders/Apple%20iOS%2011%20Simulator%20Debug%20WK2%20(Tests)/builds/4971/steps/layout-test/logs/stdio

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=media%2Fvideo-background-playback.html
Comment 1 Ryan Haddad 2018-07-03 11:41:54 PDT
19:09:49.272 80687   -[AVPlayerViewController exitFullScreenAnimated:completionHandler:] failed with error View needs to be loaded before you can call -[AVPlayerViewController (0x7f8ef4802a00) exitFullScreenAnimated:completionHandler:]!
19:09:49.272 80687   SHOULD NEVER BE REACHED
19:09:49.272 80687   /Volumes/Data/slave/ios-simulator-11-debug/build/Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm(1054) : auto WebCore::VideoFullscreenInterfaceAVKit::cleanupFullscreen()::(anonymous class)::operator()(BOOL, NSError *) const
19:09:49.272 80687   1   0x10ea5bf89 WTFCrash
19:09:49.272 80687   2   0x12031eec6 WebCore::VideoFullscreenInterfaceAVKit::cleanupFullscreen()::$_5::operator()(bool, NSError*) const
19:09:49.272 80687   3   0x12031ee41 invocation function for block in WebCore::VideoFullscreenInterfaceAVKit::cleanupFullscreen()
19:09:49.273 80687   4   0x136a2294d -[AVPlayerViewController(AVPlayerViewController_WebKitOnly) exitFullScreenAnimated:completionHandler:]
19:09:49.273 80687   5   0x12031aaa0 -[WebAVPlayerViewController exitFullScreenAnimated:completionHandler:]
19:09:49.273 80687   6   0x12031ec7e WebCore::VideoFullscreenInterfaceAVKit::cleanupFullscreen()
19:09:49.273 80687   7   0x116386cf5 WebKit::VideoFullscreenManagerProxy::cleanupFullscreen(unsigned long long)
19:09:49.273 80687   8   0x116398e4d void IPC::callMemberFunctionImpl<WebKit::VideoFullscreenManagerProxy, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long), std::__1::tuple<unsigned long long>, 0ul>(WebKit::VideoFullscreenManagerProxy*, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long), std::__1::tuple<unsigned long long>&&, std::__1::integer_sequence<unsigned long, 0ul>)
19:09:49.273 80687   9   0x116398da0 void IPC::callMemberFunction<WebKit::VideoFullscreenManagerProxy, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long), std::__1::tuple<unsigned long long>, std::__1::integer_sequence<unsigned long, 0ul> >(std::__1::tuple<unsigned long long>&&, WebKit::VideoFullscreenManagerProxy*, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long))
19:09:49.273 80687   10  0x1163980d0 void IPC::handleMessage<Messages::VideoFullscreenManagerProxy::CleanupFullscreen, WebKit::VideoFullscreenManagerProxy, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long)>(IPC::Decoder&, WebKit::VideoFullscreenManagerProxy*, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long))
19:09:49.273 80687   11  0x1163976be WebKit::VideoFullscreenManagerProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
19:09:49.273 80687   12  0x115efd8c8 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&)
19:09:49.273 80687   13  0x115dea214 WebKit::ChildProcessProxy::dispatchMessage(IPC::Connection&, IPC::Decoder&)
19:09:49.273 80687   14  0x116973a9d WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&)
19:09:49.273 80687   15  0x115dfc363 IPC::Connection::dispatchMessage(IPC::Decoder&)
19:09:49.273 80687   16  0x115defd58 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
19:09:49.273 80687   17  0x115df9b1c IPC::Connection::dispatchIncomingMessages()
19:09:49.273 80687   18  0x115e14422 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_14::operator()()
19:09:49.273 80687   19  0x115e14349 WTF::Function<void ()>::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_14>::call()
19:09:49.273 80687   20  0x10ea80feb WTF::Function<void ()>::operator()() const
19:09:49.274 80687   21  0x10ead3293 WTF::RunLoop::performWork()
19:09:49.274 80687   22  0x10ead3b94 WTF::RunLoop::performWork(void*)
19:09:49.274 80687   23  0x11ab57bb1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
19:09:49.274 80687   24  0x11ab3c4af __CFRunLoopDoSources0
19:09:49.274 80687   25  0x11ab3ba6f __CFRunLoopRun
19:09:49.274 80687   26  0x11ab3b30b CFRunLoopRunSpecific
19:09:49.274 80687   27  0x1132feb4a -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
19:09:49.274 80687   28  0x10e105324 WTR::TestController::platformRunUntil(bool&, double)
19:09:49.274 80687   29  0x10e0d99b9 WTR::TestController::runUntil(bool&, double)
19:09:49.274 80687   30  0x10e10727a WTR::TestInvocation::invoke()
19:09:49.274 80687   31  0x10e0e35e8 WTR::TestController::runTest(char const*)
Comment 2 Ryan Haddad 2018-07-03 11:52:21 PDT
We should probably just roll out http://trac.webkit.org/r233112, since the asserts were re-added there.
Comment 3 Truitt Savell 2018-07-03 14:01:15 PDT

*** This bug has been marked as a duplicate of bug 186945 ***