VirtualBox

Ticket #21149 (closed defect: fixed)

Opened 7 weeks ago

Last modified 6 weeks ago

Shared Clipboard: Error reading host clipboard data in format 0x1 from Windows, rc=VERR_BUFFER_OVERFLOW 00:08:52.580190 Shared Clipboard: Reading host clipboard data failed with VERR_BUFFER_OVERFLOW => fixed in svn

Reported by: Srini8987 Owned by:
Component: clipboard Version: VirtualBox 7.0.0
Keywords: Cc:
Guest type: Linux Host type: Windows

Description

Hi,

Copying from Windows 10 Host to Linux VM (Fedora) seeing this below issue in Vbox.log

00:08:52.580066 Shared Clipboard: Error reading host clipboard data in format 0x1 from Windows, rc=VERR_BUFFER_OVERFLOW 00:08:52.580190 Shared Clipboard: Reading host clipboard data failed with VERR_BUFFER_OVERFLOW

Attachments

VBox.7z Download (16.3 KB) - added by Srini8987 7 weeks ago.
upload.7z Download (36.0 KB) - added by Srini8987 6 weeks ago.

Change History

comment:1 Changed 7 weeks ago by galitsyn

Hi Srini8987,

Could you please attach complete VBox.log?

Changed 7 weeks ago by Srini8987

comment:2 Changed 7 weeks ago by Srini8987

Hi, I have attached the file. Thanks.

comment:3 Changed 6 weeks ago by galitsyn

Hi Srini8987,

Thank you for the log. Quickly looking into it, I see that you are attempting to copy a bitmap from Windows host to Linux guest. Currently, buffer reserved for this on Linux guest side is of size of 4K. And error message is telling that this buffer is not big enough to fit it. How big bitmap is?

UPDATE: 4K buffer is reserved on the guest side for initial clipboard transfer (host -> guest). If this buffer is not big enough, host will report required buffer size to the guest and guest will re-attempt to get host clipboard with the bigger buffer size. This ticket describes a case when "re-attempt" behavior was broken. Fix will be a part of the next 7.0.2 release.

Last edited 6 weeks ago by galitsyn (previous) (diff)

comment:4 Changed 6 weeks ago by Srini8987

Hi,

I am just copying like 100 lines of text from text editor. Currently I can copy only 10 lines max. From 11th line onwards, i see this error.

I am not copying any images or screenshots to and from VM now.

Thank you. Srini.

comment:5 Changed 6 weeks ago by galitsyn

Hi Srini,

My bad, you are correct. It is text. What editor do you use on a Windows host side?

Could you please also analyze your host clipboard content with, for example,  https://freeclipboardviewer.com/ tool and tell what is the host clipboard data size for Unicode text and possibly attach its content in HEX format?

Changed 6 weeks ago by Srini8987

comment:6 Changed 6 weeks ago by Srini8987

Hi,

I have uploaded upload.7z file . I am not sure if thats what you are looking for.

Notepad++ is what I am using.

Thanks.

comment:7 Changed 6 weeks ago by galitsyn

Hi Srini,

Thank you .cl7 file. I was able to reproduce the issue w/ it. I will debug the issue from our side and come back to you.

comment:8 Changed 6 weeks ago by Srini8987

Thank You.

comment:9 Changed 6 weeks ago by galitsyn

  • Summary changed from Shared Clipboard: Error reading host clipboard data in format 0x1 from Windows, rc=VERR_BUFFER_OVERFLOW 00:08:52.580190 Shared Clipboard: Reading host clipboard data failed with VERR_BUFFER_OVERFLOW to Shared Clipboard: Error reading host clipboard data in format 0x1 from Windows, rc=VERR_BUFFER_OVERFLOW 00:08:52.580190 Shared Clipboard: Reading host clipboard data failed with VERR_BUFFER_OVERFLOW => fixed in svn

Issue now should be fixed. This fix will be a part of the next release. Thank you for reporting.

comment:10 Changed 6 weeks ago by Srini8987

Thank you.

comment:11 Changed 6 weeks ago by galitsyn

  • Status changed from new to closed
  • Resolution set to fixed

VirtualBox 7.0.2 was just released and includes fix for this issue. Could you please give it a try?

comment:12 Changed 6 weeks ago by Srini8987

Will do.

comment:13 Changed 6 weeks ago by Srini8987

Hi,

Issue is resolved.

Thanks, Srini.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use