Bug 270485

Summary: REGRESSION (274626@main): [ iOS Debug ]media/video-autoplay.html and media/video-element-other-namespace-crash.html are constant crashes
Product: WebKit Reporter: Jay Stfleur <j_stfleur>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: fred.wang, rbuis, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 206854    

Jay Stfleur
Reported 2024-03-04 14:50:11 PST
Description: media/video-autoplay.html media/video-element-other-namespace-crash.html are constant crashes on iOS Debug. History: https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=media%2Fvideo-autoplay.html&test=media%2Fvideo-element-other-namespace-crash.html&platform=ios&style=debug Diff/Image Diff/Crash Log: stderr: ASSERTION FAILED: Completion handler should always be called !m_function /Volumes/Data/worker/Apple-iOS-17-Simulator-Debug-Build/build/WebKitBuild/Debug-iphonesimulator/usr/local/include/wtf/CompletionHandler.h(65) : WTF::CompletionHandler<void (bool, NSError *)>::~CompletionHandler() 1 0x11785a7b8 WTFCrash 2 0x2a280b6d4 WTF::CompletionHandler<void (bool, NSError*)>::~CompletionHandler() 3 0x2a280b098 WTF::CompletionHandler<void (bool, NSError*)>::~CompletionHandler() 4 0x2a280b14c WTF::BlockPtr<void (bool, NSError*)> WTF::BlockPtr<void (bool, NSError*)>::fromCallable<WTF::CompletionHandler<void (bool, NSError*)>>(WTF::CompletionHandler<void (bool, NSError*)>)::'lambda'(void const*)::operator()(void const*) const 5 0x2a280b0c4 WTF::BlockPtr<void (bool, NSError*)> WTF::BlockPtr<void (bool, NSError*)>::fromCallable<WTF::CompletionHandler<void (bool, NSError*)>>(WTF::CompletionHandler<void (bool, NSError*)>)::'lambda'(void const*)::__invoke(void const*) 6 0x1800ea118 _call_dispose_helpers_excp 7 0x1800eaf54 _Block_release 8 0x2a280d3f8 WTF::BlockPtr<void (bool, NSError*)>::~BlockPtr() 9 0x2a280a830 WTF::BlockPtr<void (bool, NSError*)>::~BlockPtr() 10 0x2a280a8b8 WebCore::VideoPresentationInterfaceAVKit::dismissFullscreen(bool, WTF::CompletionHandler<void (bool, NSError*)>&&) 11 0x2a2810614 WebCore::VideoPresentationInterfaceIOS::doEnterFullscreen() 12 0x2a2810b24 WebCore::VideoPresentationInterfaceIOS::enterFullscreenHandler(bool, NSError*, WTF::OptionSet<WebCore::VideoPresentationInterfaceIOS::NextAction>) 13 0x2a2816370 WebCore::VideoPresentationInterfaceIOS::doEnterFullscreen()::$_2::operator()(bool, NSError*) const 14 0x2a2816250 WTF::Detail::CallableWrapper<WebCore::VideoPresentationInterfaceIOS::doEnterFullscreen()::$_2, void, bool, NSError*>::call(bool, NSError*) 15 0x2a280b964 WTF::Function<void (bool, NSError*)>::operator()(bool, NSError*) const 16 0x2a280af18 WTF::CompletionHandler<void (bool, NSError*)>::operator()(bool, NSError*) 17 0x2a280b1d8 WTF::BlockPtr<void (bool, NSError*)> WTF::BlockPtr<void (bool, NSError*)>::fromCallable<WTF::CompletionHandler<void (bool, NSError*)>>(WTF::CompletionHandler<void (bool, NSError*)>)::'lambda'(void*, bool, NSError*)::operator()(void*, bool, NSError*) const 18 0x2a280b190 WTF::BlockPtr<void (bool, NSError*)> WTF::BlockPtr<void (bool, NSError*)>::fromCallable<WTF::CompletionHandler<void (bool, NSError*)>>(WTF::CompletionHandler<void (bool, NSError*)>)::'lambda'(void*, bool, NSError*)::__invoke(void*, bool, NSError*) 19 0x194409008 __96-[AVPlayerViewController _transitionToAttachedFullScreenAnimated:interactive:completionHandler:]_block_invoke 20 0x184bea774 -[_UIViewControllerTransitionCoordinator _applyBlocks:releaseBlocks:] 21 0x184be7354 -[_UIViewControllerTransitionContext _runAlongsideCompletions] 22 0x184be7150 -[_UIViewControllerTransitionContext completeTransition:] 23 0x19445a45c __35-[AVTransition completeTransition:]_block_invoke 24 0x194404dd8 -[AVPlayerViewController transitionController:transitionWillComplete:continueBlock:] 25 0x19447ecf8 -[AVTransitionController transitionWillComplete:success:continueBlock:] 26 0x1944594d4 -[AVTransition completeTransition:] 27 0x18483e804 -[UIViewPropertyAnimator _executeCompletionHandlerWithFinalPosition:] 28 0x18483e8c0 -[UIViewPropertyAnimator _runCompletions:finished:] 29 0x18483da80 __61-[UIViewPropertyAnimator _setupAssociatedViewAnimationState:]_block_invoke 30 0x1857fcb1c __UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK__ 31 0x1857fcd74 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:]
Attachments
Radar WebKit Bug Importer
Comment 1 2024-03-04 14:50:42 PST
Rob Buis
Comment 2 2026-10-19 07:29:36 PDT
I think this may be a dupe of bug 270715.
Rob Buis
Comment 3 2026-10-19 08:28:52 PDT
*** This bug has been marked as a duplicate of bug 270715 ***
Note You need to log in before you can comment on or make changes to this bug.