<?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>225552</bug_id>
          
          <creation_ts>2021-05-07 18:47:29 -0700</creation_ts>
          <short_desc>[GStreamer] REGRESSION(r277175) imported/w3c/web-platform-tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-video-is-black.https.html is a flaky crash</short_desc>
          <delta_ts>2022-02-10 16:34:00 -0800</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>DUPLICATE</resolution>
          <dup_id>225518</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Diego Pino">dpino</reporter>
          <assigned_to name="Diego Pino">dpino</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>glenn</cc>
    
    <cc>hta</cc>
    
    <cc>jer.noble</cc>
    
    <cc>philipj</cc>
    
    <cc>pnormand</cc>
    
    <cc>sergio</cc>
    
    <cc>tommyw</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1758136</commentid>
    <comment_count>0</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2021-05-07 18:47:29 -0700</bug_when>
    <thetext>Results dashboard:

https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fmediacapture-streams%2FMediaStreamTrack-MediaElement-disabled-video-is-black.https.html&amp;platform=GTK&amp;platform=WPE&amp;platform=linux&amp;platform=mac

Stacktrace:

https://build.webkit.org/results/GTK-Linux-64-bit-Debug-Tests/r277196%20(1013)/fast/mediastream/MediaStream-video-element-video-tracks-disabled-then-enabled-crash-log.txt

Thread 1 (Thread 0x7f7785884ec0 (LWP 842)):
#0  __memset_avx2_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:151
#1  0x00007f7790d610d8 in InternalSource::videoSampleAvailable(WebCore::MediaSample&amp;) (this=0x7f77262b7850, sample=...) at ../../Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:272
#2  0x00007f779376d8c8 in WebCore::RealtimeMediaSource::videoSampleAvailable(WebCore::MediaSample&amp;) (this=0x7f77262bd4e0, mediaSample=...) at ../../Source/WebCore/platform/mediastream/RealtimeMediaSource.cpp:211
#3  0x00007f77937a6fda in WebCore::RealtimeVideoSource::videoSampleAvailable(WebCore::MediaSample&amp;) (this=0x7f77262bd4e0, sample=...) at ../../Source/WebCore/platform/mediastream/RealtimeVideoSource.cpp:200
#4  0x00007f779376d8c8 in WebCore::RealtimeMediaSource::videoSampleAvailable(WebCore::MediaSample&amp;) (this=0x7f772628d780, mediaSample=...) at ../../Source/WebCore/platform/mediastream/RealtimeMediaSource.cpp:211
#5  0x00007f7793779ccd in WebCore::RealtimeVideoCaptureSource::dispatchMediaSampleToObservers(WebCore::MediaSample&amp;) (this=0x7f772628d780, sample=...) at ../../Source/WebCore/platform/mediastream/RealtimeVideoCaptureSource.cpp:403
#6  0x00007f779445b5ec in WebCore::MockRealtimeVideoSourceGStreamer::updateSampleBuffer() (this=0x7f772628d780) at ../../Source/WebCore/platform/mediastream/gstreamer/MockRealtimeVideoSourceGStreamer.cpp:70
#7  0x00007f77937d34a9 in WebCore::MockRealtimeVideoSource::generateFrame() (this=0x7f772628d780) at ../../Source/WebCore/platform/mock/MockRealtimeVideoSource.cpp:449
#8  0x00007f77937dfe5b in std::__invoke_impl&lt;void, void (WebCore::MockRealtimeVideoSource::*&amp;)(), WebCore::MockRealtimeVideoSource*&amp;&gt;(std::__invoke_memfun_deref, void (WebCore::MockRealtimeVideoSource::*&amp;)(), WebCore::MockRealtimeVideoSource*&amp;) (__f=@0x7f772629d7e8: (void (WebCore::MockRealtimeVideoSource::*)(WebCore::MockRealtimeVideoSource * const)) 0x7f77937d3298 &lt;WebCore::MockRealtimeVideoSource::generateFrame()&gt;, __t=@0x7f772629d7f8: 0x7f772628d780) at /usr/include/c++/10.2.0/bits/invoke.h:73
#9  0x00007f77937dfd43 in std::__invoke&lt;void (WebCore::MockRealtimeVideoSource::*&amp;)(), WebCore::MockRealtimeVideoSource*&amp;&gt;(void (WebCore::MockRealtimeVideoSource::*&amp;)(), WebCore::MockRealtimeVideoSource*&amp;) (__fn=@0x7f772629d7e8: (void (WebCore::MockRealtimeVideoSource::*)(WebCore::MockRealtimeVideoSource * const)) 0x7f77937d3298 &lt;WebCore::MockRealtimeVideoSource::generateFrame()&gt;) at /usr/include/c++/10.2.0/bits/invoke.h:95
#10 0x00007f77937dfc3f in std::_Bind&lt;void (WebCore::MockRealtimeVideoSource::*(WebCore::MockRealtimeVideoSource*))()&gt;::__call&lt;void, , 0ul&gt;(std::tuple&lt;&gt;&amp;&amp;, std::_Index_tuple&lt;0ul&gt;) (this=0x7f772629d7e8, __args=...) at /usr/include/c++/10.2.0/functional:416
#11 0x00007f77937dfb63 in std::_Bind&lt;void (WebCore::MockRealtimeVideoSource::*(WebCore::MockRealtimeVideoSource*))()&gt;::operator()&lt;, void&gt;() (this=0x7f772629d7e8) at /usr/include/c++/10.2.0/functional:499
#12 0x00007f77937dfac2 in WTF::Detail::CallableWrapper&lt;std::_Bind&lt;void (WebCore::MockRealtimeVideoSource::*(WebCore::MockRealtimeVideoSource*))()&gt;, void&gt;::call() (this=0x7f772629d7e0) at WTF/Headers/wtf/Function.h:52
#13 0x00007f778f7b0679 in WTF::Function&lt;void ()&gt;::operator()() const (this=0x7f772628d960) at WTF/Headers/wtf/Function.h:83
#14 0x00007f77937dfae2 in WTF::RunLoop::Timer&lt;WebCore::MockRealtimeVideoSource&gt;::fired() (this=0x7f772628d938) at WTF/Headers/wtf/RunLoop.h:187
#15 0x00007f778c0bc165 in operator()(gpointer) const (__closure=0x0, userData=0x7f772628d938) at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:177
#16 0x00007f778c0bc1a5 in _FUN(gpointer) () at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:181
#17 0x00007f778c0bb7bd in operator()(GSource*, GSourceFunc, gpointer) const (__closure=0x0, source=0x55d163c10f60, callback=0x7f778c0bc188 &lt;_FUN(gpointer)&gt;, userData=0x7f772628d938) at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:53
#18 0x00007f778c0bb80b in _FUN(GSource*, GSourceFunc, gpointer) () at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:56
#19 0x00007f7787f68dbf in g_main_dispatch (context=0x55d1637b5930) at ../glib/gmain.c:3337
#20 g_main_context_dispatch (context=0x55d1637b5930) at ../glib/gmain.c:4055
#21 0x00007f7787f69168 in g_main_context_iterate (context=0x55d1637b5930, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at ../glib/gmain.c:4131
#22 0x00007f7787f69483 in g_main_loop_run (loop=0x55d163730c90) at ../glib/gmain.c:4329
#23 0x00007f778c0bbdc8 in WTF::RunLoop::run() () at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:108
#24 0x00007f7790b56023 in WebKit::AuxiliaryProcessMainBase&lt;WebKit::WebProcess, true&gt;::run(int, char**) (this=0x7ffc4572c100, argc=4, argv=0x7ffc4572c2a8) at ../../Source/WebKit/Shared/AuxiliaryProcessMain.h:70
#25 0x00007f7790b5390a in WebKit::AuxiliaryProcessMain&lt;WebKit::WebProcessMainGtk&gt;(int, char**) (argc=4, argv=0x7ffc4572c2a8) at ../../Source/WebKit/Shared/AuxiliaryProcessMain.h:96
#26 0x00007f7790b4f73a in WebKit::WebProcessMain(int, char**) (argc=4, argv=0x7ffc4572c2a8) at ../../Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp:78
#27 0x000055d162868949 in main(int, char**) (argc=4, argv=0x7ffc4572c2a8) at ../../Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp:31</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1758139</commentid>
    <comment_count>1</comment_count>
      <attachid>428070</attachid>
    <who name="Diego Pino">dpino</who>
    <bug_when>2021-05-07 18:53:14 -0700</bug_when>
    <thetext>Created attachment 428070
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1758160</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-05-07 23:05:55 -0700</bug_when>
    <thetext>See bug 225518</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1758161</commentid>
    <comment_count>3</comment_count>
      <attachid>428070</attachid>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-05-07 23:07:14 -0700</bug_when>
    <thetext>Comment on attachment 428070
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=428070&amp;action=review

&gt; Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:272
&gt; +            memset(data.data() + yOffset, 128, uOffset - yOffset);

I think this doesn&apos;t fill enough data though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1758178</commentid>
    <comment_count>4</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2021-05-08 03:32:34 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 225518 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>428070</attachid>
            <date>2021-05-07 18:53:14 -0700</date>
            <delta_ts>2022-02-10 16:34:00 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-225552-20210508095311.patch</filename>
            <type>text/plain</type>
            <size>1947</size>
            <attacher name="Diego Pino">dpino</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjc3MjE3CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggM2I0MTBlM2M4NDNkZjZk
MWU2N2Q5NDFkNWRhYWY4M2ZjYmEzZTc4ZC4uZmM2OGYzZTQ2MGNiYzM3NTg3MTIwNmU3ZTFhY2Ix
MDVkNDY2ODY2MSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDIxLTA1LTA3ICBEaWVn
byBQaW5vIEdhcmNpYSAgPGRwaW5vQGlnYWxpYS5jb20+CisKKyAgICAgICAgW0dTdHJlYW1lcl0g
UkVHUkVTU0lPTihyMjc3MTc1KSBpbXBvcnRlZC93M2Mvd2ViLXBsYXRmb3JtLXRlc3RzL21lZGlh
Y2FwdHVyZS1zdHJlYW1zL01lZGlhU3RyZWFtVHJhY2stTWVkaWFFbGVtZW50LWRpc2FibGVkLXZp
ZGVvLWlzLWJsYWNrLmh0dHBzLmh0bWwgaXMgYSBmbGFreSBjcmFzaAorICAgICAgICBodHRwczov
L2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjI1NTUyCisKKyAgICAgICAgUmV2aWV3
ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgKiBwbGF0Zm9ybS9tZWRpYXN0cmVhbS9n
c3RyZWFtZXIvR1N0cmVhbWVyTWVkaWFTdHJlYW1Tb3VyY2UuY3BwOiBGaWxsIHVwIG1lbW9yeSBi
dWZmZXIgZnJvbSB5T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Ag
ICAgbWVtc2V0KGRhdGEuZGF0YSgpLCAwLCB5T2Zmc2V0KTsKLSAgICAgICAgICAgIG1lbXNldChk
YXRhLmRhdGEoKSArIHlPZmZzZXQsIDEyOCwgdU9mZnNldCk7CisgICAgICAgICAgICBtZW1zZXQo
ZGF0YS5kYXRhKCkgKyB5T2Zmc2V0LCAxMjgsIHVPZmZzZXQgLSB5T2Zmc2V0KTsKICAgICAgICAg
fQogICAgICAgICBnc3RfYnVmZmVyX2FkZF92aWRlb19tZXRhX2Z1bGwoYnVmZmVyLmdldCgpLCBH
U1RfVklERU9fRlJBTUVfRkxBR19OT05FLCBHU1RfVklERU9fRk9STUFUX0k0MjAsIEdTVF9WSURF
T19JTkZPX1dJRFRIKCZpbmZvKSwgR1NUX1ZJREVPX0lORk9fSEVJR0hUKCZpbmZvKSwgMywgaW5m
by5vZmZzZXQsIGluZm8uc3RyaWRlKTsKICAgICAgICAgYXV0byBibGFja1NhbXBsZSA9IGFkb3B0
R1JlZihnc3Rfc2FtcGxlX25ldyhidWZmZXIuZ2V0KCksIGNhcHMuZ2V0KCksIG51bGxwdHIsIG51
bGxwdHIpKTsK
</data>

          </attachment>
      

    </bug>

</bugzilla>