Bug 67389 - [GTK] run-gtk-tests leaves a zombie Xvfb process
Summary: [GTK] run-gtk-tests leaves a zombie Xvfb process
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2011-09-01 05:26 PDT by Philippe Normand
Modified: 2011-09-06 09:28 PDT (History)
1 user (show)

See Also:

proposed patch (1.45 KB, patch)
2011-09-01 05:28 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2011-09-01 05:26:23 PDT
Seems like calling exec() with shell like stderr/stdout redirections and "&" is wrong.
Comment 1 Philippe Normand 2011-09-01 05:28:27 PDT
Created attachment 105944 [details]
proposed patch
Comment 2 Philippe Normand 2011-09-01 05:41:15 PDT
CC Gustavo as he wrote the original code
Comment 3 Philippe Normand 2011-09-01 05:58:56 PDT
The symptom being:

let it run

ps aux |grep Xvfb
phil     21096  3.0  0.1  63968 11340 pts/0    S    14:57   0:00 Xvfb :31 -screen 0 800x600x24 -nolisten tcp

The Xvfb process is not killed. Seems related to exec and file handles somehow, but I lack the perl-fu to debug this further.
Comment 4 Philippe Normand 2011-09-02 00:32:10 PDT
Committed r94388: <http://trac.webkit.org/changeset/94388>
Comment 5 Martin Robinson 2011-09-06 09:28:21 PDT
Comment on attachment 105944 [details]
proposed patch

Clearing flag on committed patch.