[Webkit-unassigned] [Bug 258968] New: [run-benchmark] Linux driver executes the browser capturing stdout/stderr but never checks it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 7 04:52:25 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=258968

            Bug ID: 258968
           Summary: [run-benchmark] Linux driver executes the browser
                    capturing stdout/stderr but never checks it
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: bugs-noreply at webkitgtk.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230707/52e4cfa1/attachment.htm>


More information about the webkit-unassigned mailing list