VirtualBox

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#21149 closed defect (fixed)

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 (2)

VBox.7z (16.3 KB ) - added by Srini8987 2 years ago.
upload.7z (36.0 KB ) - added by Srini8987 2 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 by galitsyn, 2 years ago

Hi Srini8987,

Could you please attach complete VBox.log?

by Srini8987, 2 years ago

Attachment: VBox.7z added

comment:2 by Srini8987, 2 years ago

Hi, I have attached the file. Thanks.

comment:3 by galitsyn, 2 years ago

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 2 years ago by galitsyn (previous) (diff)

comment:4 by Srini8987, 2 years ago

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 by galitsyn, 2 years ago

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?

by Srini8987, 2 years ago

Attachment: upload.7z added

comment:6 by Srini8987, 2 years ago

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 by galitsyn, 2 years ago

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 by Srini8987, 2 years ago

Thank You.

comment:9 by galitsyn, 2 years ago

Summary: 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_OVERFLOWShared 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 by Srini8987, 2 years ago

Thank you.

comment:11 by galitsyn, 2 years ago

Resolution: fixed
Status: newclosed

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

comment:12 by Srini8987, 2 years ago

Will do.

comment:13 by Srini8987, 2 years ago

Hi,

Issue is resolved.

Thanks, Srini.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette