<?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>262425</bug_id>
          
          <creation_ts>2023-09-29 19:17:54 -0700</creation_ts>
          <short_desc>REGRESSION(268433@main): [ iOS17 Sonoma ] 5 tests under http/wpt/mediarecorder are constantly crashing.</short_desc>
          <delta_ts>2024-06-03 10:31:13 -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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=261964</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=262489</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=262516</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="youenn fablet">youennf</assigned_to>
          <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1981490</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-09-29 19:17:54 -0700</bug_when>
    <thetext>The following tests under http/wpt/mediarecorder/ are constantly crashing:

http/wpt/mediarecorder/MediaRecorder-dataavailable.html
http/wpt/mediarecorder/MediaRecorder-multiple-start-stop.html
http/wpt/mediarecorder/MediaRecorder-requestData.html
http/wpt/mediarecorder/pause-recording.html
http/wpt/mediarecorder/record-96KHz-sources.html

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=http%2Fwpt%2Fmediarecorder%2FMediaRecorder-dataavailable.html&amp;test=http%2Fwpt%2Fmediarecorder%2FMediaRecorder-multiple-start-stop.html&amp;test=http%2Fwpt%2Fmediarecorder%2FMediaRecorder-requestData.html&amp;test=http%2Fwpt%2Fmediarecorder%2Fpause-recording.html&amp;test=http%2Fwpt%2Fmediarecorder%2Frecord-96KHz-sources.html

CRASH LOG (stderr):

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/optional:962: assertion this-&gt;has_value() failed: optional operator* called on a disengaged valuecom.apple.WebKit.WebContent.Development terminated (pid 73897) for reason: crash
LEAK: 1 WebPageProxy

CRASH LOG URL:

https://build.webkit.org/results/Apple-Sonoma-Debug-AppleSilicon-WK2-Tests/268677@main%20(32)/http/wpt/mediarecorder/MediaRecorder-dataavailable-crash-log.txt

REPRODUCIBILITY:

I was able to reproduce this issue on macOS Sonoma (14.0, 23A344/arm64) ToT using the following command: 

run-webkit-tests --clobber-old-results --verbose http/wpt/mediarecorder/MediaRecorder-dataavailable.html http/wpt/mediarecorder/MediaRecorder-multiple-start-stop.html http/wpt/mediarecorder/MediaRecorder-requestData.html http/wpt/mediarecorder/pause-recording.html http/wpt/mediarecorder/record-96KHz-sources.html

REGRESSION:

I was able to bisect a possible regression point at 268433@main. This issue did not reproduce before then, and changes at that point appear to be directly related to the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1981491</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-09-29 19:18:08 -0700</bug_when>
    <thetext>&lt;rdar://problem/116267156&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1981497</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-09-29 19:51:38 -0700</bug_when>
    <thetext>Test gardening commit 268685@main (1c8170822ba4): &lt;https://commits.webkit.org/268685@main&gt;

Reviewed commits have been landed. Closing PR #18455 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1982014</commentid>
    <comment_count>3</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2023-10-03 01:00:52 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/18542</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1982067</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-10-03 07:42:59 -0700</bug_when>
    <thetext>Committed 268775@main (eb2233a41bba): &lt;https://commits.webkit.org/268775@main&gt;

Reviewed commits have been landed. Closing PR #18542 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1982134</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2023-10-03 10:10:09 -0700</bug_when>
    <thetext>We still need to re-enable the tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1982183</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-10-03 11:53:24 -0700</bug_when>
    <thetext>Test gardening commit 268795@main (5c5277763eef): &lt;https://commits.webkit.org/268795@main&gt;

Reviewed commits have been landed. Closing PR #18566 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2039466</commentid>
    <comment_count>7</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-06-03 10:31:13 -0700</bug_when>
    <thetext>This no longer appears to be occurring. Removing test expectations. Please file a new bug if issues persist.

Tracking test expectations removal in bug #274990 (rdar://129080660).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>