﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
19226	VM segfaults on copy with shared clipboard	udine	pentagonik	"When using the shared clipboard, all running VMs in certain states crash whenever some input it copied on the host.

Steps to reproduce:
1. Start VM and login
2. Open libreoffice calc on host
3. Select and copy some cells
   => VM crashes

No messages are in the VBox log of the VM, but there are some in the journal of the host.
{{{
ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 pid=1559 comm=""ShClipboard"" exe=""/usr/lib/virtualbox/VirtualBoxVM"" sig=11 res=1
ShClipboard[1599]: segfault at 4 ip 00007fe97c14a1ae sp 00007fe95c199cf0 error 4 in VBoxSharedClipboard.so[7fe97c143000+8000]
Code: 89 c4 85 c0 78 50 48 8d 4d c0 ba 30 75 00 00 44 89 f6 4c 89 ff 67 e8 b1 c9 ff ff 41 89 c4 85 c0 78 34 48 8b 45 c0 48 8b 7b 08 <8b> 50 04 39 53 04 0f 46 53 04 48 8b 70 08 89 d2 ff 15 84 5c 00 00
audit: type=1701 audit(1579083656.742:64): auid=1000 uid=1000 gid=1000 ses=2 pid=1559 comm=""ShClipboard"" exe=""/usr/lib/virtualbox/VirtualBoxVM"" sig=11 res=1
}}}

The issue also occurs when copying from the guest, but I currently don't have a reproducer for that. Journal message on host:
{{{
SHCLX11[3662]: segfault at 8 ip 00007efc7073d3ea sp 00007efc71b6c8a0 error 4 in VBoxSharedClipboard.so[7efc70736000+8000]
}}}

Version used is 6.0.12, but the issue was also present in at least 6.1.0.
Host is running Arch Linux, guest is Kali Linux (haven't tested with other combinations)."	defect	accepted	clipboard	VirtualBox 6.1.2				Linux	Linux
