[Webkit-unassigned] [Bug 172818] New: webkitpy: Do not send 0 or -1 as a pid to kill_process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 1 09:06:54 PDT 2017


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

            Bug ID: 172818
           Summary: webkitpy: Do not send 0 or -1 as a pid to kill_process
           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: jbedard at apple.com
                CC: lforschler at apple.com

0 and -1 do have meaning when killing a process, but if they are sent to executive.kill_process(...), this indicates a bug.  executive.kill_process(...) is intended to be used to kill a single process.  Throw an exception when a pid which is undefined, 0 or negative is passed into executive.kill_process(...).  We should also fix the existing case where we know kill_process(...) could receive an illegal pid.

-- 
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/20170601/ed7ed165/attachment.html>


More information about the webkit-unassigned mailing list