X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:cc:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=j07T4nSipBghBYue
	dsZf9E1zoGmenl3vVhEB1sqjX3M/EyfVIicbG+fw3AtmpzRiChe2dqK+xZrbWJF2
	aOoElh4BeYesu+JCVVmwtT/fGFe1BalIed+fH9+PW1mBGVw9WRTKJDH6Lhw5uOmo
	+SM9RriCnuG3H6I2vXfMaw/pG18=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:cc:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=SOuam0LkxS/4+dt1KJ/dyr
	ijlcs=; b=HZJdzvGNpNihD2W/KcdgmehHr5IqRDositiarsrKQ4wLSbfM9NS9Oz
	bICPtGXCIpB1qZxl9pX9ropM3LK0V0I/WYO3QlvZ7nGh2erAHhQrEMmxlRWg3PdT
	n3BLDsluf2pXggnS3vkkEsFTZD3WNktI/K7duU9Kv19X614QejLug=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_50,FORGED_SPF_HELO,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=no version=3.3.1 spammy=xterm, ad1c, AD1C, reisert
X-HELO: sa-prd-fep-042.btinternet.com
Authentication-Results: btinternet.com;    auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com
X-OWM-Source-IP: 86.173.196.55 (GB)
X-OWM-Env-Sender: jonturney@btinternet.com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
Subject: Re: retry: Problem transfering X11 cut/copy buffer to windows and back
To: The Cygwin Mailing List <cygwin@cygwin.com>
References: <5D633C75.5020204@tlinx.org> <c76ba87e-0bbb-52e1-88c7-226d63fc515d@dronecode.org.uk> <CAK-n8j5qs15fS-cG3PrcN-ow_Yoykx9y+_8RnaUoQ9HNAQM87A@mail.gmail.com>
Cc: Jim Reisert AD1C <jjreisert@alum.mit.edu>
From: Jon Turney <jon.turney@dronecode.org.uk>
Message-ID: <d2b98ef1-199d-6999-4696-12fb8cc00732@dronecode.org.uk>
Date: Wed, 11 Sep 2019 15:52:40 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <CAK-n8j5qs15fS-cG3PrcN-ow_Yoykx9y+_8RnaUoQ9HNAQM87A@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

On 11/09/2019 00:17, Jim Reisert AD1C wrote:
> I didn't see this message before I posted a separate message.  Here is
> my report again.
> 
> I am using the latest test X server (1.20.5-3 built 2019-09-06),
> HOWEVER, I have seen this problem again and again for months now.
> 
> After I copy/paste enough, either from Xterm to Xterm, or Xterm to
> Windows, eventually it stops working.  I can still select text in the
> Xterm, but I'm unable to paste it into windows - nothing happens.  My
> fuzzy recollection is that copy/paste from X to X still works, but I
> forgot to test that today.
> 
> The only way I have found to fix this is to exit the X server and
> restart it.  Simply creating a new Xterm does not fix the problem.
> 
> 1.  Is there any information I can provide to help debug this problem?

A reliable way of reproducing the problem would be ideal :)

Failing that, the /var/log/xwin/XWin.0.log might be informative.

> 2.  Is there a way to reset the X server's (or maybe Windows')
> copy/paste buffer without having to close all my X windows and restart
> the server?

Not really.

You can start the X server with the '-noclipboard' option, and then run 
'xwinclip' for clipboard integration (which since it is a separate 
process, rather than a thread in the X server, can be killed and restarted).

Ideally you'd then attach gdb to xwinclip if/when it gets stuck to debug 
why that's happening. :)

-- 
Jon Turney
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

