<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>187293</bug_id>
          
          <creation_ts>2018-07-03 09:07:58 -0700</creation_ts>
          <short_desc>Layout Test media/video-background-playback.html is flaky but crashes constantly in iOS 11 sim</short_desc>
          <delta_ts>2018-07-03 14:01:15 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>186945</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Truitt Savell">tsavell</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>lforschler</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>thorton</cc>
    
    <cc>tsavell</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1438864</commentid>
    <comment_count>0</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2018-07-03 09:07:58 -0700</bug_when>
    <thetext>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&amp;tests=media%2Fvideo-background-playback.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1438907</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-07-03 11:41:54 -0700</bug_when>
    <thetext>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&lt;WebKit::VideoFullscreenManagerProxy, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long), std::__1::tuple&lt;unsigned long long&gt;, 0ul&gt;(WebKit::VideoFullscreenManagerProxy*, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long), std::__1::tuple&lt;unsigned long long&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt;)
19:09:49.273 80687   9   0x116398da0 void IPC::callMemberFunction&lt;WebKit::VideoFullscreenManagerProxy, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long), std::__1::tuple&lt;unsigned long long&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt; &gt;(std::__1::tuple&lt;unsigned long long&gt;&amp;&amp;, WebKit::VideoFullscreenManagerProxy*, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long))
19:09:49.273 80687   10  0x1163980d0 void IPC::handleMessage&lt;Messages::VideoFullscreenManagerProxy::CleanupFullscreen, WebKit::VideoFullscreenManagerProxy, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long)&gt;(IPC::Decoder&amp;, WebKit::VideoFullscreenManagerProxy*, void (WebKit::VideoFullscreenManagerProxy::*)(unsigned long long))
19:09:49.273 80687   11  0x1163976be WebKit::VideoFullscreenManagerProxy::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
19:09:49.273 80687   12  0x115efd8c8 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
19:09:49.273 80687   13  0x115dea214 WebKit::ChildProcessProxy::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
19:09:49.273 80687   14  0x116973a9d WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
19:09:49.273 80687   15  0x115dfc363 IPC::Connection::dispatchMessage(IPC::Decoder&amp;)
19:09:49.273 80687   16  0x115defd58 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)
19:09:49.273 80687   17  0x115df9b1c IPC::Connection::dispatchIncomingMessages()
19:09:49.273 80687   18  0x115e14422 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14::operator()()
19:09:49.273 80687   19  0x115e14349 WTF::Function&lt;void ()&gt;::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_14&gt;::call()
19:09:49.273 80687   20  0x10ea80feb WTF::Function&lt;void ()&gt;::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&amp;, double)
19:09:49.274 80687   29  0x10e0d99b9 WTR::TestController::runUntil(bool&amp;, double)
19:09:49.274 80687   30  0x10e10727a WTR::TestInvocation::invoke()
19:09:49.274 80687   31  0x10e0e35e8 WTR::TestController::runTest(char const*)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1438913</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-07-03 11:52:21 -0700</bug_when>
    <thetext>We should probably just roll out http://trac.webkit.org/r233112, since the asserts were re-added there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1438972</commentid>
    <comment_count>3</comment_count>
    <who name="Truitt Savell">tsavell</who>
    <bug_when>2018-07-03 14:01:15 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 186945 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>