winClipboardFlushXEvents - OpenClipboard () failed: 00000005

Jim Reisert AD1C jjreisert@alum.mit.edu
Fri Jul 4 23:39:47 GMT 2025


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
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]

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).

Thanks - Jim

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, https://ad1c.us
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 129061 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin/attachments/20250704/2b64fda8/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XWin.0.log
Type: application/octet-stream
Size: 35316 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin/attachments/20250704/2b64fda8/attachment-0003.obj>


More information about the Cygwin mailing list