Bushido wrote: ↑9. Jun 2023, 22:05
If the same hang reproduces in the latest development snapshot, then a log of it would also help.
Sure, it actually occurred today as I copied a URL from Chrome Canary 116.
To be specific, it occurred when I tried to copy a URL from Chrome Canary 116 in the VM and paste it into Slack on Linux.
OS: Fedora 38
Virtualbox version: 7.0.97 r157070
I updated the ticket with the new logs and Bushido's info and the mods' insights.
https://www.virtualbox.org/ticket/21212
mpack wrote: ↑14. Jun 2023, 09:53
If it's what we think then the data isn't available in any format. The "smart editor" app exposes a COM interface through which the receiving app can negotiate to have the data rendered in any way it prefers. There is almost zero chance that this can be made transparent to some random app running in a different OS on a different PC.
Yeah of course, this is definitely the issue, but what ideally I'd like Virtualbox to be doing is detect this and ignore the "looks-like-text-but-it's-not-text" I copied, thus avoiding to make the guest crash.
As we can see from the logs, it tried to read the data and parse it before crashing badly:
Code: Select all
03:02:07.774055 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
03:02:07.774089 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
03:02:37.774656 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
03:02:37.774687 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
03:03:07.775011 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
03:03:07.775050 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'STRING' for X11 (idxFmtX11=4, fmtX11=2, atomTarget='STRING') failed, rc=VERR_TIMEOUT
03:03:37.775298 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
03:03:37.775322 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'TEXT' for X11 (idxFmtX11=5, fmtX11=2, atomTarget='TEXT') failed, rc=VERR_TIMEOUT
03:04:07.775676 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
03:04:07.775725 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'text/plain' for X11 (idxFmtX11=6, fmtX11=2, atomTarget='text/plain') failed, rc=VERR_TIMEOUT
03:04:07.780861 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
03:04:07.781170 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
03:04:07.781458 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
03:04:07.781864 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
03:04:07.782069 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
03:04:37.799219 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
03:04:37.799244 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
03:05:07.799509 Shared Clipboard: Error reading host clipboard data from X11, rc=VERR_TIMEOUT
03:05:07.799537 Shared Clipboard: Reading host clipboard data failed with VERR_TIMEOUT
03:05:07.799543 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
03:05:07.799558 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
03:05:07.799567 Shared Clipboard: Converting X11 format 'UTF8_STRING' (idxFmtX11=1) to VBox format 0x1 failed, rc=VERR_NO_DATA
03:05:07.799772 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
03:05:37.799989 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
03:05:37.799989 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
03:05:37.799989 Shared Clipboard: Error reading host clipboard data from X11, rc=VERR_TIMEOUT
03:05:37.799989 Shared Clipboard: Reading host clipboard data failed with VERR_TIMEOUT
03:05:37.799989 Shared Clipboard: Converting X11 format 'UTF8_STRING' (idxFmtX11=1) to VBox format 0x1 failed, rc=VERR_NO_DATA
03:05:37.799989 Shared Clipboard: Signalling host about guest clipboard data failed with VERR_NOT_FOUND
03:06:07.801179 Shared Clipboard: Error reading host clipboard data from X11, rc=VERR_TIMEOUT
03:06:07.801230 Shared Clipboard: Reading host clipboard data failed with VERR_TIMEOUT
03:06:07.801260 Shared Clipboard: Requesting data in format 0x1 for X11 host failed with VERR_TIMEOUT
03:06:07.801276 Shared Clipboard: Converting VBox formats 'UNICODETEXT' to 'UTF8_STRING' for X11 (idxFmtX11=1, fmtX11=3, atomTarget='UTF8_STRING') failed, rc=VERR_TIMEOUT
03:06:07.801328 Shared Clipboard: Converting X11 format 'UTF8_STRING' (idxFmtX11=1) to VBox format 0x1 failed, rc=VERR_NO_DATA
Ideally the expect behavior should be to:
- Parse the supported text between applications, like standard text in notepad
- Ignore the unsupported text pointers (like URLs in Chrome etc), thus preventing a crash