[Webkit-unassigned] [Bug 229444] Crash in [RBSTarget targetWithPid:] during WebProcessProxy::shutDown

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 24 08:50:55 PDT 2021


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

--- Comment #1 from Chris Dumez <cdumez at apple.com> ---
I have just discussed this with a RunningBoard engineer. The most likely explanation is that the pid is < 0 (which is possible since pid_t is an int on our Darwin). We get the pid from xpc_connection_get_pid() and I guess this could theoretically return a negative PID (maybe in case of error when the process has already exited).

I think we should tweak the PID check on WebKit side to early return if pid <= 0 (instead of doing an early return when !pid).

Are you able to write up the patch?

-- 
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/20210824/5c812df7/attachment.htm>


More information about the webkit-unassigned mailing list