DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 566Gp2UG3491755 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 566Gp2UG3491755 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=qfkSAdOz X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF1953858405 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1751820660; bh=4mnSO7nv2rgSsqR0SZEX2L+KcpvC9S9dwIMd63rcAB0=; h=Date:Subject:To:References:Cc:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=qfkSAdOz5udRB3mToC9hS9YW4IWS1/qvJRZXM7XSx5snIhnSQ1aIyxz1IWML5Y79I 0f0T7ma7LJ5HN/5emdkiyKGgkDEJvLoFB9O9bcUPcF/0qlu8gzXvDaHJ1eugEWvqZ0 9rRizqgJr64vqfU8EGq/eCN+xgJjNJWwLfIj7ptE= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CB2373858D29 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CB2373858D29 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1751820636; cv=none; b=hgJYLs/z5EMYNBhMZqfKqULzwI/XfM9UcMyqL5syOOQjZgLedqDBfKLhrHrD9/yZzN+Qa9lkxAeiz5Y2WjtW/RV7e3z1LkFkrEFbtBMJllwxKqZydYBd16P0kNMuKCVe4fLzzL3uhxEfeJI0UPxbU94u6T2K3UhF1ZjURb/0el0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1751820636; c=relaxed/simple; bh=iisdrj/eT7+EFAQbAwrKsvG5S3rGUcytLAgf87w7zEo=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=M9klVnIerfP8YBLQzKCcFi8lJbIhj/ldDPPfsnNRnItD3auJOhDw/Xf2EnK/CGgxU1ju11Dy9MWaXbJ3O/XVSD/46XRH6zQDnq2RasgxiP7KTh17UI+lKMBf2xVcE95Fa8EKCR4L+JNgvNkSwULWhX6WGcipfn9wNhhEgBf4Mp4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CB2373858D29 X-SNCR-Rigid: 6864C1EC0075BB00 X-Originating-IP: [86.139.167.63] X-OWM-Source-IP: 86.139.167.63 X-OWM-Env-Sender: jon DOT turney AT dronecode DOT org DOT uk X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddvleeghecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhvegjtgfgsehtjeertddtvdejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpedtteetgfdvjedvieehgeetjedtjeehvdfgvdeuudekgeeuudekudeftedugfdujeenucffohhmrghinhepfhhrvggvuggvshhkthhophdrohhrghenucfkphepkeeirddufeelrdduieejrdeifeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtlegnpdhinhgvthepkeeirddufeelrdduieejrdeifedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhrvghvkffrpehhohhsthekiedqudefledqudeijedqieefrdhrrghnghgvkeeiqddufeelrdgsthgtvghnthhrrghlphhluhhsrdgtohhmpdgruhhthhgpuhhsvghrpehjohhnthhurhhnvgihsegsthhinhhtvghrnhgvthdrtghomhdpghgvohfkrfepifeupdfovfetjfhoshhtpegsthhprhgurhhgohdtuddvpdhnsggprhgtphhtthhopedvpdhr tghpthhtoheptgihghifihhnsegthihgfihinhdrtghomhdprhgtphhtthhopehjjhhrvghishgvrhhtsegrlhhumhdrmhhithdrvgguuh X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-VadeSecure-score: verdict=clean score=0/300, class=clean Message-ID: Date: Sun, 6 Jul 2025 17:50:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: winClipboardFlushXEvents - OpenClipboard () failed: 00000005 To: Jim Reisert AD1C References: Content-Language: en-US Cc: cygwin AT cygwin DOT com In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jon Turney via Cygwin Reply-To: Jon Turney Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On 05/07/2025 00:39, Jim Reisert AD1C via Cygwin wrote: > I do a lot of copying/pasting between Windows and Cygwin-X. If I try > to copy too much, the server will crash. The symptom is that > copy/paste no longer works (in either direction). I can still start Hmm... so when you say "crash", you don't mean "exit, abnormally"? It just keeps on running, but cut and past doesn't work? > new terms (copy/paste still does not work), but ultimately, I have to > kill the X server, delete the lock file, and restart it. > > This is what that Xwin.log looks like when this happens: > > [109491.656] winInitMultiWindowWM - xcb_connect () returned and > successfully opened the display. > [109491.656] winClipboardProc - xcb_connect () returned and > successfully opened the display. > [109491.671] Using Composite redirection > [109530.609] OS has icon alpha channel support: yes > [111304.578] winClipboardFlushXEvents - OpenClipboard () failed: 00000005 > [114502.656] winClipboardFlushXEvents - OpenClipboard () failed: 00000005 > [114502.656] winClipboardFlushXEvents - OpenClipboard () failed: 00000005 > [etc] Sigh. This code is old enough to shave and still doesn't work properly :( In the past, these problems have sometimes been caused by "clipboard helper/manager" type Windows programs. You might want to check if you're running such a thing and see if stopping it makes a difference. > cygcheck.out is attached, along with a log file showing the problem. > > I'd love to know if there is a solution or work-around for this. > Oftentimes, I have several different Emacs buffers open and thus need > to close each one before restarting the server (then remember where I > was). As a workaround, you can try: * start the X server with the '-noclipboard' option * run 'xwinclip' (this is the same code which is built into a thread in the server, but built as a standalone tool; if it also gets wedged, you can just kill and restart it, rather than the X server and everything connected to it) The whole thing [1] really isn't very large, so finding what's wrong with it should be easy, right? :) [1] https://gitlab.freedesktop.org/xorg/xserver/-/tree/master/hw/xwin/winclipboard -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple