Description: media/track/track-in-band-layout.html media/track/track-paint-on-captions.html are constant crash on Ventura wk1 on ToT since the test was introduced in 271415@main. This issue can be reproduced by using the command: run-webkit-tests --root --exit-after-n-failures 1 --debug <test> History: https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=media%2Ftrack%2Ftrack-in-band-layout.html&test=media%2Ftrack%2Ftrack-paint-on-captions.html&flavor=wk1&version_name=Ventura Crash Log: 2024-01-16 03:11:34.992 DumpRenderTree[39347:276393895] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array' *** First throw call stack: ( 0 CoreFoundation 0x00000001a25ff154 __exceptionPreprocess + 176 1 libobjc.A.dylib 0x00000001a211e4d4 objc_exception_throw + 60 2 CoreFoundation 0x00000001a26e99b8 -[__NSCFString characterAtIndex:].cold.1 + 0 3 CoreFoundation 0x00000001a2527ff0 -[__NSArrayM objectAtIndex:] + 188 4 AVFCore 0x00000001b6868244 -[AVMediaSelectionOption _updateDisplayNameWithLocale:fallingBackToMatchingUndeterminedAndMultilingual:context:] + 88 5 AVFCore 0x00000001b68681a8 -[AVMediaSelectionOption _displayNameWithLocale:fallingBackToMatchingUndeterminedAndMultilingual:] + 40 6 AVFCore 0x00000001b67aa7d4 -[AVPlayerItem selectMediaOption:inMediaSelectionGroup:] + 168 7 WebCore 0x0000000114ea1154 _ZN7WebCore34MediaPlayerPrivateAVFoundationObjC19setCurrentTextTrackEPNS_25InbandTextTrackPrivateAVFE + 456 8 WebCore 0x000000011691d83c _ZN7WebCore30MediaPlayerPrivateAVFoundation21configureInbandTracksEv + 360 9 WebCore 0x00000001156c5418 _ZN7WebCoreL19setJSTextTrack_modeEPN3JSC14JSGlobalObjectExxNS0_12PropertyNameE + 172 10 JavaScriptCore 0x0000000108134fb8 _ZN3JSC8JSObject13putInlineSlowEPNS_14JSGlobalObjectENS_12PropertyNameENS_7JSValueERNS_15PutPropertySlotE + 960 11 JavaScriptCore 0x0000000107f5a6e4 llint_slow_path_put_by_id + 1284 12 JavaScriptCore 0x0000000108728e80 llint_entry + 50524 13 JavaScriptCore 0x000000010871c7b4 vmEntryToJavaScript + 176 14 JavaScriptCore 0x0000000107e2049c _ZN3JSC11Interpreter11executeEvalEPNS_14EvalExecutableENS_7JSValueEPNS_7JSScopeE + 2868 15 JavaScriptCore 0x0000000107e1f228 _ZN3JSC4evalEPNS_9CallFrameENS_7JSValueEPNS_7JSScopeENS_8ECMAModeE + 648 16 JavaScriptCore 0x0000000107f7010c _ZN3JSC5LLIntL20commonCallDirectEvalEPNS_9CallFrameEPKNS_15BaseInstructionINS_14JSOpcodeTraitsEEENS_21MacroAssemblerCodeRefILN3WTF6PtrTagE357EEE + 1628 17 JavaScriptCore 0x0000000107f6fa38 llint_slow_path_call_direct_eval + 152 18 JavaScriptCore 0x0000000108744b38 llint_entry + 164372 19 JavaScriptCore 0x0000000108742c2c llint_entry + 156424 20 JavaScriptCore 0x00000001087418f8 llint_entry + 151508 21 JavaScriptCore 0x00000001087418f8 llint_entry + 151508 22 JavaScriptCore 0x0000000108742c2c llint_entry + 156424 23 JavaScriptCore 0x000000010871c7b4 vmEntryToJavaScript + 176 24 JavaScriptCore 0x0000000107e26b54 _ZN3JSC11Interpreter11executeCallEPNS_8JSObjectERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 512 25 JavaScriptCore 0x00000001081167c0 _ZN3JSC14runJSMicrotaskEPNS_14JSGlobalObjectEN3WTF23ObjectIdentifierGenericINS_23MicrotaskIdentifierTypeENS2_38ObjectIdentifierThreadSafeAccessTraitsEEENS_7JSValueES7_S7_S7_S7_ + 396 26 WebCore 0x0000000115d9e558 _ZN7WebCore19JSMicrotaskCallback4callEv + 112 27 WebCore 0x00000001161687fc _ZN7WebCore14MicrotaskQueue26performMicrotaskCheckpointEv + 268 28 WebCore 0x0000000116140a34 _ZN7WebCore18EventLoopTaskGroup26performMicrotaskCheckpointEv + 60 29 WebCore 0x0000000115d8760c _ZN7WebCore11JSExecStateD2Ev + 152 30 WebCore 0x0000000115d84300 _ZN7WebCore15JSEventListener11handleEventERNS_22ScriptExecutionContextERNS_5EventE + 1792 31 WebCore 0x0000000116146e58 _ZN7WebCore11EventTarget25innerInvokeEventListenersERNS_5EventEN3WTF6VectorINS3_6RefPtrINS_23RegisteredEventListenerENS3_12RawPtrTraitsIS6_EENS3_21DefaultRefDerefTraitsIS6_EEEELm1ENS3_15CrashOnOverflowELm2ENS3_10FastMallocEEENS0_16EventInvokePhaseE + 448 32 WebCore 0x0000000116146900 _ZN7WebCore11EventTarget18fireEventListenersERNS_5EventENS0_16EventInvokePhaseE + 212 33 WebCore 0x00000001161467c8 _ZN7WebCore11EventTarget13dispatchEventERNS_5EventE + 256 34 WebCore 0x000000011613f384 _ZN7WebCore9EventLoop3runENSt3__18optionalIN3WTF15ApproximateTimeEEE + 476 35 WebCore 0x00000001161d084c _ZN7WebCore15WindowEventLoop17didReachTimeToRunEv + 80 36 WebCore 0x000000011681d4dc _ZN7WebCore12ThreadTimers24sharedTimerFiredInternalEv + 204 37 WebCore 0x000000011684fb34 _ZN7WebCoreL10timerFiredEP16__CFRunLoopTimerPv + 28 38 CoreFoundation 0x00000001a25a03c8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32 39 CoreFoundation 0x00000001a25a0070 __CFRunLoopDoTimer + 940 40 CoreFoundation 0x00000001a259fbc8 __CFRunLoopDoTimers + 356 41 CoreFoundation 0x00000001a2585348 __CFRunLoopRun + 1852 42 CoreFoundation 0x00000001a25844b8 CFRunLoopRunSpecific + 612 43 DumpRenderTree 0x000000010202ee70 _ZL7runTestRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE + 3268 44 DumpRenderTree 0x000000010202dbcc _Z14dumpRenderTreeiPPKc + 3636 45 DumpRenderTree 0x000000010202f740 _Z18DumpRenderTreeMainiPPKc + 420 46 DumpRenderTree 0x000000010207ed7c main + 12 47 dyld 0x00000001a214ff28 start + 2236 ) libc++abi: terminating due to uncaught exception of type NSException Link: https://build.webkit.org/results/Apple-Ventura-Release-AppleSilicon-WK1-Tests/273058@main%20(7241)/media/track/track-paint-on-captions-crash-log.txt
<rdar://problem/121292775>
Test gardening commit 273252@main (d21be385f98f): <https://commits.webkit.org/273252@main> Reviewed commits have been landed. Closing PR #23007 and removing active labels.