Bug 152426 - Pasteboard get messed up after running kill-old-processes
Summary: Pasteboard get messed up after running kill-old-processes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-18 07:48 PST by Aakash Jain
Modified: 2017-03-15 17:16 PDT (History)
7 users (show)

See Also:


Attachments
Proposed patch (1.09 KB, patch)
2015-12-18 07:58 PST, Aakash Jain
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.