<?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>273501</bug_id>
          
          <creation_ts>2024-04-30 10:23:21 -0700</creation_ts>
          <short_desc>[ Ventura WK1 Debug ] 2x imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/track/track-element/track-mode are constant crashes</short_desc>
          <delta_ts>2024-05-14 06:53:30 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=273577</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="Jay Stfleur">j_stfleur</reporter>
          <assigned_to name="Eric Carlson">eric.carlson</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>jer.noble</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>2032253</commentid>
    <comment_count>0</comment_count>
    <who name="Jay Stfleur">j_stfleur</who>
    <bug_when>2024-04-30 10:23:21 -0700</bug_when>
    <thetext>Description:
imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/track/track-element/track-mode-disabled.html 
imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/track/track-element/track-mode.html 

Both tests were previously crashing on Ventura Wk1 release and debug, after fixed was summited. Test is now crashing only in Debug. Tests were originally unskipped on 274958@main

Buildbot URL:
https://build.webkit.org/#/builders/703/builds/5475

History:
https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Fembedded-content%2Fmedia-elements%2Ftrack%2Ftrack-element%2Ftrack-mode-disabled.html&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Fembedded-content%2Fmedia-elements%2Ftrack%2Ftrack-element%2Ftrack-mode.html&amp;version_name=Ventura&amp;limit=50000&amp;recent=false

Diff/Image Diff/Crash Log:
https://build.webkit.org/results/Apple-Ventura-Debug-WK1-Tests/278151@main%20(5475)/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/track/track-element/track-mode-crash-log.txt

https://build.webkit.org/results/Apple-Ventura-Debug-WK1-Tests/278151@main%20(5475)/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/track/track-element/track-mode-disabled-crash-log.txt

stderr:
ASSERTION FAILED: Uncaught exception - *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array
0
/Volumes/Data/worker/Apple-Ventura-Debug-Build/build/Source/WTF/wtf/BlockObjCExceptions.mm(39) : void ReportBlockedObjCException(NSException *__strong)
1   0x117095f69 WTFCrash
2   0x1170b8602 ReportBlockedObjCException(NSException*)
3   0x16cee1ba5 WebCore::MediaPlayerPrivateAVFoundationObjC::setCurrentTextTrack(WebCore::InbandTextTrackPrivateAVF*)
4   0x171e2d4f4 WebCore::MediaPlayerPrivateAVFoundation::configureInbandTracks()
5   0x171e2d599 WebCore::MediaPlayerPrivateAVFoundation::trackModeChanged()
6   0x171e2968c WebCore::InbandTextTrackPrivateAVF::setMode(WebCore::InbandTextTrackPrivateMode)
7   0x16cec7280 WebCore::MediaPlayerPrivateAVFoundationObjC::synchronizeTextTrackState()
8   0x171e2d3fa WebCore::MediaPlayerPrivateAVFoundation::configureInbandTracks()
9   0x171e2d599 WebCore::MediaPlayerPrivateAVFoundation::trackModeChanged()
10  0x16cec6e35 WebCore::MediaPlayerPrivateAVFoundationObjC::notifyTrackModeChanged()
11  0x171d5d103 WebCore::MediaPlayer::notifyTrackModeChanged()
12  0x170e26c6e WebCore::HTMLMediaElement::textTrackModeChanged(WebCore::TextTrack&amp;)
13  0x17110e081 auto WebCore::TextTrack::setMode(WebCore::TextTrack::Mode)::$_7::operator()&lt;WebCore::TextTrackClient&gt;(WebCore::TextTrackClient&amp;) const
14  0x17110e031 WTF::Detail::CallableWrapper&lt;WebCore::TextTrack::setMode(WebCore::TextTrack::Mode)::$_7, void, WebCore::TextTrackClient&amp;&gt;::call(WebCore::TextTrackClient&amp;)
15  0x171109aaa WTF::Function&lt;void (WebCore::TextTrackClient&amp;)&gt;::operator()(WebCore::TextTrackClient&amp;) const
16  0x1710f8ff2 WTF::WeakHashSet&lt;WebCore::TextTrackClient, WTF::DefaultWeakPtrImpl, (WTF::EnableWeakPtrThreadingAssertions)1&gt;::forEach(WTF::Function&lt;void (WebCore::TextTrackClient&amp;)&gt; const&amp;)
17  0x1710f8aa1 WebCore::TextTrack::setMode(WebCore::TextTrack::Mode)
18  0x16ea83c2f WebCore::setJSTextTrack_modeSetter(JSC::JSGlobalObject&amp;, WebCore::JSTextTrack&amp;, JSC::JSValue)::&apos;lambda&apos;()::operator()() const
19  0x16ea83bcd void WebCore::invokeFunctorPropagatingExceptionIfNecessary&lt;WebCore::setJSTextTrack_modeSetter(JSC::JSGlobalObject&amp;, WebCore::JSTextTrack&amp;, JSC::JSValue)::&apos;lambda&apos;()&gt;(JSC::JSGlobalObject&amp;, JSC::ThrowScope&amp;, WebCore::setJSTextTrack_modeSetter(JSC::JSGlobalObject&amp;, WebCore::JSTextTrack&amp;, JSC::JSValue)::&apos;lambda&apos;()&amp;&amp;)
20  0x16ea83b1c WebCore::setJSTextTrack_modeSetter(JSC::JSGlobalObject&amp;, WebCore::JSTextTrack&amp;, JSC::JSValue)
21  0x16e9d3f66 bool WebCore::IDLAttribute&lt;WebCore::JSTextTrack&gt;::set&lt;&amp;WebCore::setJSTextTrack_modeSetter(JSC::JSGlobalObject&amp;, WebCore::JSTextTrack&amp;, JSC::JSValue), (WebCore::CastedThisErrorBehavior)0&gt;(JSC::JSGlobalObject&amp;, long long, long long, JSC::PropertyName)
22  0x16e9d3de5 WebCore::setJSTextTrack_mode(JSC::JSGlobalObject*, long long, long long, JSC::PropertyName)
23  0x118dd0860 WTF::FunctionPtr&lt;(WTF::PtrTag)30177, bool (JSC::JSGlobalObject*, long long, long long, JSC::PropertyName), (WTF::FunctionAttributes)1&gt;::operator()(JSC::JSGlobalObject*, long long, long long, JSC::PropertyName) const
24  0x118ec5023 JSC::JSObject::putInlineSlow(JSC::JSGlobalObject*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&amp;)
25  0x118536e68 JSC::JSObject::putInlineForJSObject(JSC::JSCell*, JSC::JSGlobalObject*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&amp;)
26  0x118536b46 JSC::JSCell::putInline(JSC::JSGlobalObject*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&amp;)
27  0x118538510 JSC::JSValue::putInline(JSC::JSGlobalObject*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&amp;)
28  0x118adf0f9 llint_slow_path_put_by_id
29  0x11990a448 llint_entry
30  0x119923426 llint_entry
31  0x119923426 llint_entry</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2032254</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-04-30 10:23:44 -0700</bug_when>
    <thetext>&lt;rdar://problem/127302101&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2032261</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-04-30 10:42:18 -0700</bug_when>
    <thetext>Test gardening commit 278174@main (008a006df270): &lt;https://commits.webkit.org/278174@main&gt;

Reviewed commits have been landed. Closing PR #27938 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2034142</commentid>
    <comment_count>3</comment_count>
    <who name="Jay Stfleur">j_stfleur</who>
    <bug_when>2024-05-08 16:07:52 -0700</bug_when>
    <thetext>*** Bug 273577 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2035056</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2024-05-13 13:30:13 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/28498</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2035235</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-05-14 06:53:28 -0700</bug_when>
    <thetext>Committed 278754@main (75dd6c5e94b3): &lt;https://commits.webkit.org/278754@main&gt;

Reviewed commits have been landed. Closing PR #28498 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>