WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
258968
[run-benchmark] Linux driver executes the browser capturing stdout/stderr but never checks it
https://bugs.webkit.org/show_bug.cgi?id=258968
Summary
[run-benchmark] Linux driver executes the browser capturing stdout/stderr but...
Carlos Alberto Lopez Perez
Reported
2023-07-07 04:52:25 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Alberto Lopez Perez
Comment 1
2023-07-07 05:29:38 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/15628
EWS
Comment 2
2023-07-07 07:13:00 PDT
Committed
265839@main
(0f3437e25ccf): <
https://commits.webkit.org/265839@main
> Reviewed commits have been landed. Closing PR #15628 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2023-07-07 07:13:18 PDT
<
rdar://problem/111906728
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug