Incompatible clipboard format between 32bit and 64bit cygwin

Takashi Yano
Sun Sep 26 01:33:25 GMT 2021

Hi all,

I noticed that cygwin clipboard is not compatible
between 32bit and 64bit cygwin.

If I run 'echo AAAAAAAA > /dev/clipboard' in 32bit cygwin,
and run 'cat /dev/clipboard' in 64bit cygwin, this result in
cat: /dev/clipboard: Bad address

This is because the structure
typedef struct
  timestruc_t   timestamp;
  size_t    len;
  char      data[1];
} cygcb_t;
defined in has different size.

Is this the known issue?

Takashi Yano <>

More information about the Cygwin mailing list