<?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>258968</bug_id>
          
          <creation_ts>2023-07-07 04:52:25 -0700</creation_ts>
          <short_desc>[run-benchmark] Linux driver executes the browser capturing stdout/stderr but never checks it</short_desc>
          <delta_ts>2023-07-07 07:13:18 -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>Tools / Tests</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="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Carlos Alberto Lopez Perez">clopez</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>1965524</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-07-07 04:52:25 -0700</bug_when>
    <thetext>On the Linux driver of run-benchmark there is a bug in the way that the browser is executed.

It uses python subprocess.Popen() capturing stdout and stederr to a pipe, but then that pipe is never checked because the browser is not expected to end.

So if the browser outputs lot of lines either to stdout or stderr it will cause the pipe to become full and then the browser process will get frozen.


I reported this originally at https://github.com/Igalia/cog/issues/589 thinking it was a bug on Cog, but is a bug on the tool used to run the browser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1965535</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2023-07-07 05:29:38 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/15628</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1965550</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-07-07 07:13:00 -0700</bug_when>
    <thetext>Committed 265839@main (0f3437e25ccf): &lt;https://commits.webkit.org/265839@main&gt;

Reviewed commits have been landed. Closing PR #15628 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1965551</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-07-07 07:13:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/111906728&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>