<?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>229614</bug_id>
          
          <creation_ts>2021-08-27 09:50:57 -0700</creation_ts>
          <short_desc>[ BigSur EWS] webrtc/video-mediastreamtrack-stats.html is a flaky crash / failing</short_desc>
          <delta_ts>2021-08-27 15:46: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>WebRTC</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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>ayumi_kojima</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <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>1788048</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-08-27 09:50:57 -0700</bug_when>
    <thetext>webrtc/video-mediastreamtrack-stats.html

Is a flaky crash on macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS.

According to the history, the test has been flaky failing on Big Sur wk2 intel but I don&apos;t see any crash: https://results.webkit.org/?suite=layout-tests&amp;test=webrtc%2Fvideo-mediastreamtrack-stats.html

It looks like the flaky crash started on EWS at this build: https://ews-build.webkit.org/#/builders/60/builds/9803

Crash log: 

No crash log found for GPUProcess:95140.

stdout:

stderr:
LEAK: 3 WebPageProxy

Diff:

--- /Volumes/Data/worker/bigsur-release-tests-wk2/build/layout-test-results/webrtc/video-mediastreamtrack-stats-expected.txt
+++ /Volumes/Data/worker/bigsur-release-tests-wk2/build/layout-test-results/webrtc/video-mediastreamtrack-stats-actual.txt
@@ -1,3 +1,3 @@
 
-PASS Basic video media stream track stats
+FAIL Basic video media stream track stats assert_equals: expected (number) 480 but got (undefined) undefined</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1788100</commentid>
    <comment_count>1</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-08-27 11:54:16 -0700</bug_when>
    <thetext>Marked expectation: https://trac.webkit.org/changeset/281710/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1788102</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-08-27 11:54:40 -0700</bug_when>
    <thetext>&lt;rdar://problem/82448494&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1788103</commentid>
    <comment_count>3</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-08-27 11:55:48 -0700</bug_when>
    <thetext>I was able to reproduce the failure at TOT locally on my intel machine using: run-webkit-tests --iteration 50 webrtc/video-mediastreamtrack-stats.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1788213</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2021-08-27 15:46:43 -0700</bug_when>
    <thetext>From https://ews-build.s3-us-west-2.amazonaws.com/macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS/r435500-9803/com.apple.WebKit.GPU.Development-95140-crash-log.txt

Crashed Thread:        18  Dispatch queue: vtencoder-callback-queue-0x14239fcf0

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [95140]


Thread 18 Crashed:: Dispatch queue: vtencoder-callback-queue-0x14239fcf0
0   libsystem_pthread.dylib       	0x0000000180d85d9c pthread_mutex_lock + 0
1   com.apple.VideoToolbox        	0x000000018bdd4858 VTEncoderSessionEmitEncodedFrame + 404
2   com.apple.VideoToolbox        	0x000000018be82bb4 0x18bdc1000 + 793524
3   libxpc.dylib                  	0x0000000180af57d0 _xpc_connection_call_event_handler + 172
4   libxpc.dylib                  	0x0000000180af432c _xpc_connection_mach_event + 968
5   libdispatch.dylib             	0x0000000180bdbf8c _dispatch_client_callout4 + 20
6   libdispatch.dylib             	0x0000000180bf7114 _dispatch_mach_msg_invoke + 476
7   libdispatch.dylib             	0x0000000180be3570 _dispatch_lane_serial_drain + 308
8   libdispatch.dylib             	0x0000000180bf7e78 _dispatch_mach_invoke + 464
9   libdispatch.dylib             	0x0000000180be3570 _dispatch_lane_serial_drain + 308
10  libdispatch.dylib             	0x0000000180be42d8 _dispatch_lane_invoke + 456
11  libdispatch.dylib             	0x0000000180bed684 _dispatch_root_queue_drain + 388
12  libdispatch.dylib             	0x0000000180bed41c _dispatch_worker_thread + 236
13  libsystem_pthread.dylib       	0x0000000180d8b878 _pthread_start + 320
14  libsystem_pthread.dylib       	0x0000000180d865e0 thread_start + 8</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>