<?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>224966</bug_id>
          
          <creation_ts>2021-04-22 20:07:16 -0700</creation_ts>
          <short_desc>[GTK] REGRESSION(r276432): imported/w3c/web-platform-tests/worklets/paint-worklet-service-worker-interception.https.html is a flaky crash</short_desc>
          <delta_ts>2021-05-08 03:44: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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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="Diego Pino">dpino</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>pgriffis</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1753445</commentid>
    <comment_count>0</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2021-04-22 20:07:16 -0700</bug_when>
    <thetext>The test started to flaky crash at:

r276432                       NOERROR
r276433                       CRASH (Expected: PASS)
r276434                       UNKNOWN

The test crashes with the following error message:

STDERR: (process:499): libsoup-CRITICAL **: 15:24:08.215: soup_connection_is_tunnelled: assertion &apos;SOUP_IS_CONNECTION (conn)&apos; failed

Stacktrace:

https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/r276464%20%281341%29/imported/w3c/web-platform-tests/worklets/paint-worklet-service-worker-interception.https-crash-log.txt

Thread 1 (Thread 0x7fdadbe89e80 (LWP 499)):
#0  g_logv (log_domain=0x7fdadd25d983 &quot;libsoup&quot;, log_level=G_LOG_LEVEL_CRITICAL, format=&lt;optimized out&gt;, args=&lt;optimized out&gt;) at ../glib/gmessages.c:1413
#1  0x00007fdade575973 in g_log (log_domain=log_domain@entry=0x7fdadd25d983 &quot;libsoup&quot;, log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7fdade5cdad0 &quot;%s: assertion &apos;%s&apos; failed&quot;) at ../glib/gmessages.c:1451
#2  0x00007fdade57619d in g_return_if_fail_warning (log_domain=log_domain@entry=0x7fdadd25d983 &quot;libsoup&quot;, pretty_function=pretty_function@entry=0x7fdadd2649f0 &lt;__func__.17&gt; &quot;soup_connection_is_tunnelled&quot;, expression=expression@entry=0x7fdadd26439c &quot;SOUP_IS_CONNECTION (conn)&quot;) at ../glib/gmessages.c:2883
#3  0x00007fdadd24087a in soup_connection_is_tunnelled (conn=0x0) at ../libsoup/soup-connection.c:698
#4  0x00007fdadd253bd9 in soup_session_process_queue_item (session=&lt;optimized out&gt;, item=0x55f88ec51000, should_cleanup=&lt;optimized out&gt;, loop=&lt;optimized out&gt;) at ../libsoup/soup-session.c:1990
#5  0x00007fdadd254633 in soup_session_process_queue_item (loop=1, should_cleanup=0x7ffddcd11074, item=0x55f88ec51000, session=0x55f88e5e9970 [SoupSession]) at ../libsoup/soup-session.c:1977
#6  async_run_queue (session=0x55f88e5e9970 [SoupSession]) at ../libsoup/soup-session.c:2081
#7  0x00007fdadd254810 in connect_async_complete (object=&lt;optimized out&gt;, result=&lt;optimized out&gt;, user_data=user_data@entry=0x55f88ec3d600) at ../libsoup/soup-session.c:1766
#8  0x00007fdade76b2d9 in g_task_return_now (task=task@entry=0x7fda700090d0 [GTask]) at ../gio/gtask.c:1219
#9  0x00007fdade76be7b in g_task_return (task=0x7fda700090d0 [GTask], type=&lt;optimized out&gt;) at ../gio/gtask.c:1289
#10 0x00007fdade76c87e in g_task_return (type=G_TASK_RETURN_SUCCESS, task=&lt;optimized out&gt;) at ../gio/gtask.c:1816
#11 g_task_return_boolean (task=&lt;optimized out&gt;, result=&lt;optimized out&gt;) at ../gio/gtask.c:1821
#12 0x0000000000000000 in  ()

On the other hand, perhaps this regression was caused by the libsoup update on r276429. Hard to determine without bisecting as both revisions are very close.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1753476</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2021-04-23 00:13:50 -0700</bug_when>
    <thetext>I can&apos;t repro, but I think it&apos;s a problem with the preconnect, not the soup update. Looks like an issue when a preconnect connection is stolen by a new request in libsoup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1753542</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2021-04-23 03:02:50 -0700</bug_when>
    <thetext>Managed to reproduce this with my system under heavy load and running the test with --repeat-each=10. It&apos;s indeed a libsoup bug, so this will be fixed once we upgrade to libsoup 2.99.5. See https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/212</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1758181</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2021-05-08 03:44:16 -0700</bug_when>
    <thetext>This is fixed now that we bumped the libsoup3 version.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>