Harold, I misunderstod Xutf8TextPropertyToTextList return value and meaning of iCount. This attached patch will prevent crash.
To transfer large amount of text they use incrementally way called INCR, so we need to support it to copy/paste large amount of text. Kensuke Matsuzaki
clipboard.diff
Description: Binary data