<?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>265290</bug_id>
          
          <creation_ts>2023-11-23 08:22:14 -0800</creation_ts>
          <short_desc>[GStreamer][Debug] Flaky webrtc/datachannel failures</short_desc>
          <delta_ts>2023-11-23 08:37:10 -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>Platform</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></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>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1994554</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2023-11-23 08:22:14 -0800</bug_when>
    <thetext>Seems to happen only on WPE Debug bot... And I don&apos;t remember seeing this before the SDK update to 23.08.

Thread 1 (Thread 0x7f4d329d0180 (LWP 701906)):
#0  g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_CRITICAL, format=&lt;optimized out&gt;, args=args@entry=0x7ffc7d8cd650) at ../glib/gmessages.c:1422
#1  0x00007f4d398b57a3 in g_log (log_domain=log_domain@entry=0x0, log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7f4d3990df92 &quot;%s: assertion &apos;%s&apos; failed&quot;) at ../glib/gmessages.c:1460
#2  0x00007f4d398b861d in g_return_if_fail_warning (log_domain=log_domain@entry=0x0, pretty_function=pretty_function@entry=0x7f4c98365b00 &lt;__func__.22&gt; &quot;webrtc_data_channel_send_string&quot;, expression=expression@entry=0x7f4c983609e1 &quot;channel-&gt;opened&quot;) at ../glib/gmessages.c:2930
#3  0x00007f4c98355edd in webrtc_data_channel_send_string (base_channel=0x55ad3cb40170, str=0x55ad3b30ad00 &quot;one&quot;, error=0x0) at ../ext/webrtc/webrtcdatachannel.c:926
#4  0x00007f4d35a5fdab in g_cclosure_marshal_VOID__STRINGv (closure=0x55ad3ce874a0, return_value=&lt;optimized out&gt;, instance=&lt;optimized out&gt;, args=&lt;optimized out&gt;, marshal_data=&lt;optimized out&gt;, n_params=&lt;optimized out&gt;, param_types=0x55ad3b2242d0) at ../gobject/gmarshal.c:1462
#5  0x00007f4d35a81a83 in _g_closure_invoke_va (param_types=0x55ad3b2242d0, n_params=&lt;optimized out&gt;, args=0x7ffc7d8cd980, instance=0x55ad3cb40170, return_value=&lt;optimized out&gt;, closure=&lt;optimized out&gt;) at ../gobject/gclosure.c:895
#6  g_signal_emit_valist (instance=instance@entry=0x55ad3cb40170, signal_id=signal_id@entry=113, detail=&lt;optimized out&gt;, var_args=var_args@entry=0x7ffc7d8cd980) at ../gobject/gsignal.c:3472
#7  0x00007f4d35a81e2a in g_signal_emit_by_name (instance=0x55ad3cb40170, detailed_signal=0x7f4d3a6af836 &quot;send-string&quot;) at ../gobject/gsignal.c:3664
#8  0x00007f4d3e8d0655 in WebCore::GStreamerDataChannelHandler::sendStringData(WTF::CString const&amp;) () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#9  0x00007f4d3e8a6730 in WTF::Detail::CallableWrapper&lt;WebCore::RTCDataChannel::createMessageQueue(WebCore::ScriptExecutionContext&amp;, WebCore::RTCDataChannel&amp;)::{lambda(auto:1&amp;)#1}, void, WTF::CString const&amp;&gt;::call(WTF::CString const&amp;) () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#10 0x00007f4d3e8a3af8 in WebCore::RTCDataChannel::send(WTF::String const&amp;) () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#11 0x00007f4d3e1d26c6 in WebCore::jsRTCDataChannelPrototypeFunction_send(JSC::JSGlobalObject*, JSC::CallFrame*) () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#12 0x00007f4ce81d41b8 in  ()
#13 0x00007ffc7d8cdca0 in  ()
#14 0x00007f4d4036c445 in op_call_ignore_result_return_location () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1
#15 0x0000000000000000 in  ()

STDERR: ** (WPEWebProcess:701906): CRITICAL **: 06:42:38.103: webrtc_data_channel_send_string: assertion &apos;channel-&gt;opened&apos; failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994555</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2023-11-23 08:32:09 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20851</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1994557</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-23 08:37:10 -0800</bug_when>
    <thetext>Committed 271081@main (2328f1fc7a28): &lt;https://commits.webkit.org/271081@main&gt;

Reviewed commits have been landed. Closing PR #20851 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>