<?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>283608</bug_id>
          
          <creation_ts>2024-11-22 18:10:55 -0800</creation_ts>
          <short_desc>[run-webkit-tests] -stderr.txt file isn&apos;t generated if the ref test fails to generate a pixel dump</short_desc>
          <delta_ts>2024-11-25 11:50:22 -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>New Bugs</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="Fujii Hironori">fujii</reporter>
          <assigned_to name="Fujii Hironori">fujii</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2077197</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-11-22 18:10:55 -0800</bug_when>
    <thetext>REGRESSION(281821@main): [Win WebKitTestRunner] stderr isn&apos;t flushed when WebProcess crashed

For example, WebProcess crashed 50 times in the following test run.
https://build.webkit.org/results/Windows-64-bit-Debug-Tests/286841@main%20(414)/results.html

But, only half of them has stderr.
I don&apos;t know when this problem started to happen.
I don&apos;t observe this problem on my PC and don&apos;t know how to reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077199</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-11-22 18:14:00 -0800</bug_when>
    <thetext>Oops. I wrote &quot;REGRESSION(281821@main)&quot; in the above comment. But, I&apos;m not sure.
281821@main changed only UI process not to flush when crashing. I think WebProcess should flush by itself before it crashes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077201</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-11-22 18:21:04 -0800</bug_when>
    <thetext>The removed function &apos;exceptionFilter&apos; was called only when UI process crashed.
UI process didn&apos;t crash when a web process crashed.
So, I think &apos;exceptionFilter&apos; is called in the above test runs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077205</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-11-22 18:31:02 -0800</bug_when>
    <thetext>It is strange that stderr is empty even assuming that the web process crashed without flushing.
In https://build.webkit.org/results/Windows-64-bit-Debug-Tests/286841@main%20(414)/compositing/tiling/tiled-drawing-async-frame-scrolling-stderr.txt
the first half part was output by the web process, and the second half part was output by the UI process.


&gt; ERROR: 0000026C78A14C20 - [PID=7720] WebProcessProxy::didClose (web process crash)
&gt; C:\BW\Windows-64-bit-Debug-Build\build\Source\WebKit\UIProcess/WebProcessProxy.cpp(1272) : virtual void WebKit::WebProcessProxy::didClose(IPC::Connection &amp;)
&gt; ERROR: 0000026C78A14C20 - [PID=7720] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash
&gt; C:\BW\Windows-64-bit-Debug-Build\build\Source\WebKit\UIProcess/WebProcessProxy.cpp(1280) : void WebKit::WebProcessProxy::processDidTerminateOrFailedToLaunch(ProcessTerminationReason)
&gt; ERROR: 0000026C78A2E9F0 - [pageProxyID=62, webPageID=63, PID=7720] WebPageProxy::processDidTerminate: (pid 7720), reason=Crash
&gt; C:\BW\Windows-64-bit-Debug-Build\build\Source\WebKit\UIProcess/WebPageProxy.cpp(10636) : void WebKit::WebPageProxy::resetStateAfterProcessTermination(ProcessTerminationReason)
&gt; ERROR: 0000026C78A2E9F0 - [pageProxyID=62, webPageID=63, PID=7720] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
&gt; C:\BW\Windows-64-bit-Debug-Build\build\Source\WebKit\UIProcess/WebPageProxy.cpp(10690) : void WebKit::WebPageProxy::dispatchProcessDidTerminate(WebProcessProxy &amp;, ProcessTerminationReason)
&gt; WebProcess terminated (pid 7720) for reason: crash</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077208</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-11-22 18:34:19 -0800</bug_when>
    <thetext>(In reply to Fujii Hironori from comment #2)
&gt; So, I think &apos;exceptionFilter&apos; is called in the above test runs.

Correction:
So, I think &apos;exceptionFilter&apos; *isn&apos;t* called in the above test runs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077210</commentid>
    <comment_count>5</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-11-22 18:46:42 -0800</bug_when>
    <thetext>The all missing stderrs were actually recoreded in the log of run-webkit-tests.
https://build.webkit.org/#/builders/1190/builds/414

This is not a WebKit problem, but a run-webkit-tests problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077482</commentid>
    <comment_count>6</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-11-24 22:53:36 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/37113</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077580</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-11-25 11:49:46 -0800</bug_when>
    <thetext>Committed 287069@main (cf0de478beaf): &lt;https://commits.webkit.org/287069@main&gt;

Reviewed commits have been landed. Closing PR #37113 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2077581</commentid>
    <comment_count>8</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-11-25 11:50:22 -0800</bug_when>
    <thetext>&lt;rdar://problem/140549836&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>