VirtualBox

Opened 23 months ago

Last modified 20 months ago

#21212 new defect

Copying URL from guest to host causes the VM to crash (SharedClipboard)

Reported by: FranceBB Owned by:
Component: clipboard Version: VirtualBox-7.0.2
Keywords: Cc: francesco.bucciantini.adecco@…
Guest type: Windows Host type: Linux

Description

Host OS: Fedora Linux 36 x64 X11 (Xorg) kernel 5.19.16 Guest OS: Windows XP Professional x86 (with Microsoft Premier Extended Support Updates 'till July 2019) Bug: Copying URL from guest to host causes the VM to crash

Bug Description: When Shared Clipboard is enabled, it's possible to copy text from guest to host and vice versa, however when "particular" things like URL and other particularly formatted texts are copied (like from Chrome etc) those fail to be converted properly and therefore cannot be pasted to the host. On top of that, this might lead the guest to crash, which of course is bad.

To highlight the relevant portion of the logs, I'd say that this should give a pretty good insight:

08:37:22.815753 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
08:37:22.816014 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
08:37:22.816241 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
08:37:22.816442 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
08:37:22.816727 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
08:37:22.816894 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
08:37:52.813496 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
08:37:52.813528 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
08:38:22.814024 Shared Clipboard: Error reading host clipboard data from X11, rc=VERR_TIMEOUT
08:38:22.814071 Shared Clipboard: Reading host clipboard data failed with VERR_TIMEOUT
08:38:22.814101 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
08:38:22.814156 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
08:38:22.814179 Shared Clipboard: Converting X11 format 'UTF8_STRING' (idxFmtX11=1) to VBox format 0x1 failed, rc=VERR_NO_DATA

To put this into context, I was trying to copy the following URL from Chrome Canary via an RDP session from a Windows XP VM:

Attachments (4)

Screenshot from 2022-10-28 17-15-05.png (71.6 KB ) - added by FranceBB 23 months ago.
Screenshot of the URL I was trying to copy when the crash occurred
WindowsEmbedded-2022-10-28-16-46-10.log (142.6 KB ) - added by FranceBB 23 months ago.
Full Log 'till the crash
WindowsEmbedded-2022-12-16-16-48-27.zip (35.4 KB ) - added by FranceBB 21 months ago.
Virtualbox 7.0.5 r154733 Crash Logs
WindowsEmbedded-2023-02-05-10-11-50.zip (23.7 KB ) - added by FranceBB 20 months ago.

Download all attachments as: .zip

Change History (7)

by FranceBB, 23 months ago

Screenshot of the URL I was trying to copy when the crash occurred

by FranceBB, 23 months ago

Full Log 'till the crash

comment:1 by FranceBB, 23 months ago

This is the forum post opened as a reference: https://forums.virtualbox.org/viewtopic.php?f=7&t=107612&p=526671

comment:2 by FranceBB, 21 months ago

Fast forward to the 16th of December and Virtualbox 7.0.5 r154733 and the issue is still there.

I've just got a VM to crash with:

79:46:18.092408 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
79:46:18.092563 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
79:46:18.092682 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
79:46:18.092874 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
79:46:18.093031 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
79:46:18.093196 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
79:46:18.093354 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
79:46:18.093513 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
79:46:18.093703 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
79:46:18.093914 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
79:46:18.094075 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
79:46:18.094241 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
79:46:48.081934 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
79:46:48.081991 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
79:47:18.082828 Shared Clipboard: Error reading host clipboard data from X11, rc=VERR_TIMEOUT
79:47:18.082858 Shared Clipboard: Reading host clipboard data failed with VERR_TIMEOUT
79:47:18.083301 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
79:47:18.083338 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
79:47:18.083365 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
79:47:18.083385 Shared Clipboard: Converting X11 format 'UTF8_STRING' (idxFmtX11=1) to VBox format 0x1 failed, rc=VERR_NO_DATA
Version 0, edited 21 months ago by FranceBB (next)

by FranceBB, 21 months ago

Virtualbox 7.0.5 r154733 Crash Logs

comment:3 by FranceBB, 20 months ago

A brief update on the topic given that it's been a while since October 2022. I tested the same scenario with a new version of Virtualbox, Fedora and the linux kernel and the issue is still there:

Host OS: Fedora Linux 37 x64 X11 (Xorg) kernel 6.1.9
Guest OS: Windows XP Professional x86 (with Microsoft Premier Extended Support Updates 'till July 2019)
VirtualBox Version: 7.0.7 r155584
Extensions: 7.0.7 r155584

The important bits leading to the crash:

00:48:18.360246 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_NO_DATA
00:48:18.360297 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_NO_DATA
00:50:04.683011 VMMDev: Guest Log: VBOXNP: DLL loaded.
00:50:56.977375 VMMDev: Guest Log: VBOXNP: DLL unloaded.
00:50:58.955986 VMMDev: Guest Log: VBOXNP: DLL loaded.
00:51:52.499313 VMMDev: Guest Log: VBOXNP: DLL unloaded.
00:54:39.565386 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
00:54:39.565443 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
00:55:09.569730 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
00:55:09.569752 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
00:55:09.575317 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
00:55:39.575623 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
00:55:39.575657 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
00:56:09.578115 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
00:56:09.578158 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
00:56:09.583929 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
00:56:09.584371 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
00:56:09.584811 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND

Full Logs: https://forums.virtualbox.org/download/file.php?id=49078

Note: See TracTickets for help on using tickets.

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