Copying some kind of text/URL from guest to host causes the VM to crash

Discussions related to using VirtualBox on Linux hosts.
Post Reply
FranceBB
Posts: 115
Joined: 20. May 2017, 05:07
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP x86
Contact:

Copying some kind of text/URL from guest to host causes the VM to crash

Post by FranceBB »

Hi there,
while I was copying stuff from the guest to the host (basically text), the VM crashed.


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)
VirtualBox Version: 7.0.2 r154219
Extensions: 7.0.2 r154219

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:

Code: Select all

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:
Screenshot from 2022-10-28 17-15-05.png
Screenshot from 2022-10-28 17-15-05.png (71.61 KiB) Viewed 3120 times
This is the full log 'till the crash occurred:
WindowsEmbedded-2022-10-28-16-46-10.zip
(25.38 KiB) Downloaded 10 times
This is the ticket opened in the bug tracker for reference: https://www.virtualbox.org/ticket/21212
FranceBB
Posts: 115
Joined: 20. May 2017, 05:07
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP x86
Contact:

Re: Copying some kind of text/URL from guest to host causes the VM to crash

Post by FranceBB »

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

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

I've just got a VM to crash with:

Code: Select all

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

WindowsEmbedded-2022-12-16-16-48-27.zip
(35.41 KiB) Downloaded 3 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Copying some kind of text/URL from guest to host causes the VM to crash

Post by scottgus1 »

Please go back to 6.1.40 and see if the same problem happens.
FranceBB
Posts: 115
Joined: 20. May 2017, 05:07
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows XP x86
Contact:

Re: Copying some kind of text/URL from guest to host causes the VM to crash

Post by FranceBB »

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:

Code: Select all

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 Log:
WindowsEmbedded-2023-02-05-10-11-50.zip
Logs
(23.71 KiB) Downloaded 1 time
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Copying some kind of text/URL from guest to host causes the VM to crash

Post by scottgus1 »

FranceBB wrote:October 28th, 2022, VirtualBox Version: 7.0.2 r154219
FranceBB wrote:Fast forward to the 16th of December 2022 and Virtualbox 7.0.5 r154733
scottgus1 wrote:Please go back to 6.1.40 and see if the same problem happens.
FranceBB wrote:February 5th, 2023, VirtualBox Version: 7.0.7 r155584
:?: :|
Where's the 6.1.40 report?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Copying some kind of text/URL from guest to host causes the VM to crash

Post by scottgus1 »

Looks like we lost sight of this topic.
6.1.40 can be found here:
https://download.virtualbox.org/virtualbox/
https://www.virtualbox.org/wiki/Download_Old_Builds
Bushido
Posts: 54
Joined: 13. Sep 2022, 23:28

Re: Copying some kind of text/URL from guest to host causes the VM to crash

Post by Bushido »

scottgus1 wrote: 9. Jun 2023, 17:07 Looks like we lost sight of this topic.
6.1.40 can be found here:
https://download.virtualbox.org/virtualbox/
https://www.virtualbox.org/wiki/Download_Old_Builds
6.x wouldn't work with Fedora 38 with the latest kernel anyway.
Post Reply