Bug 267974 - NEW TEST (272922@main): [ iOS17 ]ASSERTION FAILED:void WTR::UIScriptContext::asyncTaskComplete(unsigned int) for fast/forms/ios/dismiss-date-picker-on-rotation.html result of flaky timeout crash
Summary: NEW TEST (272922@main): [ iOS17 ]ASSERTION FAILED:void WTR::UIScriptContext::...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-01-23 17:29 PST by Marta Darbinyan
Modified: 2024-03-07 14:26 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marta Darbinyan 2024-01-23 17:29:44 PST
Description:
fast/forms/ios/dismiss-date-picker-on-rotation.html 


Is a flaky crash timeout on iOS17 ToT since it was added in 272922@main

This issue can be bisected to <commit> using the command: 
run-webkit-tests --root  --exit-after-n-failures 1 --debug <test>

History:
https://results.webkit.org/?suite=layout-tests&test=fast%2Fforms%2Fios%2Fdismiss-date-picker-on-rotation.html

Crash Log:
stderr:
ASSERTION FAILED: task.callback
/Volumes/Data/worker/Apple-iOS-17-Simulator-Debug-Build/build/Tools/TestRunnerShared/UIScriptContext/UIScriptContext.cpp(95) : void WTR::UIScriptContext::asyncTaskComplete(unsigned int)
1   0x116312b78 WTFCrash
2   0x1004797dc WTF::StringImpl* WTF::RawPtrTraits<WTF::StringImpl>::exchange<std::nullptr_t>(WTF::StringImpl*&, std::nullptr_t&&)
3   0x100519130 WTR::UIScriptContext::asyncTaskComplete(unsigned int)
4   0x10053483c WTR::UIScriptControllerIOS::simulateRotation(WTR::DeviceOrientation, OpaqueJSValue const*)::$_21::operator()() const
5   0x100534a24 WTF::BlockPtr<void ()> WTF::BlockPtr<void ()>::fromCallable<WTR::UIScriptControllerIOS::simulateRotation(WTR::DeviceOrientation, OpaqueJSValue const*)::$_21>(WTR::UIScriptControllerIOS::simulateRotation(WTR::DeviceOrientation, OpaqueJSValue const*)::$_21)::'lambda'(void*)::operator()(void*) const
6   0x1005349f8 WTF::BlockPtr<void ()> WTF::BlockPtr<void ()>::fromCallable<WTR::UIScriptControllerIOS::simulateRotation(WTR::DeviceOrientation, OpaqueJSValue const*)::$_21>(WTR::UIScriptControllerIOS::simulateRotation(WTR::DeviceOrientation, OpaqueJSValue const*)::$_21)::'lambda'(void*)::__invoke(void*)
7   0x100515408 -[TestRunnerWKWebView _didEndRotation]
8   0x10045deb8 __80-[PlatformWebViewController viewWillTransitionToSize:withTransitionCoordinator:]_block_invoke.38
9   0x1046c9720 -[_UIViewControllerTransitionCoordinator _applyBlocks:releaseBlocks:]
10  0x1046c6300 -[_UIViewControllerTransitionContext _runAlongsideCompletions]
11  0x1046c6064 -[_UIViewControllerTransitionContext completeTransition:]
12  0x1046de7dc __58-[_UIWindowRotationAnimationController animateTransition:]_block_invoke_5
13  0x1052d0878 +[UIView _performBlockDelayingTriggeringResponderEvents:forScene:]
14  0x1046de794 __58-[_UIWindowRotationAnimationController animateTransition:]_block_invoke_4
15  0x1052cc948 __UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK__
16  0x1052ccba0 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:]
17  0x1052a5120 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:]
18  0x1052a5550 -[UIViewAnimationState animationDidStop:finished:]
19  0x1884e05c8 run_animation_callbacks(void*)
20  0x180143d3c _dispatch_client_callout
21  0x180152b24 _dispatch_main_queue_drain
22  0x18015261c _dispatch_main_queue_callback_4CF
23  0x1803c61b4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
24  0x1803c08cc __CFRunLoopRun
25  0x1803bfd28 CFRunLoopRunSpecific
26  0x180dafa98 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
27  0x1004e33ec WTR::TestController::platformRunUntil(bool&, WTF::Seconds)
28  0x10049b538 WTR::TestController::runUntil(bool&, WTF::Seconds)
29  0x1004f9dd0 WTR::TestInvocation::invoke()
30  0x1004a3e90 WTR::TestController::runTest(char const*)
31  0x1004a439c WTR::TestController::runTestingServerLoop()
Comment 1 Radar WebKit Bug Importer 2024-01-23 17:30:12 PST
<rdar://problem/121480560>
Comment 2 EWS 2024-01-23 17:48:55 PST
Test gardening commit 273385@main (d42ea857b026): <https://commits.webkit.org/273385@main>

Reviewed commits have been landed. Closing PR #23141 and removing active labels.