Bug 259485 - REGRESSION(266260@main): [ Ventura+ wk1 ] http/tests/media/hls/track-in-band-multiple-cues.html is a constant crash
Summary: REGRESSION(266260@main): [ Ventura+ wk1 ] http/tests/media/hls/track-in-band-...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 261427 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-07-25 10:02 PDT by Ben Schwartz
Modified: 2024-03-12 14:12 PDT (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 Ben Schwartz 2023-07-25 10:02:56 PDT
http/tests/media/hls/track-in-band-multiple-cues.html

This test is a constant crash on macOS Ventura WK1.

HISTORY:

https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fmedia%2Fhls%2Ftrack-in-band-multiple-cues.html

CRASH LOG:

No crash log found for DumpRenderTree:66274.

stdout:

stderr:
2023-07-25 08:54:47.314 DumpRenderTree[66274:252601997] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001a10cf154 __exceptionPreprocess + 176
	1   libobjc.A.dylib                     0x00000001a0bee4d4 objc_exception_throw + 60
	2   CoreFoundation                      0x00000001a11b99b8 -[__NSCFString characterAtIndex:].cold.1 + 0
	3   CoreFoundation                      0x00000001a0ff7ff0 -[__NSArrayM objectAtIndex:] + 188
	4   AVFCore                             0x00000001b5329244 -[AVMediaSelectionOption _updateDisplayNameWithLocale:fallingBackToMatchingUndeterminedAndMultilingual:context:] + 88
	5   AVFCore                             0x00000001b53291a8 -[AVMediaSelectionOption _displayNameWithLocale:fallingBackToMatchingUndeterminedAndMultilingual:] + 40
	6   AVFCore                             0x00000001b526b7d4 -[AVPlayerItem selectMediaOption:inMediaSelectionGroup:] + 168
	7   WebCore                             0x000000011624e8b0 _ZN7WebCore34MediaPlayerPrivateAVFoundationObjC19setCurrentTextTrackEPNS_25InbandTextTrackPrivateAVFE + 456
	8   WebCore                             0x0000000117aaa3d0 _ZN7WebCore30MediaPlayerPrivateAVFoundation21configureInbandTracksEv + 360
	9   WebCore                             0x0000000117aa9ea8 _ZN7WebCore30MediaPlayerPrivateAVFoundation20dispatchNotificationEv + 828
	10  WebCore                             0x0000000117aaa184 _ZN7WebCore30MediaPlayerPrivateAVFoundation30scheduleMainThreadNotificationEONS0_12NotificationE + 416
	11  WebCore                             0x0000000117aaa514 _ZThn32_N7WebCore30MediaPlayerPrivateAVFoundation16trackModeChangedEv + 84
	12  WebCore                             0x00000001169982cc _ZN7WebCoreL19setJSTextTrack_modeEPN3JSC14JSGlobalObjectExxNS0_12PropertyNameE + 172
	13  JavaScriptCore                      0x000000010a1a2684 _ZN3JSC8JSObject13putInlineSlowEPNS_14JSGlobalObjectENS_12PropertyNameENS_7JSValueERNS_15PutPropertySlotE + 960
	14  JavaScriptCore                      0x0000000109fd9684 llint_slow_path_put_by_id + 1276
	15  JavaScriptCore                      0x000000010965f390 llint_entry + 50900
	16  JavaScriptCore                      0x00000001096778ac llint_entry + 150512
	17  JavaScriptCore                      0x000000010967793c llint_entry + 150656
	18  JavaScriptCore                      0x000000010967793c llint_entry + 150656
	19  JavaScriptCore                      0x0000000109652a08 vmEntryToJavaScript + 260
	20  JavaScriptCore                      0x0000000109eb0624 _ZN3JSC11Interpreter11executeCallEPNS_8JSObjectERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 504
	21  JavaScriptCore                      0x000000010a185890 _ZN3JSC14runJSMicrotaskEPNS_14JSGlobalObjectEN3WTF23ObjectIdentifierGenericINS_23MicrotaskIdentifierTypeENS2_38ObjectIdentifierThreadSafeAccessTraitsEEENS_7JSValueES7_S7_S7_S7_ + 396
	22  WebCore                             0x0000000116fc0708 _ZN7WebCore19JSMicrotaskCallback4callEv + 112
	23  WebCore                             0x000000011734e410 _ZN7WebCore14MicrotaskQueue26performMicrotaskCheckpointEv + 256
	24  WebCore                             0x0000000116fa9460 _ZN7WebCore11JSExecStateD2Ev + 152
	25  WebCore                             0x0000000116fa54a8 _ZN7WebCore15JSEventListener11handleEventERNS_22ScriptExecutionContextERNS_5EventE + 1648
	26  WebCore                             0x000000011732fd80 _ZN7WebCore11EventTarget25innerInvokeEventListenersERNS_5EventEN3WTF6VectorINS3_6RefPtrINS_23RegisteredEventListenerENS3_12RawPtrTraitsIS6_EENS3_21DefaultRefDerefTraitsIS6_EEEELm1ENS3_15CrashOnOverflowELm2ENS3_10FastMallocEEENS0_16EventInvokePhaseE + 428
	27  WebCore                             0x000000011732f864 _ZN7WebCore11EventTarget18fireEventListenersERNS_5EventENS0_16EventInvokePhaseE + 212
	28  WebCore                             0x000000011732f754 _ZN7WebCore11EventTarget13dispatchEventERNS_5EventE + 180
	29  WebCore                             0x0000000117327ce0 _ZN7WebCore9EventLoop3runEv + 200
	30  WebCore                             0x00000001173a9bb0 _ZN7WebCore15WindowEventLoop17didReachTimeToRunEv + 32
	31  WebCore                             0x00000001179beec0 _ZN7WebCore12ThreadTimers24sharedTimerFiredInternalEv + 200
	32  WebCore                             0x00000001179f0d2c _ZN7WebCoreL10timerFiredEP16__CFRunLoopTimerPv + 28
	33  CoreFoundation                      0x00000001a10703c8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
	34  CoreFoundation                      0x00000001a1070070 __CFRunLoopDoTimer + 940
	35  CoreFoundation                      0x00000001a106fbc8 __CFRunLoopDoTimers + 356
	36  CoreFoundation                      0x00000001a1055348 __CFRunLoopRun + 1852
	37  CoreFoundation                      0x00000001a10544b8 CFRunLoopRunSpecific + 612
	38  DumpRenderTree                      0x0000000104250910 _ZL7runTestRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE + 3072
	39  DumpRenderTree                      0x000000010424f844 _Z14dumpRenderTreeiPPKc + 3816
	40  DumpRenderTree                      0x00000001042511dc _Z18DumpRenderTreeMainiPPKc + 420
	41  DumpRenderTree                      0x000000010429f244 main + 12
	42  dyld                                0x00000001a0c1ff28 start + 2236
)
libc++abi: terminating due to uncaught exception of type NSException

CRASH LOG URL:

https://build.webkit.org/results/Apple-Ventura-Release-AppleSilicon-WK1-Tests/266291@main%20(4402)/http/tests/media/hls/track-in-band-multiple-cues-crash-log.txt
Comment 1 Radar WebKit Bug Importer 2023-07-25 10:03:21 PDT
<rdar://problem/112841466>
Comment 2 Ben Schwartz 2023-07-25 10:06:18 PDT
I was able to reproduce this bug on macOS Ventura using arm64 running the test as follows:

run-webkit-tests -1 http/tests/media/hls/track-in-band-multiple-cues.html --iterations 10

Using the flakiness dashboard, I was able to identify that the regression point appears to be the test's introduction to the project at 264554@main. This may also be a problem with DumpRenderTree on WK1, so I have linked a similar issue (https://bugs.webkit.org/show_bug.cgi?id=259482).
Comment 3 Ben Schwartz 2023-07-25 10:09:25 PDT
(In reply to Ben Schwartz from comment #2)
> I was able to reproduce this bug on macOS Ventura using arm64 running the
> test as follows:
> 
> run-webkit-tests -1 http/tests/media/hls/track-in-band-multiple-cues.html
> --iterations 10
> 
> Using the flakiness dashboard, I was able to identify that the regression
> point appears to be the test's introduction to the project at 264554@main.
> This may also be a problem with DumpRenderTree on WK1, so I have linked a
> similar issue (https://bugs.webkit.org/show_bug.cgi?id=259482).

Correction: the regression is 266260@main, not 264554@main (typo).
Comment 4 Ben Schwartz 2023-07-25 10:37:23 PDT
I have marked this test as a flaky failure while this issue is investigated. (Link: https://github.com/WebKit/WebKit/pull/16073)
Comment 5 Ben Schwartz 2023-07-25 10:37:53 PDT
(In reply to Ben Schwartz from comment #4)
> I have marked this test as a flaky failure while this issue is investigated.
> (Link: https://github.com/WebKit/WebKit/pull/16073)

Correction: I have marked this test as a **constant crash** while the issue is investigated.
Comment 6 EWS 2023-07-25 13:24:47 PDT
Test gardening commit 266299@main (57d3bbd15db6): <https://commits.webkit.org/266299@main>

Reviewed commits have been landed. Closing PR #16073 and removing active labels.
Comment 7 EWS 2023-08-23 20:20:08 PDT
Test gardening commit 267217@main (8d7f14bbe65a): <https://commits.webkit.org/267217@main>

Reviewed commits have been landed. Closing PR #17002 and removing active labels.
Comment 8 Ryan Haddad 2023-09-12 15:34:52 PDT
*** Bug 261427 has been marked as a duplicate of this bug. ***
Comment 9 Ben Schwartz 2023-10-09 17:02:41 PDT
UPDATE: This test is also constantly crashing on macOS Sonoma wk1. Changed classification to Ventura+ wk1, will update test expectations.
Comment 10 EWS 2023-10-09 17:15:11 PDT
Test gardening commit 269119@main (67333835afb2): <https://commits.webkit.org/269119@main>

Reviewed commits have been landed. Closing PR #18876 and removing active labels.
Comment 11 Ben Schwartz 2024-03-12 14:12:43 PDT
<rdar://problem/124478685>