VirtualBox

Opened 16 years ago

Closed 16 years ago

#1021 closed defect (fixed)

Windows XP Guest Crashes on Gutsy Host - Clipboard Error

Reported by: David Collins Owned by:
Component: other Version: VirtualBox 1.5.4
Keywords: clipboard Cc:
Guest type: other Host type: other

Description

The Windows XP host aborts regularly while it is not being used with log error - 'vboxClipboardConvertUtf8: clipboard conversion failed. RTUtf16ToUtf8Ex() returned VERR_INVALID_UTF16_ENCODING. Abandoning.' It seems to crash when I am performing clipboard operations elsewhere in my Xubuntu session.

The host is running on Xubuntu 7.10 (Gutsy)

The last time it crashed was while I was pasting the text of the above error from a terminal window into google (using Firefox) - the paste into the google search field failed, and at the same time the Virtual Box Windows XP session crashed. After it had crashed, I then tried pasting the same message into the google search field a second time, and it worked.

I think it shouldn't be hard for you to replicate this problem, yourself. (I might be off-line for the next 2 weeks.)

Attachments (2)

VBox.log.2 (30.9 KB ) - added by David Collins 16 years ago.
VBoxSharedClipboard.so (107.9 KB ) - added by Michael Thayer 16 years ago.
Updated clipboard handler for VirtualBox 1.5.4, for 32bit Linux hosts with glibc 2.4 or newer (built on Kubuntu 7.10)

Download all attachments as: .zip

Change History (6)

by David Collins, 16 years ago

Attachment: VBox.log.2 added

comment:1 by David Collins, 16 years ago

To clarify - the pasting I describe above is NOT in the Windows XP session - it is elsewhere in my Xubuntu session.

FYI, In the Windows XP session, I am running a VPN client and then RDPing to a Windows XP PC via the VPN tunnel (using mstsc.exe). No other software is running on the guest system.

comment:2 by Michael Thayer, 16 years ago

Sorry to have taken a while to respond. Can you try out the updated clipboard library which I will upload and see if you can still reproduce the issue? Just replace the equivalent file in your own VirtualBox installation (making a backup first of course).

by Michael Thayer, 16 years ago

Attachment: VBoxSharedClipboard.so added

Updated clipboard handler for VirtualBox 1.5.4, for 32bit Linux hosts with glibc 2.4 or newer (built on Kubuntu 7.10)

comment:3 by David Collins, 16 years ago

Thanks, Michael.

The updated clipboard library improves things substantially.

Now, it seems that regardless of what I do the Windows XP guest does not crash - and that is important.

There are 2 cases that give different results:

  1. Run Windows XP guest (without running mstsc.exe - ie. RDP client)

Copying to clipboard and pasting from clipboard works fine - both from guest to host, and host to guest.

  1. Run Windows XP guest (running mstsc.exe - ie. Microsoft RDP client)

I think that mstsc.exe does some special stuff with the clipboard - which seems to stuff things up. I can't copy to clipboard successfully on the xubuntu host - when I copy then paste (both of these on xubuntu host), I end up with corrupt characters. I can copy into the clipboard on the Windows XP guest, though, and then paste into somewhere on the xubuntu host. ie. host->guest - No good, guest->host - OK

Regards, Tybion

comment:4 by Sander van Leeuwen, 16 years ago

Resolution: fixed
Status: newclosed

Try again with 1.6.0 and report back if it's still relevant. Thanks.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use