<?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>313041</bug_id>
          
          <creation_ts>2026-04-22 14:40:45 -0700</creation_ts>
          <short_desc>[GTK] inspector/debugger/async-stack-trace-truncate.html is a flaky test (crashes)</short_desc>
          <delta_ts>2026-04-23 03:16:58 -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>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Nikolas Zimmermann">zimmermann</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>fujii</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2203342</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2026-04-22 14:40:45 -0700</bug_when>
    <thetext>wktesthunter output for this flaky test across affected bots:

&gt;&gt;&gt; gtk-release &lt;&lt;&lt;
311760@main                   UNKNOWN
311761@main                   NOERROR
311762@main                   UNKNOWN
311763@main                   NOERROR
[311764@main-311766@main]     UNKNOWN
311767@main                   NOERROR
[311768@main-311769@main]     UNKNOWN
311770@main                   NOERROR
[311771@main-311773@main]     UNKNOWN
311774@main                   CRASH (Expected: PASS)
[311775@main-311782@main]     UNKNOWN
311783@main                   CRASH (Expected: PASS)
[311784@main-311791@main]     UNKNOWN
311792@main                   CRASH (Expected: PASS)


The bot gtk-release completed 1255 runs on the interval [307792@main-311792@main]
Frequency of results for test: inspector/debugger/async-stack-trace-truncate.html
  1242 times [99.0%]     -&gt;  NOERROR
  12 times [1.0%]        -&gt;  CRASH
  1 times [0.1%]         -&gt;  TIMEOUT PASS

Of those 1255 runs it didn&apos;t match the expectation 13 times [1.0%]
Details of the type and frequency of unmatched expectations:
  12 times [1.0%]        -&gt;  CRASH (Expected: PASS)
  1 times [0.1%]         -&gt;  TIMEOUT PASS (Expected: PASS)

Flakiness factor: 1.5%
    - This test was flaky on 1.5% of the 1255 runs analyzed, either giving different
      results within a single run, or a different result than in the previous run.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2203471</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2026-04-22 17:44:22 -0700</bug_when>
    <thetext>History: https://results.webkit.org/?suite=layout-tests&amp;test=inspector%2Fdebugger%2Fasync-stack-trace-truncate.html

https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/311809@main%20(24736)/inspector/debugger/async-stack-trace-truncate-crash-log.txt

Thread 1 (Thread 0x7f153018fec0 (LWP 1233152)):
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=&lt;optimized out&gt;) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=&lt;optimized out&gt;) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=&lt;optimized out&gt;, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007f153d63327e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007f153d6168ff in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007f153c24c075 in g_assertion_message (domain=domain@entry=0x7f153c2e900e &quot;GLib&quot;, file=file@entry=0x7f153c2f0330 &quot;../../../../../jhbuild/checkout/glib/glib/gmain.c&quot;, line=line@entry=4049, func=func@entry=0x7f153c2fd030 &lt;__func__.21&gt; &quot;g_main_context_check_unlocked&quot;, message=message@entry=0x5633caf7a580 &quot;assertion failed: (i &lt;= 0 || fds[i - 1].fd &lt; fds[i].fd)&quot;) at ../../../../../jhbuild/checkout/glib/glib/gtestutils.c:3387
#6  0x00007f153c2b5a3e in g_assertion_message_expr (domain=domain@entry=0x7f153c2e900e &quot;GLib&quot;, file=file@entry=0x7f153c2f0330 &quot;../../../../../jhbuild/checkout/glib/glib/gmain.c&quot;, line=line@entry=4049, func=func@entry=0x7f153c2fd030 &lt;__func__.21&gt; &quot;g_main_context_check_unlocked&quot;, expr=expr@entry=0x7f153c2f0990 &quot;i &lt;= 0 || fds[i - 1].fd &lt; fds[i].fd&quot;) at ../../../../../jhbuild/checkout/glib/glib/gtestutils.c:3413
#7  0x00007f153c2884c8 in g_main_context_check_unlocked (context=context@entry=0x5633c750be50, max_priority=max_priority@entry=2147483647, fds=fds@entry=0x7f1524018238, n_fds=n_fds@entry=5) at ../../../../../jhbuild/checkout/glib/glib/gmain.c:4049
#8  0x00007f153c28969e in g_main_context_check (context=0x5633c750be50, max_priority=2147483647, fds=0x7f1524018238, n_fds=5) at ../../../../../jhbuild/checkout/glib/glib/gmain.c:3986
#9  0x00007f153bea6595 in WTF::RunLoop::runGLibMainLoopIteration(WTF::RunLoop::MayBlock) () from /sdk/webkit/WebKitBuild/GTK/Release/lib/libjavascriptcoregtk-6.0.so.1
#10 0x00007f153bea6882 in WTF::RunLoop::run() () from /sdk/webkit/WebKitBuild/GTK/Release/lib/libjavascriptcoregtk-6.0.so.1
#11 0x00007f1540572dd6 in int WebKit::AuxiliaryProcessMain&lt;WebKit::WebProcessMainGtk&gt;(int, char**) () from /sdk/webkit/WebKitBuild/GTK/Release/lib/libwebkitgtk-6.0.so.4
#12 0x00007f153d6181ca in __libc_start_call_main (main=main@entry=0x5633a4c3c7d0 &lt;main&gt;, argc=argc@entry=4, argv=argv@entry=0x7ffdd7ca3f48) at ../sysdeps/nptl/libc_start_call_main.h:58
#13 0x00007f153d61828b in __libc_start_main_impl (main=0x5633a4c3c7d0 &lt;main&gt;, argc=4, argv=0x7ffdd7ca3f48, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7ffdd7ca3f38) at ../csu/libc-start.c:360
#14 0x00005633a4c3c705 in _start ()

https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/311809@main%20(24736)/inspector/debugger/async-stack-trace-truncate-stderr.txt

VM 0x7f1526400000 on pid 1233152 received NeedDebuggerBreak trap
**
GLib:ERROR:../../../../../jhbuild/checkout/glib/glib/gmain.c:4049:g_main_context_check_unlocked: assertion failed: (i &lt;= 0 || fds[i - 1].fd &lt; fds[i].fd)
WebKitWebProcess terminated (pid 1233152) for reason: crash</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2203472</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2026-04-22 17:45:46 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 312888 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2203615</commentid>
    <comment_count>3</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2026-04-23 03:16:58 -0700</bug_when>
    <thetext>Closing: flakiness factor was below the 5% threshold; the TestExpectations entry has been removed in webkit.org/b/313122 (PR https://github.com/WebKit/WebKit/pull/63415).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>