<?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>264708</bug_id>
          
          <creation_ts>2023-11-12 07:14:40 -0800</creation_ts>
          <short_desc>[GStreamer][MSE][Debug] media/media-source/media-source-error-crash.html is flaky crash</short_desc>
          <delta_ts>2024-08-26 02:08:16 -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>Platform</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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 name="Philippe Normand">philn</reporter>
          <assigned_to name="Philippe Normand">philn</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1991968</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2023-11-12 07:14:40 -0800</bug_when>
    <thetext>It&apos;s not clear since when exactly... results.webkit.org points to 270581@main but there is no obvious patch to suspect for the regression...


Thread 1 (Thread 0x7f9b73fff640 (LWP 690710)):
#0  WTFCrash() () at /app/webkit/Source/WTF/wtf/Assertions.cpp:333
#1  0x00007fb4b416cf91 in WTFCrashWithInfo(int, char const*, char const*, int) () at /app/webkit/WebKitBuild/WPE/Debug/WTF/Headers/wtf/Assertions.h:778
#2  0x00007fb4bc79d7da in WebCore::AppendPipeline::handleErrorConditionFromStreamingThread() (this=0x7fb4992cba80) at /app/webkit/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:258
#3  0x00007fb4bc79d8d0 in WebCore::AppendPipeline::handleErrorSyncMessage(_GstMessage*) (this=0x7fb4992cba80, message=0x7f9b6c006a10 [None]) at /app/webkit/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:265
#4  0x00007fb4bc79c097 in operator()(GstBus*, GstMessage*, WebCore::AppendPipeline*) const (__closure=0x0, message=0x7f9b6c006a10 [None], appendPipeline=0x7fb4992cba80) at /app/webkit/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:122
#5  0x00007fb4bc79c0c6 in _FUN(GstBus*, GstMessage*, WebCore::AppendPipeline*) () at /app/webkit/Source/WebCore/platform/graphics/gstreamer/mse/AppendPipeline.cpp:122
#6  0x00007fb4a5b9a6ca in g_cclosure_marshal_VOID__BOXEDv (closure=0x5596bb202080, return_value=&lt;optimized out&gt;, instance=0x5596bb4638f0, args=&lt;optimized out&gt;, marshal_data=&lt;optimized out&gt;, n_params=&lt;optimized out&gt;, param_types=&lt;optimized out&gt;) at ../gobject/gmarshal.c:1686
#7  0x00007fb4a5bb4f35 in _g_closure_invoke_va (param_types=&lt;optimized out&gt;, n_params=&lt;optimized out&gt;, args=0x7f9b73ffe2b0, instance=&lt;optimized out&gt;, return_value=&lt;optimized out&gt;, closure=0x5596bb202080) at ../gobject/gclosure.c:895
#8  g_signal_emit_valist (instance=&lt;optimized out&gt;, signal_id=&lt;optimized out&gt;, detail=&lt;optimized out&gt;, var_args=var_args@entry=0x7f9b73ffe2b0) at ../gobject/gsignal.c:3472
#9  0x00007fb4a5bb5033 in g_signal_emit (instance=instance@entry=0x5596bb4638f0, signal_id=&lt;optimized out&gt;, detail=&lt;optimized out&gt;) at ../gobject/gsignal.c:3622
#10 0x00007fb4a94ee59b in gst_bus_sync_signal_handler (bus=bus@entry=0x5596bb4638f0 [GstBus|bus1225], message=message@entry=0x7f9b6c006a10 [None], data=data@entry=0x0) at ../gst/gstbus.c:1307
#11 0x00007fb4a94eea8d in gst_bus_post (bus=0x5596bb4638f0 [GstBus|bus1225], message=0x7f9b6c006a10 [None]) at ../gst/gstbus.c:364
#12 0x00007fb4a9504fbb in gst_element_post_message_default (element=element@entry=0x5596bb2027b0 [GstElement|append-pipeline-video-mp4-56], message=0x7f9b6c006a10 [None]) at ../gst/gstelement.c:2127
#13 0x00007fb4a94df583 in gst_bin_post_message (element=0x5596bb2027b0 [GstElement|append-pipeline-video-mp4-56], msg=0x7f9b6c006a10 [None]) at ../gst/gstbin.c:2789
#14 0x00007fb4a9504d7c in gst_element_post_message (element=0x5596bb2027b0 [GstElement|append-pipeline-video-mp4-56], message=0x7f9b6c006a10 [None]) at ../gst/gstelement.c:2170
#15 0x00007fb4a94d537c in bin_bus_handler (bus=&lt;optimized out&gt;, message=&lt;optimized out&gt;, bin=&lt;optimized out&gt;) at ../gst/gstbin.c:3260
#16 0x00007fb4a94ee732 in gst_bus_post (bus=0x5596bb4636e0 [GstBus|bus1224], message=0x7f9b6c006a10 [None]) at ../gst/gstbus.c:357
#17 0x00007fb4a9504fbb in gst_element_post_message_default (element=0x5596bb0ed620 [GstElement|qtdemux49], message=0x7f9b6c006a10 [None]) at ../gst/gstelement.c:2127
#18 0x00007fb4a9504d7c in gst_element_post_message (element=element@entry=0x5596bb0ed620 [GstElement|qtdemux49], message=0x7f9b6c006a10 [None]) at ../gst/gstelement.c:2170
#19 0x00007fb4a950529d in gst_element_message_full_with_details (element=element@entry=0x5596bb0ed620 [GstElement|qtdemux49], type=type@entry=GST_MESSAGE_ERROR, domain=&lt;optimized out&gt;, code=code@entry=9, text=text@entry=0x5596bb45dcf0 &quot;This file is invalid and cannot be played.&quot;, debug=debug@entry=0x7f9b6c006920 &quot;This file is invalid and cannot be played.&quot;, file=&lt;optimized out&gt;, function=&lt;optimized out&gt;, line=&lt;optimized out&gt;, structure=&lt;optimized out&gt;) at ../gst/gstelement.c:2306
#20 0x00007fb4a9505409 in gst_element_message_full (element=element@entry=0x5596bb0ed620 [GstElement|qtdemux49], type=type@entry=GST_MESSAGE_ERROR, domain=&lt;optimized out&gt;, code=code@entry=9, text=text@entry=0x5596bb45dcf0 &quot;This file is invalid and cannot be played.&quot;, debug=debug@entry=0x7f9b6c006920 &quot;This file is invalid and cannot be played.&quot;, file=&lt;optimized out&gt;, function=&lt;optimized out&gt;, line=&lt;optimized out&gt;) at ../gst/gstelement.c:2345
#21 0x00007fb4380e9c8a in gst_qtdemux_process_adapter (demux=0x5596bb0ed620 [GstQTDemux|qtdemux49], force=&lt;optimized out&gt;) at ../gst/isomp4/qtdemux.c:7476
#22 0x00007fb4a95277a5 in gst_pad_chain_data_unchecked (pad=pad@entry=0x5596bb0edb40 [GstPad|sink], type=type@entry=4112, data=data@entry=0x5596bb4640f0) at ../gst/gstpad.c:4463
#23 0x00007fb4a952b194 in gst_pad_push_data (pad=pad@entry=0x5596bb48ade0 [GstPad|src], type=type@entry=4112, data=data@entry=0x5596bb4640f0) at ../gst/gstpad.c:4739
#24 0x00007fb4a952b55e in gst_pad_push (pad=0x5596bb48ade0 [GstPad|src], buffer=0x5596bb4640f0 [None]) at ../gst/gstpad.c:4858
#25 0x00007fb4a65348cb in gst_base_transform_chain (pad=&lt;optimized out&gt;, parent=0x5596bb48a610 [GstObject|identity102], buffer=&lt;optimized out&gt;) at ../libs/gst/base/gstbasetransform.c:2391
#26 0x00007fb4a95277a5 in gst_pad_chain_data_unchecked (pad=pad@entry=0x5596bb48a9d0 [GstPad|sink], type=type@entry=4112, data=data@entry=0x5596bb4640f0) at ../gst/gstpad.c:4463
#27 0x00007fb4a952b194 in gst_pad_push_data (pad=pad@entry=0x5596bb0ed1c0 [GstPad|src], type=type@entry=4112, data=data@entry=0x5596bb4640f0) at ../gst/gstpad.c:4739
#28 0x00007fb4a952b55e in gst_pad_push (pad=pad@entry=0x5596bb0ed1c0 [GstPad|src], buffer=0x5596bb4640f0 [None]) at ../gst/gstpad.c:4858
#29 0x00007fb4a652e2e4 in gst_base_src_loop (pad=0x5596bb0ed1c0 [GstPad|src]) at ../libs/gst/base/gstbasesrc.c:3035
#30 0x00007fb4a955f911 in gst_task_func (task=0x5596bafa5d30 [GstTask|appsrc111:src]) at ../gst/gsttask.c:384
#31 0x00007fb4a9768fb2 in g_thread_pool_thread_proxy (data=&lt;optimized out&gt;) at ../glib/gthreadpool.c:350
#32 0x00007fb4a9763c02 in g_thread_proxy (data=0x7fb434006240) at ../glib/gthread.c:831
#33 0x00007fb4a8fb325a in start_thread (arg=&lt;optimized out&gt;) at pthread_create.c:442
#34 0x00007fb4a903bfc4 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:100

(gdb) p response                                                                                                                                                                                                   
$1 = std::optional&lt;WebCore::AbortableTaskQueue::Void&gt; = {[contained value] = {&lt;No data fields&gt;}}

TBH I&apos;m not sure why we ASSERT here? ASSERT(!response) means that the abortable task queue was aborted, but why would that happen?

For now I&apos;ll flag this test as [ Pass Crash ]...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991969</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2023-11-12 07:18:15 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20392</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991970</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-12 07:21:13 -0800</bug_when>
    <thetext>Committed 270611@main (0c47646d8429): &lt;https://commits.webkit.org/270611@main&gt;

Reviewed commits have been landed. Closing PR #20392 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991971</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2023-11-12 07:21:56 -0800</bug_when>
    <thetext>Needs a proper patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994213</commentid>
    <comment_count>4</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2023-11-21 10:38:08 -0800</bug_when>
    <thetext>Also media/media-source/media-webm-opus-partial-abort.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055288</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-26 02:07:10 -0700</bug_when>
    <thetext>Committed 282726@main (188b29f2ba50): &lt;https://commits.webkit.org/282726@main&gt;

Reviewed commits have been landed. Closing PR #32582 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055289</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-08-26 02:08:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/134687807&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>