<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>152426</bug_id>
          
          <creation_ts>2015-12-18 07:48:50 -0800</creation_ts>
          <short_desc>Pasteboard get messed up after running kill-old-processes</short_desc>
          <delta_ts>2017-03-15 17:16:28 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=81012</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Aakash Jain">aakash_jain</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>dbates</cc>
    
    <cc>dburkart</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>lforschler</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1150266</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2015-12-18 07:48:50 -0800</bug_when>
    <thetext>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&apos;t copy anything from safari to terminal. Clipboard works between safari to safari, and terminal to terminal, however it doesn&apos;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: &quot;killall -9 -v -m pboard&quot; and restart safari</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150268</commentid>
    <comment_count>1</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2015-12-18 07:50:58 -0800</bug_when>
    <thetext>see &lt;rdar://problem/23335506&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150270</commentid>
    <comment_count>2</comment_count>
      <attachid>267628</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2015-12-18 07:58:00 -0800</bug_when>
    <thetext>Created attachment 267628
Proposed patch

We do not need to kill pboard anymore. It was a workaround for very old issue which probably do not exist anymore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150305</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2015-12-18 09:53:57 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Created attachment 267628 [details]
&gt; Proposed patch
&gt; 
&gt; We do not need to kill pboard anymore. It was a workaround for very old
&gt; issue which probably do not exist anymore.

Please update bug #81012, which added the workaround to kill the pasteboard server.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150315</commentid>
    <comment_count>4</comment_count>
      <attachid>267628</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-12-18 10:16:39 -0800</bug_when>
    <thetext>Comment on attachment 267628
Proposed patch

Clearing flags on attachment: 267628

Committed r194273: &lt;http://trac.webkit.org/changeset/194273&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150316</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-12-18 10:16:44 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>267628</attachid>
            <date>2015-12-18 07:58:00 -0800</date>
            <delta_ts>2015-12-18 10:16:39 -0800</delta_ts>
            <desc>Proposed patch</desc>
            <filename>patch_pbaord</filename>
            <type>text/plain</type>
            <size>1113</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDE5NDI2NykKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEzIEBACisyMDE1LTEyLTE4ICBBYWthc2ggSmFpbiAgPGFha2FzaF9qYWluQGFwcGxlLmNv
bT4KKworICAgICAgICBQYXN0ZWJvYXJkIGdldCBtZXNzZWQgdXAgYWZ0ZXIgcnVubmluZyBraWxs
LW9sZC1wcm9jZXNzZXMKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcu
Y2dpP2lkPTE1MjQyNgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisg
ICAgICAgICogQnVpbGRTbGF2ZVN1cHBvcnQva2lsbC1vbGQtcHJvY2Vzc2VzOgorICAgICAgICAo
bWFpbik6IERvIG5vdCBraWxsIHBhc3RlYm9hcmQgYW55bW9yZS4KKwogMjAxNS0xMi0xNyAgQWFr
YXNoIEphaW4gIDxhYWthc2hfamFpbkBhcHBsZS5jb20+CiAKICAgICAgICAgcnVuLXdlYmtpdC10
ZXN0cyBzaG91bGRuJ3Qgc3RhcnQgbXVsdGlwbGUgaU9TIHNpbXVsYXRvcnMgd2hpbGUgb25seSBy
dW5uaW5nIG9uZSB0ZXN0CkluZGV4OiBUb29scy9CdWlsZFNsYXZlU3VwcG9ydC9raWxsLW9sZC1w
cm9jZXNzZXMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PQotLS0gVG9vbHMvQnVpbGRTbGF2ZVN1cHBvcnQva2lsbC1vbGQt
cHJvY2Vzc2VzCShyZXZpc2lvbiAxOTQyNjcpCisrKyBUb29scy9CdWlsZFNsYXZlU3VwcG9ydC9r
aWxsLW9sZC1wcm9jZXNzZXMJKHdvcmtpbmcgY29weSkKQEAgLTY3LDcgKzY3LDYgQEAgZGVmIG1h
aW4oKToKICAgICAgICAgImpzYyIsCiAgICAgICAgICJMYXlvdXRUZXN0SGVscGVyIiwKICAgICAg
ICAgIm1ha2UiLAotICAgICAgICAicGJvYXJkIiwgIyBGSVhNRTogaHR0cHM6Ly9idWdzLndlYmtp
dC5vcmcvc2hvd19idWcuY2dpP2lkPTgxMDEyCiAgICAgICAgICJwZXJsNS4xMiIsCiAgICAgICAg
ICJwZXJsNS4xNiIsCiAgICAgICAgICJwZXJsIiwK
</data>

          </attachment>
      

    </bug>

</bugzilla>