Bug#969325: x2goserver-x2goagent: coredump SIGSEGV in Poller::updateDamagedAreas() () from /lib/arm-linux-gnueabihf/libXcompshad.so.3
Package: x2goserver-x2goagent
Version: 4.1.0.3-4
Severity: important
Tags: upstream
Dear Maintainer,
* What led up to the situation?
- Connecting from x86 x2go client (testing/bullseye repo) to x2go local desktop on armhf hardware (stable/buster repo).
* What exactly did you do (or not do) that was effective (or
ineffective)?
- The error only occurs when connecting to the local XFCE desktop (desktop sharing, both view only and full access - using the same user to connect to the user's session). Creating a standalone XFCE session works fine.
- The error happens on a stock stable Debian (buster) running 5.7.0-0.bpo.2-armmp-lpae #1 SMP Debian 5.7.10-1~bpo10+1 (2020-07-30) armv7l GNU/Linux on odroid-xu4, DE is XFCE. I've tried x2go components from buster-backports and X2Go Repository https://wiki.x2go.org/doku.php/wiki:repositories:raspbian, they all have SIGSEGV problem.
* What was the outcome of this action?
- Desktop sharing session ended when the connection is established. Client (running on x86) popped up a windows saying "The connection with the remote server was shut down. Please check the state of your network connection."
- On armhf x2go server ~/.x2go/[session]/session.log showed
NXTransKeeper: WARNING! Parent process appears to be dead. Exiting keeper.
Warning: Parent process appears to be dead. Exiting keeper.
- A file named "core" was created in home directory.
"file core" outputs "core: ELF 32-bit LSB core file, ARM, version 1 (SYSV), SVR4-style, from 'x2goagent -nolisten tcp -nolisten tcp -S -auth /home/xxx/.Xauthority -shadow', real uid: 1000, effective uid: 1000, real gid: 1000, effective gid: 1000, execfn: '/usr/bin/x2goagent', platform: 'v7l'"
"gdb /usr/bin/x2goagent core" outputs
Core was generated by `x2goagent -nolisten tcp -nolisten tcp -S -auth /home/xxx/.Xauthority -shadow'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xb6d78c54 in Poller::updateDamagedAreas() () from /lib/arm-linux-gnueabihf/libXcompshad.so.3
(gdb) bt full
#0 0xb6d78c54 in Poller::updateDamagedAreas() () from /lib/arm-linux-gnueabihf/libXcompshad.so.3
No symbol table info available.
#1 0xb6d78e64 in Poller::getEvents() () from /lib/arm-linux-gnueabihf/libXcompshad.so.3
No symbol table info available.
#2 0x04000500 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
* What outcome did you expect instead?
- Desktop sharing session works - it does not end as soon as connection is established.
-- System Information:
Debian Release: 10.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armhf (armv7l)
Kernel: Linux 5.7.0-0.bpo.2-armmp-lpae (SMP w/8 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages x2goserver-x2goagent depends on:
ii nxagent 2:3.5.99.19-3+deb10u2
x2goserver-x2goagent recommends no packages.
Versions of packages x2goserver-x2goagent suggests:
ii x2goserver 4.1.0.3-4
-- no debconf information
Reply to: