Bug 67389

Summary: [GTK] run-gtk-tests leaves a zombie Xvfb process
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: gustavo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch none

Philippe Normand
Reported 2011-09-01 05:26:23 PDT
Seems like calling exec() with shell like stderr/stdout redirections and "&" is wrong.
Attachments
proposed patch (1.45 KB, patch)
2011-09-01 05:28 PDT, Philippe Normand
no flags
Philippe Normand
Comment 1 2011-09-01 05:28:27 PDT
Created attachment 105944 [details] proposed patch
Philippe Normand
Comment 2 2011-09-01 05:41:15 PDT
CC Gustavo as he wrote the original code
Philippe Normand
Comment 3 2011-09-01 05:58:56 PDT
The symptom being: run-gtk-tests 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.
Philippe Normand
Comment 4 2011-09-02 00:32:10 PDT
Martin Robinson
Comment 5 2011-09-06 09:28:21 PDT
Comment on attachment 105944 [details] proposed patch Clearing flag on committed patch.
Note You need to log in before you can comment on or make changes to this bug.