Bugzilla – Bug 1174592
x2goagent crashes when pasting clipboard contents
Last modified: 2020-11-05 14:15:04 UTC
I am running two openSUSE Tumbleweed machines, both with x2goserver 4.1.0.4 (from Git commit gaef470fe) and x2goclient 4.1.2.2, and often use X2Go in single application mode to connect between them. Following a Tumbleweed update on the client machine (from 20200708 to 20200724), the X2Go connection now disconnects whenever I copy text into the clipboard on the local machine and then paste it into the remote application. The following error message appears in the system log of the remote machine: 2020-07-28T11:16:12.479151+02:00 butterfield systemd-coredump[18451]: Process 17960 (x2goagent) of user 1000 dumped core.#012#012Stack trace of thread 17960:#012#0 0x00007fdd0c65c4b1 raise (libc.so.6 + 0x3c4b1)#012#1 0x00007fdd0c645539 abort (libc.so.6 + 0x25539)#012#2 0x00007fdd0c69f827 __libc_message (libc.so.6 + 0x7f827)#012#3 0x00007fdd0c72f4f2 __fortify_fail (libc.so.6 + 0x10f4f2)#012#4 0x00007fdd0c72f4c2 __stack_chk_fail (libc.so.6 + 0x10f4c2)#012#5 0x000055ae7290e691 nxagentCollectPropertyEvent (nxagent + 0xb9691)#012#6 0x000055ae728f54b3 nxagentDispatchEvents (nxagent + 0xa04b3)#012#7 0x000055ae728f9b3a nxagentWakeupHandler (nxagent + 0xa4b3a)#012#8 0x000055ae728ddde3 WaitForSomething (nxagent + 0x88de3)#012#9 0x000055ae728b747a Dispatch (nxagent + 0x6247a)#012#10 0x000055ae728965f6 main (nxagent + 0x415f6)#012#11 0x00007fdd0c646cca __libc_start_main (libc.so.6 + 0x26cca)#012#12 0x000055ae728989ea _start (nxagent + 0x439ea) The Tumbleweed update included some changes to X11/KDE packages that broke at least one other application (most notably emacsclient -- see Bug 1174534) so maybe this is also the case here. Another user has already reported a different problem with X2Go following the recent Tumbleweed update -- see Bug 1174342. I tried downgrading sddm to Revision 49 of the openSUSE:Factory/sddm package on OBS but this did not solve the problem. Upstream bug report: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1490
I'm seeing this problem with the packages I've built (using OBS) from the Git HEAD versions of the various X2Go programs <https://build.opensuse.org/project/show/home:psych0naut:x2go> but not with X2Go's official nightly builds from <http://packages.x2go.org/opensuse/tumbleweed/heuler/>. This is strange because AFAIK both sets of packages should be built from the same sources. As a workaround I can use the official packages for now, though this might not be a long-term solution as the official package repository has historically had a lot of problems with missing packages.
Hi X11 maintainers, would you please help to take a look at this issue? I'm not sure whether it is correct to assign it to you, please feel free to reassign whenever necessary, thanks.
The problem has been identified in the upstream NX agent code; a verified fix has been posted to one of its development branches, though this hasn't yet made it into the official release. I'm assuming this means that I can mark this issue as RESOLVED->UPSTREAM, but please reopen if not.