<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>259485</bug_id>
          
          <creation_ts>2023-07-25 10:02:56 -0700</creation_ts>
          <short_desc>REGRESSION(266260@main): [ Ventura+ wk1 ] http/tests/media/hls/track-in-band-multiple-cues.html is a constant crash</short_desc>
          <delta_ts>2024-03-12 14:12:43 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=259458</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=251771</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=259489</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ben Schwartz">ben_schwartz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>jer.noble</cc>
    
    <cc>sgill26</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1968058</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-07-25 10:02:56 -0700</bug_when>
    <thetext>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&amp;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 &apos;NSRangeException&apos;, reason: &apos;*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array&apos;
*** 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968059</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-07-25 10:03:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/112841466&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968061</commentid>
    <comment_count>2</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-07-25 10:06:18 -0700</bug_when>
    <thetext>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&apos;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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968062</commentid>
    <comment_count>3</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-07-25 10:09:25 -0700</bug_when>
    <thetext>(In reply to Ben Schwartz from comment #2)
&gt; I was able to reproduce this bug on macOS Ventura using arm64 running the
&gt; test as follows:
&gt; 
&gt; run-webkit-tests -1 http/tests/media/hls/track-in-band-multiple-cues.html
&gt; --iterations 10
&gt; 
&gt; Using the flakiness dashboard, I was able to identify that the regression
&gt; point appears to be the test&apos;s introduction to the project at 264554@main.
&gt; This may also be a problem with DumpRenderTree on WK1, so I have linked a
&gt; similar issue (https://bugs.webkit.org/show_bug.cgi?id=259482).

Correction: the regression is 266260@main, not 264554@main (typo).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968071</commentid>
    <comment_count>4</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-07-25 10:37:23 -0700</bug_when>
    <thetext>I have marked this test as a flaky failure while this issue is investigated. (Link: https://github.com/WebKit/WebKit/pull/16073)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968072</commentid>
    <comment_count>5</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-07-25 10:37:53 -0700</bug_when>
    <thetext>(In reply to Ben Schwartz from comment #4)
&gt; I have marked this test as a flaky failure while this issue is investigated.
&gt; (Link: https://github.com/WebKit/WebKit/pull/16073)

Correction: I have marked this test as a **constant crash** while the issue is investigated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1968108</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-07-25 13:24:47 -0700</bug_when>
    <thetext>Test gardening commit 266299@main (57d3bbd15db6): &lt;https://commits.webkit.org/266299@main&gt;

Reviewed commits have been landed. Closing PR #16073 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1973175</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-08-23 20:20:08 -0700</bug_when>
    <thetext>Test gardening commit 267217@main (8d7f14bbe65a): &lt;https://commits.webkit.org/267217@main&gt;

Reviewed commits have been landed. Closing PR #17002 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1977154</commentid>
    <comment_count>8</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2023-09-12 15:34:52 -0700</bug_when>
    <thetext>*** Bug 261427 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1983867</commentid>
    <comment_count>9</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-10-09 17:02:41 -0700</bug_when>
    <thetext>UPDATE: This test is also constantly crashing on macOS Sonoma wk1. Changed classification to Ventura+ wk1, will update test expectations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1983876</commentid>
    <comment_count>10</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-10-09 17:15:11 -0700</bug_when>
    <thetext>Test gardening commit 269119@main (67333835afb2): &lt;https://commits.webkit.org/269119@main&gt;

Reviewed commits have been landed. Closing PR #18876 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020559</commentid>
    <comment_count>11</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-03-12 14:12:43 -0700</bug_when>
    <thetext>&lt;rdar://problem/124478685&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>