<?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>210528</bug_id>
          
          <creation_ts>2020-04-14 19:48:30 -0700</creation_ts>
          <short_desc>[GStreamer] media/media-source/media-source-seek-back.html is flaky crashing with 3 kinds of traces</short_desc>
          <delta_ts>2021-06-17 06:06:00 -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=210498</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="Lauro Moura">lmoura</reporter>
          <assigned_to name="Xabier Rodríguez Calvar">calvaris</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>calvaris</cc>
    
    <cc>dpino</cc>
    
    <cc>pnormand</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1641653</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2020-04-14 19:48:30 -0700</bug_when>
    <thetext>List of crashes since r259713 (outside this, only 4 times before r253000)

* r259713 - GTK Release X11 build 13249
    * #0  0x00007f5da1d6d243 in gst_gl_upload_transform_caps () at ../../Source/gst-plugins-base-1.16.1/gst-libs/gst/gl/gstglupload.c:1810
        1810      upload_methods[i]-&gt;transform_caps (upload-&gt;priv-&gt;upload_impl[i],
* r259775 - GTK Release X11 build 13257
    * #0  gst_gl_insert_debug_marker () at ../../Source/gst-plugins-base-1.16.1/gst-libs/gst/gl/gstgldebug.c:387
        387       const GstGLFuncs *gl = context-&gt;gl_vtable;
* r259819 - GTK Wayland build 11876
    * #0  0x00007f68565ff253 in gst_gl_upload_transform_caps () at ../../Source/gst-plugins-base-1.16.1/gst-libs/gst/gl/gstglupload.c:1810
        1810      upload_methods[i]-&gt;transform_caps (upload-&gt;priv-&gt;upload_impl[i],
* r259928 - GTK Release X11 build 13294
    * #0  gst_gl_insert_debug_marker () at ../../Source/gst-plugins-base-1.16.1/gst-libs/gst/gl/gstgldebug.c:387
        387       const GstGLFuncs *gl = context-&gt;gl_vtable;
* r259930 - GTK Release X11 build 13295
    * #0  gst_gl_insert_debug_marker () at ../../Source/gst-plugins-base-1.16.1/gst-libs/gst/gl/gstgldebug.c:387
        387       const GstGLFuncs *gl = context-&gt;gl_vtable;
* r259933 - GTK Release X11 build 13297
    * g_object_ref() assertion ref_count &lt; 0 in gst_gl_upload_new()
* r259990 - GTK Wayland build 11914
    * g_object_ref() assertion ref_count &lt; 0 in gst_gl_upload_new()
* r260035 - GTK Wayland build 11925
    * #0  0x00007f78389fa253 in gst_gl_upload_transform_caps () at ../../Source/gst-plugins-base-1.16.1/gst-libs/gst/gl/gstglupload.c:1810
        1810      upload_methods[i]-&gt;transform_caps (upload-&gt;priv-&gt;upload_impl[i],
* r260099 - GTK Release X11 build 13335
    * g_object_ref() assertion ref_count &lt; 0 in gst_gl_upload_new()

This seems similar to other GST-related flaky crashes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1662955</commentid>
    <comment_count>1</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-06-15 20:32:30 -0700</bug_when>
    <thetext>This bug is also happening in WPE (random crashes). For instance:

Crash-log: https://build.webkit.org/results/WPE%20Linux%2064-bit%20Release%20(Tests)/r262962%20(18567)/media/media-source/media-source-seek-back-crash-log.txt

Crash-log: https://build.webkit.org/results/WPE%20Linux%2064-bit%20Release%20(Tests)/r263055%20(18616)/media/media-source/media-source-seek-back-crash-log.txt

In both cases the type of crash was:

STDERR:
STDERR: (WPEWebProcess:15969): GLib-GObject-CRITICAL **: 14:25:45.861: g_object_ref: assertion &apos;old_val &gt; 0&apos; failed

Thread 1 (Thread 0x7fa24b553700 (LWP 16302)):
#0  0x00007fa30532cee5 in _g_log_abort (breakpoint=1) at ../glib/gmessages.c:554
#1  0x00007fa30532e1c9 in g_logv (log_domain=0x7fa305b192f7 &quot;GLib-GObject&quot;, log_level=G_LOG_LEVEL_CRITICAL, format=&lt;optimized out&gt;, args=args@entry=0x7fa24b54e140) at ../glib/gmessages.c:1373
#2  0x00007fa30532e393 in g_log (log_domain=log_domain@entry=0x7fa305b192f7 &quot;GLib-GObject&quot;, log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7fa30537f77f &quot;%s: assertion &apos;%s&apos; failed&quot;) at ../glib/gmessages.c:1415
#3  0x00007fa30532eb8d in g_return_if_fail_warning (log_domain=log_domain@entry=0x7fa305b192f7 &quot;GLib-GObject&quot;, pretty_function=pretty_function@entry=0x7fa305b1c978 &lt;__func__.15604&gt; &quot;g_object_ref&quot;, expression=expression@entry=0x7fa305b1b715 &quot;old_val &gt; 0&quot;) at ../glib/gmessages.c:2771
#4  0x00007fa305aec9fa in g_object_ref (_object=0x7fa23c00f460) at ../gobject/gobject.c:3368
#5  0x00007fa305aec9fa in g_object_ref (_object=0x7fa23c00f460) at ../gobject/gobject.c:3360
#6  0x00007fa305aecb08 in g_value_object_collect_value (value=0x7fa24b54e258, n_collect_values=&lt;optimized out&gt;, collect_values=&lt;optimized out&gt;, collect_flags=&lt;optimized out&gt;) at ../gobject/gobject.c:4007
#7  0x00007fa305233a46 in gst_structure_set_valist_internal (structure=0x7fa23c017160, fieldname=&lt;optimized out&gt;, varargs=varargs@entry=0x7fa24b54e300) at ../gst/gststructure.c:631
#8  0x00007fa305234dc6 in gst_structure_set (structure=structure@entry=0x7fa23c017160, field=field@entry=0x7fa305f9fa19 &quot;context&quot;) at ../gst/gststructure.c:663
#9  0x00007fa305f8a8e5 in gst_gl_handle_context_query (element=element@entry=0x55d4d8e60130 [GstGLUploadElement], query=query@entry=0x7fa2402412d0 [GstQuery], display=&lt;optimized out&gt;, gl_context=0x7fa23c00f460 [GstGLContextEGL], other_context=&lt;optimized out&gt;) at ../gst-libs/gst/gl/gstglutils.c:550
#10 0x00007fa305f67b1b in gst_gl_base_filter_query (trans=0x55d4d8e60130 [GstGLUploadElement], direction=GST_PAD_SRC, query=0x7fa2402412d0 [GstQuery]) at ../gst-libs/gst/gl/gstglbasefilter.c:224
#11 0x00007fa305211238 in gst_pad_query (pad=pad@entry=0x7fa23c139630 [GstPad], query=query@entry=0x7fa2402412d0 [GstQuery]) at ../gst/gstpad.c:4072
#12 0x00007fa30521199b in gst_pad_peer_query (pad=pad@entry=0x7fa23c138f40 [GstPad], query=query@entry=0x7fa2402412d0 [GstQuery]) at ../gst/gstpad.c:4204
#13 0x00007fa305f899b6 in pad_query (item=&lt;optimized out&gt;, value=0x7fa24b54e640, user_data=0x7fa2402412d0) at ../gst-libs/gst/gl/gstglutils.c:108
#14 0x00007fa3051ff13c in gst_iterator_fold (it=it@entry=0x7fa258007b20, func=func@entry=0x7fa305f89990 &lt;pad_query&gt;, ret=ret@entry=0x7fa24b54e640, user_data=user_data@entry=0x7fa2402412d0) at ../gst/gstiterator.c:617
#15 0x00007fa305f89b26 in gst_gl_run_query (element=&lt;optimized out&gt;, query=query@entry=0x7fa2402412d0 [GstQuery], direction=direction@entry=GST_PAD_SINK) at ../gst-libs/gst/gl/gstglutils.c:136
#16 0x00007fa305f8aabd in gst_gl_query_local_gl_context (element=0x55d4d8e604a0 [GstGLColorConvertElement], direction=direction@entry=GST_PAD_SINK, context_ptr=context_ptr@entry=0x55d4d8e606e8) at ../gst-libs/gst/gl/gstglutils.c:591
#17 0x00007fa305f6764e in _find_local_gl_context (filter=0x55d4d8e604a0 [GstGLColorConvertElement]) at ../gst-libs/gst/gl/gstglbasefilter.c:197
#18 0x00007fa305f67df5 in gst_gl_base_filter_find_gl_context (filter=0x55d4d8e604a0 [GstGLColorConvertElement]) at ../gst-libs/gst/gl/gstglbasefilter.c:432
#19 0x00007fa2887b24b1 in gst_gl_color_convert_element_transform_caps (bt=0x55d4d8e604a0 [GstGLColorConvertElement], direction=GST_PAD_SRC, caps=0x7fa258065cf0 [GstCaps], filter=0x0) at ../ext/gl/gstglcolorconvertelement.c:145
#20 0x00007fa3061bae71 in gst_base_transform_transform_caps (trans=trans@entry=0x55d4d8e604a0 [GstGLColorConvertElement], direction=GST_PAD_SRC, caps=caps@entry=0x7fa258065cf0 [GstCaps], filter=filter@entry=0x0) at ../libs/gst/base/gstbasetransform.c:474
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1663794</commentid>
    <comment_count>2</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-06-17 22:14:17 -0700</bug_when>
    <thetext>`gst_gl_insert_debug_marker` happening on media/video-src-blob-replay.html.

Crash-log: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r263193%20(14128)/media/video-src-blob-replay-crash-log.txt

Thread 1 (Thread 0x7fdf3edff700 (LWP 6706)):
#0  0x00007fdfa3499652 in gst_gl_insert_debug_marker (context=0x0 [GstGLContext], format=format@entry=0x7fdfa34c0e82 &quot;starting element %s&quot;) at ../gst-libs/gst/gl/gstgldebug.c:387
#1  0x00007fdfa348dcfa in gst_gl_base_filter_gl_start (context=&lt;optimized out&gt;, data=&lt;optimized out&gt;) at ../gst-libs/gst/gl/gstglbasefilter.c:283
#2  0x00007fdfa34b61a7 in _run_message_sync (message=0x7fde767f8f70) at ../gst-libs/gst/gl/gstglwindow.c:573
#3  0x00007fdfa34b6146 in _run_message_async (message=0x55f5324ed720) at ../gst-libs/gst/gl/gstglwindow.c:640
#4  0x00007fdfa2e01c3e in g_main_dispatch (context=0x7fde70093cd0) at ../glib/gmain.c:3309
#5  0x00007fdfa2e01c3e in g_main_context_dispatch (context=context@entry=0x7fde70093cd0) at ../glib/gmain.c:3974
#6  0x00007fdfa2e01ff0 in g_main_context_iterate (context=0x7fde70093cd0, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at ../glib/gmain.c:4047
#7  0x00007fdfa2e022e3 in g_main_loop_run (loop=0x7fde70085770) at ../glib/gmain.c:4241
#8  0x00007fdfa34b6239 in gst_gl_window_default_run (window=0x55f53299c100 [GstGLWindowX11|glwindowx11-7]) at ../gst-libs/gst/gl/gstglwindow.c:499
#9  0x00007fdfa34989ef in gst_gl_context_create_thread (context=0x7fde8c02d930 [GstGLContextGLX|glcontextglx7]) at ../gst-libs/gst/gl/gstglcontext.c:1305
#10 0x00007fdfa2e2b761 in g_thread_proxy (data=0x7fde28016b60) at ../glib/gthread.c:807
#11 0x00007fdfa3e7e5e2 in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:479
#12 0x00007fdfa1b0f473 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

STDERR: Traceback (most recent call last):
STDERR: File &quot;&lt;string&gt;&quot;, line 3, in &lt;module&gt;
STDERR: ModuleNotFoundError: No module named &apos;webkit&apos;
STDERR: /home/slave/.gdbinit:7: Error in sourced command file:
STDERR: Error while executing Python code.
STDERR:
STDERR: warning: core file may not match specified executable file.
STDERR: &lt;empty&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1664169</commentid>
    <comment_count>3</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-06-18 23:28:26 -0700</bug_when>
    <thetext>`gst_gl_insert_debug_marker` happening on fast/mediastream/mediastreamtrack-video-frameRate-clone-decreasing.html.

Crash-log: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r263254%20(14151)/fast/mediastream/mediastreamtrack-video-frameRate-clone-decreasing-crash-log.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747877</commentid>
    <comment_count>4</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2021-04-07 07:43:12 -0700</bug_when>
    <thetext>This seems to work now and bots seem happy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1749216</commentid>
    <comment_count>5</comment_count>
      <attachid>425747</attachid>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2021-04-12 07:53:08 -0700</bug_when>
    <thetext>Created attachment 425747
[fast-cq] Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1749542</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2021-04-12 22:58:41 -0700</bug_when>
    <thetext>Committed r275863 (236428@main): &lt;https://commits.webkit.org/236428@main&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 425747.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1749543</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-04-12 22:59:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/76576033&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1770600</commentid>
    <comment_count>8</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-06-17 06:04:03 -0700</bug_when>
    <thetext>There is this in TestExpectations:

webkit.org/b/210528 fast/mediastream/MediaStream-MediaElement-setObject-null.html [ Crash Pass ]

But that test is 1) consistently passing 2) not linked with this bug.

I will unflag it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1770601</commentid>
    <comment_count>9</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2021-06-17 06:06:00 -0700</bug_when>
    <thetext>r278984</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>425747</attachid>
            <date>2021-04-12 07:53:08 -0700</date>
            <delta_ts>2021-04-12 22:58:42 -0700</delta_ts>
            <desc>[fast-cq] Patch</desc>
            <filename>bug-210528-20210412165306.patch</filename>
            <type>text/plain</type>
            <size>1557</size>
            <attacher name="Xabier Rodríguez Calvar">calvaris</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjc1ODA2CmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggNzlmOGQ3ZjVkN2M3OTFhMTllNDI5
YWEyOTljMmFkYmQyY2M4MmZiZi4uZWYwODU5ZWRjOTBlMDA4M2NlNjQ5ZjhhYjIyYzlkZmY4MWY3
NWU0MSAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDIxLTA0LTEyICBYYWJpZXIgUm9kcmlndWV6
IENhbHZhciAgPGNhbHZhcmlzQGlnYWxpYS5jb20+CisKKyAgICAgICAgW0dTdHJlYW1lcl0gbWVk
aWEvbWVkaWEtc291cmNlL21lZGlhLXNvdXJjZS1zZWVrLWJhY2suaHRtbCBpcyBmbGFreSBjcmFz
aGluZyB3aXRoIDMga2luZHMgb2YgdHJhY2VzCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQu
b3JnL3Nob3dfYnVnLmNnaT9pZD0yMTA1MjgKKworICAgICAgICBVbnJldmlld2VkLgorCisgICAg
ICAgICogcGxhdGZvcm0vZ2xpYi9UZXN0RXhwZWN0YXRpb25zOiBVbmZsYWdnZWQgdGVzdC4KKwog
MjAyMS0wNC0xMCAgQ2hyaXMgRHVtZXogIDxjZHVtZXpAYXBwbGUuY29tPgogCiAgICAgICAgIFJl
Z3Jlc3Npb24ocjI3NTY2OCkgUG90ZW50aWFsIG51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