Summary: | [iOS] media tests failing ASSERT_NOT_REACHED() in WebCore::VideoFullscreenInterfaceAVKit::cleanupFullscreen() | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryan Haddad <ryanhaddad> | ||||
Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||
Status: | RESOLVED DUPLICATE | ||||||
Severity: | Normal | CC: | eric.carlson, jeremyj-wk, jer.noble, jlewis3, 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=182497 | ||||||
Attachments: |
|
Description
Ryan Haddad
2018-02-05 22:05:22 PST
This appears to be 100% reproducible on iOS Debug bots. This also affects an API test on iOS: UNEXPECTEDLY EXITED WebKitLegacy.AudioSessionCategoryIOS 2018-02-06 14:51:05.313 TestWebKitAPI[57966:71952567] *** Warning: <AVPlayerViewController: 0x7faa2c004c00> is trying to enter full screen, but is not in its view's window's view controller hierarchy. This results in undefined behavior. 2018-02-06 14:51:05.314 TestWebKitAPI[57966:71952567] Presenting view controllers on detached view controllers is discouraged <AVPlayerViewController: 0x7faa2c004c00>. 2018-02-06 14:51:05.354 TestWebKitAPI[57966:71952567] *** Warning: <AVPlayerViewController: 0x7faa2c004c00> is trying to exit full screen, but is not in its view's window's view controller hierarchy. This results in undefined behavior. -[AVPlayerViewController exitFullScreenAnimated:completionHandler:] failed with error Invalid call of -[AVPlayerViewController (0x7faa2c004c00) _transitionFromFullScreenAnimated:completionHandler:]! SHOULD NEVER BE REACHED /Volumes/Data/slave/ios-simulator-11-debug/build/Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm(779) : auto WebCore::VideoFullscreenInterfaceAVKit::exitFullscreen(const WebCore::IntRect &)::(anonymous class)::operator()(BOOL, NSError *) 1 0x10f25953d WTFCrash 2 0x11b24a5d9 WebCore::VideoFullscreenInterfaceAVKit::exitFullscreen(WebCore::IntRect const&)::$_4::operator()(bool, NSError*) 3 0x11b24a541 ___ZN7WebCore29VideoFullscreenInterfaceAVKit14exitFullscreenERKNS_7IntRectE_block_invoke.288 4 0x14372c114 -[AVPlayerViewController _transitionFromFullScreenAnimated:completionHandler:] 5 0x14372f4ed -[AVPlayerViewController(AVPlayerViewController_WebKitOnly) exitFullScreenAnimated:completionHandler:] 6 0x11b24a2e6 WebCore::VideoFullscreenInterfaceAVKit::exitFullscreen(WebCore::IntRect const&) 7 0x11896b09c VideoFullscreenControllerContext::exitFullscreen()::$_39::operator()() const 8 0x11896b019 invocation function for block in VideoFullscreenControllerContext::exitFullscreen() 9 0x117d0f273 _dispatch_call_block_and_release 10 0x117d102b5 _dispatch_client_callout 11 0x117d1a496 _dispatch_main_queue_callback_4CF 12 0x127c18ef9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 13 0x127bdd662 __CFRunLoopRun 14 0x127bdca89 CFRunLoopRunSpecific 15 0x116deae5e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 16 0x10da9c353 TestWebKitAPI::Util::run(bool*) 17 0x10d817493 TestWebKitAPI::WebKitLegacy_AudioSessionCategoryIOS_Test::TestBody() 18 0x10db4caaa testing::Test::Run() 19 0x10db4d56d testing::internal::TestInfoImpl::Run() 20 0x10db4e5bd testing::TestCase::Run() 21 0x10db5463b testing::internal::UnitTestImpl::RunAllTests() 22 0x10db542b9 testing::UnitTest::Run() 23 0x10da260ac TestWebKitAPI::TestsController::run(int, char**) 24 0x10db21d90 main 25 0x117d84d81 start https://build.webkit.org/builders/Apple%20iOS%2011%20Simulator%20Debug%20WK2%20%28Tests%29/builds/2564 Spoke with Eric in person. We decided to remove the asserts temporarily but leave in the logging until he could look at it. https://trac.webkit.org/changeset/228229/webkit Created attachment 333607 [details]
Remove another assert.
Committed https://trac.webkit.org/r228389 *** This bug has been marked as a duplicate of bug 186945 *** |