Bug 152426

Summary: Pasteboard get messed up after running kill-old-processes
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Aakash Jain <aakash_jain>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, commit-queue, dbates, dburkart, ddkilzer, lforschler
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=81012
Attachments:
Description Flags
Proposed patch none

Description Aakash Jain 2015-12-18 07:48:50 PST
kill-old-processes script is run as part of buildbot steps in most of the webkit ios and mac builders.

After running this script, the clipboard behaves very strangely, we can't copy anything from safari to terminal. Clipboard works between safari to safari, and terminal to terminal, however it doesn't work if we want to copy-paste between safari and terminal. It behaves as if both the application have separate clipboard. 
Steps to reproduce:
run OpenSource/Tools/BuildSlaveSupport/kill-old-processes
OR
run this command in terminal: "killall -9 -v -m pboard" and restart safari
Comment 1 Aakash Jain 2015-12-18 07:50:58 PST
see <rdar://problem/23335506>
Comment 2 Aakash Jain 2015-12-18 07:58:00 PST
Created attachment 267628 [details]
Proposed patch

We do not need to kill pboard anymore. It was a workaround for very old issue which probably do not exist anymore.
Comment 3 Daniel Bates 2015-12-18 09:53:57 PST
(In reply to comment #2)
> Created attachment 267628 [details]
> Proposed patch
> 
> We do not need to kill pboard anymore. It was a workaround for very old
> issue which probably do not exist anymore.

Please update bug #81012, which added the workaround to kill the pasteboard server.
Comment 4 WebKit Commit Bot 2015-12-18 10:16:39 PST
Comment on attachment 267628 [details]
Proposed patch

Clearing flags on attachment: 267628

Committed r194273: <http://trac.webkit.org/changeset/194273>
Comment 5 WebKit Commit Bot 2015-12-18 10:16:44 PST
All reviewed patches have been landed.  Closing bug.