Subject: Bug#1598: SIGSEGV x2goagent when server session starts

From: [email-masked]
Date: Wed, 08 Mar 2023 19:12:47 +0100

Package: x2goagent
Version: x2goagent-4.1.0.3-19.fc37.x86_64

When I start the connection with x2go client the session starts, but 
immediately is closed.

On server log there is SIGSEGV reported for x2goagent

Mar  8 19:03:21 nuc 
/usr/share/x2go/x2gofeature.d/x2goserver-fmbindings.features[8072]: 
x2goserver-fmbindings.features called with options: 
X2GOAGENT_RANDRXINERAMA
Mar  8 19:03:21 nuc 
/usr/share/x2go/x2gofeature.d/x2goserver-printing.features[8078]: 
x2goserver-printing.features called with options: 
X2GOAGENT_RANDRXINERAMA
Mar  8 19:03:21 nuc 
/usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features[8084]: 
x2goserver-x2goagent.features called with options: 
X2GOAGENT_RANDRXINERAMA
Mar  8 19:03:21 nuc /usr/bin/x2gofeature[8098]: x2gofeature called with 
options: X2GO_RUN_EXTENSIONS
Mar  8 19:03:21 nuc 
/usr/share/x2go/x2gofeature.d/x2goserver-desktopsharing.features[8103]: 
x2goserver-desktopsharing.features called with options: 
X2GO_RUN_EXTENSIONS
Mar  8 19:03:21 nuc 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features[8108]: 
x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Mar  8 19:03:21 nuc /usr/bin/x2goserver-run-extensions[8113]: 
x2goserver-run-extensions called with options: 
marco-50-1678298596_stDstartplasma-x11_dp24 pre-runcommand
Mar  8 19:03:21 nuc /usr/bin/x2gosetkeyboard[8127]: x2gosetkeyboard 
called with options:
Mar  8 19:03:21 nuc /usr/bin/x2gofeature[8130]: x2gofeature called with 
options: X2GO_XSESSION
Mar  8 19:03:21 nuc /usr/bin/x2gosetkeyboard[8131]: Waiting for 
/home/marco/.x2go/C-marco-50-1678298596_stDstartplasma-x11_dp24/keyboard 
to appear
Mar  8 19:03:21 nuc 
/usr/share/x2go/x2gofeature.d/x2goserver-desktopsharing.features[8136]: 
x2goserver-desktopsharing.features called with options: X2GO_XSESSION
Mar  8 19:03:21 nuc 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features[8142]: 
x2goserver-extensions.features called with options: X2GO_XSESSION
Mar  8 19:03:21 nuc 
/usr/share/x2go/x2gofeature.d/x2goserver.features[8147]: 
x2goserver.features called with options: X2GO_XSESSION
Mar  8 19:03:21 nuc 
/usr/share/x2go/x2gofeature.d/x2goserver-fmbindings.features[8152]: 
x2goserver-fmbindings.features called with options: X2GO_XSESSION
Mar  8 19:03:21 nuc 
/usr/share/x2go/x2gofeature.d/x2goserver-printing.features[8157]: 
x2goserver-printing.features called with options: X2GO_XSESSION
Mar  8 19:03:21 nuc 
/usr/share/x2go/x2gofeature.d/x2goserver-x2goagent.features[8163]: 
x2goserver-x2goagent.features called with options: X2GO_XSESSION
Mar  8 19:03:21 nuc 
/usr/share/x2go/x2gofeature.d/x2goserver-xsession.features[8168]: 
x2goserver-xsession.features called with options: X2GO_XSESSION
Mar  8 19:03:21 nuc /usr/bin/x2goruncommand[8171]: launching session 
with Xsession-x2go mechanism, using STARTUP="/usr/bin/startplasma-x11"
Mar  8 19:03:21 nuc /usr/bin/x2goruncommand[8172]: dbus wrapper 
available as /usr/bin/dbus-run-session
Mar  8 19:03:21 nuc audit[7746]: ANOM_ABEND auid=1000 uid=1000 gid=1000 
ses=15 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 
pid=7746 comm="x2goagent" exe="/usr/bin/nxagent" sig=11 res=1
Mar  8 19:03:21 nuc kernel: x2goagent[7746]: segfault at 39 ip 
0000558395901215 sp 00007ffdfe7864b0 error 4 in 
nxagent[55839584f000+312000] likely on CPU 6 (core 2, socket 0)
Mar  8 19:03:21 nuc kernel: Code: d0 49 8b 85 70 01 00 00 49 89 46 10 48 
8d 05 a2 ff ff ff 49 89 85 70 01 00 00 5b 5d 41 5c 41 5d 41 5e c3 66 90 
e8 bb bf ff ff <48> 83 38 00 74 bc b9 ff ff ff ff 31 d2 4c 89 e6 48 89 
df e8 13 c0

A core dump is created, below the gdb output for it.

[root@nuc ~]# coredumpctl -1 debug
            PID: 5414 (x2goagent)
            UID: 1000 (marco)
            GID: 1000 (marco)
         Signal: 11 (SEGV)
      Timestamp: Wed 2023-03-08 18:55:47 CET (21s ago)
   Command Line: x2goagent -nolisten tcp -nolisten tcp -D -auth 
/home/marco/.Xauthority -geometry 0x0 -name 
X2GO-marco-50-1678298141_stDstartplasma-x11_dp24 :50
     Executable: /usr/bin/nxagent
  Control Group: /user.slice/user-1000.slice/session-13.scope
           Unit: session-13.scope
          Slice: user-1000.slice
        Session: 13
      Owner UID: 1000 (marco)
        Boot ID: 0b72d933be694ce8ac199b390b638cff
     Machine ID: 7af5fe9c042e44bcb86628edd3b31948
       Hostname: nuc.inforge.lan
        Storage: 
/var/lib/systemd/coredump/core.x2goagent.1000.0b72d933be694ce8ac199b390b638cff.5414.1678298147000000.zst 
(present)
      Disk Size: 628.0K
        Package: nx-libs/3.5.99.26-5.fc37
       build-id: c64f96358a4519575fc02740674b41e64cd211b7
        Message: Process 5414 (x2goagent) of user 1000 dumped core.

                 Module linux-vdso.so.1 with build-id 
5803c56d8c53a6935c5e29534db85c9f77ee18a3
                 Module libXcursor.so.1 with build-id 
b4392b1f9e68ce45d15a4c82c7052d0c160bbf7c
                 Metadata for module libXcursor.so.1 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "libXcursor",
                 	"version" : "1.2.1-2.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libpcre2-8.so.0 with build-id 
51cf2b0dc0884111cd6107b8b84bc1dc9e896de6
                 Metadata for module libpcre2-8.so.0 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "pcre2",
                 	"version" : "10.40-1.fc37.1",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libselinux.so.1 with build-id 
5d8ce032a7d7e48c206e1274ffba675e58e56df9
                 Metadata for module libselinux.so.1 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "libselinux",
                 	"version" : "3.4-5.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libbrotlicommon.so.1 with build-id 
ee65b3f0999329d66676c60df8ed1feaab83e15f
                 Metadata for module libbrotlicommon.so.1 owned by FDO 
found: {
                 	"type" : "rpm",
                 	"name" : "brotli",
                 	"version" : "1.0.9-9.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libgraphite2.so.3 with build-id 
24975d617308ccea1539745afa0ace7a6057f225
                 Metadata for module libgraphite2.so.3 owned by FDO 
found: {
                 	"type" : "rpm",
                 	"name" : "graphite2",
                 	"version" : "1.3.14-10.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libglib-2.0.so.0 with build-id 
eac9203e396de94741ad9651644497c245a83ae8
                 Metadata for module libglib-2.0.so.0 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "glib2",
                 	"version" : "2.74.6-1.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libresolv.so.2 with build-id 
4a284590f0ff48e205a64837ba1e36e76a27ff68
                 Module libcrypto.so.3 with build-id 
5f86a956fe1375ca4bcc060da69449c1840d3ddd
                 Metadata for module libcrypto.so.3 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "openssl",
                 	"version" : "3.0.8-1.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libkeyutils.so.1 with build-id 
3b45f76aa151e2b57a729356b6972140bc78399b
                 Metadata for module libkeyutils.so.1 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "keyutils",
                 	"version" : "1.6.1-5.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libkrb5support.so.0 with build-id 
66b891f1a4f5dd9179f5ec3f8e9f78761db65138
                 Metadata for module libkrb5support.so.0 owned by FDO 
found: {
                 	"type" : "rpm",
                 	"name" : "krb5",
                 	"version" : "1.19.2-13.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libbrotlidec.so.1 with build-id 
5fc05a35af263c2149bb2c0fae2533c2ebe0a225
                 Metadata for module libbrotlidec.so.1 owned by FDO 
found: {
                 	"type" : "rpm",
                 	"name" : "brotli",
                 	"version" : "1.0.9-9.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libharfbuzz.so.0 with build-id 
73da1d09c25d0f030141510ba2cd4e2fdb019fa6
                 Metadata for module libharfbuzz.so.0 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "harfbuzz",
                 	"version" : "5.2.0-1.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libbz2.so.1 with build-id 
101a76ab214af7a108f9a601fd298bcf405eff5d
                 Metadata for module libbz2.so.1 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "bzip2",
                 	"version" : "1.0.8-12.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXi.so.6 with build-id 
61b03012b4bc4f50a04616a3d50d94bd7a4101c7
                 Metadata for module libXi.so.6 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "libXi",
                 	"version" : "1.8-3.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libcom_err.so.2 with build-id 
232d3f343c2ea39e2fa83b87cabd7fab6990d3e1
                 Metadata for module libcom_err.so.2 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "e2fsprogs",
                 	"version" : "1.46.5-3.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libk5crypto.so.3 with build-id 
3f48829a1e98dea02124fbf4274085dbe0cab3a1
                 Metadata for module libk5crypto.so.3 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "krb5",
                 	"version" : "1.19.2-13.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libkrb5.so.3 with build-id 
f008abac61bec044dc2c3b232be6829937cd7dc7
                 Metadata for module libkrb5.so.3 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "krb5",
                 	"version" : "1.19.2-13.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libgssapi_krb5.so.2 with build-id 
cdd24c78b746f8c52aaf668a2747814cc749ab56
                 Metadata for module libgssapi_krb5.so.2 owned by FDO 
found: {
                 	"type" : "rpm",
                 	"name" : "krb5",
                 	"version" : "1.19.2-13.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module liblzma.so.5 with build-id 
229e4304be252acde566b640d512c5daf306b971
                 Metadata for module liblzma.so.5 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "xz",
                 	"version" : "5.4.1-1.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module ld-linux-x86-64.so.2 with build-id 
bb6fec54c7521fddc569a2f4e141dfb97bf3acbe
                 Module libfreetype.so.6 with build-id 
83f13de859bb20839ca7cd7930c3a7f3424a2996
                 Metadata for module libfreetype.so.6 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "freetype",
                 	"version" : "2.12.1-3.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libfontenc.so.1 with build-id 
c5228e193152570404aeb2ffa7ea938dc06f8443
                 Metadata for module libfontenc.so.1 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "libfontenc",
                 	"version" : "1.1.4-4.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXtst.so.6 with build-id 
8f44aa527fe864726980e3b801eb5d8886cd0fe0
                 Metadata for module libXtst.so.6 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "libXtst",
                 	"version" : "1.2.3-17.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXrandr.so.2 with build-id 
c417656cc9c7711f56f59e6c815c964323a1c77f
                 Metadata for module libXrandr.so.2 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "libXrandr",
                 	"version" : "1.5.2-9.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXdamage.so.1 with build-id 
fe6387fd68bf26c8b5025e833d105f38e5750565
                 Metadata for module libXdamage.so.1 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "libXdamage",
                 	"version" : "1.1.5-8.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libstdc++.so.6 with build-id 
5c63442039be42a72c8722574572171b19f18d66
                 Module libc.so.6 with build-id 
81daba31ee66dbd63efdc4252a872949d874d136
                 Module libgcc_s.so.1 with build-id 
bad96a3adc0a3a006e7ef4900ff3ae1ddcc33ed2
                 Module libjpeg.so.62 with build-id 
842830621cff6e97e06c166712e2c8903960be1b
                 Metadata for module libjpeg.so.62 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "libjpeg-turbo",
                 	"version" : "2.1.3-2.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libpng16.so.16 with build-id 
f15bb3468d64e9399faa84c397691b0b7d8cb31b
                 Metadata for module libpng16.so.16 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "libpng",
                 	"version" : "1.6.37-13.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libtirpc.so.3 with build-id 
94406ca5b9c0f28bec5ee1e12d8fb338fa4c566d
                 Metadata for module libtirpc.so.3 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "libtirpc",
                 	"version" : "1.3.3-0.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libpixman-1.so.0 with build-id 
6f46b47dad65ecfa484ab81ffb912c988e7e2f14
                 Metadata for module libpixman-1.so.0 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "pixman",
                 	"version" : "0.40.0-6.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libxml2.so.2 with build-id 
946e0bba5825d11471d055a39041747e2db65d7a
                 Metadata for module libxml2.so.2 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "libxml2",
                 	"version" : "2.10.3-2.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXpm.so.4 with build-id 
baa88b632b64a630683293ad1faa4ff490997964
                 Metadata for module libXpm.so.4 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "libXpm",
                 	"version" : "3.5.15-2.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libm.so.6 with build-id 
9ca49f056adbf7edc2bda92b95a74d491abe03f2
                 Module libz.so.1 with build-id 
d94299d7572e23295ceaf7674110eb6f2689cd91
                 Metadata for module libz.so.1 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "zlib",
                 	"version" : "1.2.12-5.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXext.so.6 with build-id 
bbd3e1bf1176622cf13f5d993e1bc8741c6652a8
                 Metadata for module libXext.so.6 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "libXext",
                 	"version" : "1.3.4-9.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXdmcp.so.6 with build-id 
368d692b4288e7c5f4dc41687b0db55394c9d413
                 Metadata for module libXdmcp.so.6 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "libXdmcp",
                 	"version" : "1.1.3-9.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXinerama.so.1 with build-id 
22c3210b00c5179278a990a0e8f6bcfe5643693f
                 Metadata for module libXinerama.so.1 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "libXinerama",
                 	"version" : "1.1.4-11.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXcomposite.so.1 with build-id 
4b325f60f40bc223670a967bf194d506cde23377
                 Metadata for module libXcomposite.so.1 owned by FDO 
found: {
                 	"type" : "rpm",
                 	"name" : "libXcomposite",
                 	"version" : "0.4.5-8.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXfont2.so.2 with build-id 
f5860fbdffd7a7228e8ea63bcae1e29d3aae44ec
                 Metadata for module libXfont2.so.2 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "libXfont2",
                 	"version" : "2.0.3-13.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXfixes.so.3 with build-id 
8f3a78f737b814c0008f3cf57ef6d11cc646a7ef
                 Metadata for module libXfixes.so.3 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "libXfixes",
                 	"version" : "6.0.0-4.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXrender.so.1 with build-id 
e28b0d1a111084521bef458753ba20e0e28aa299
                 Metadata for module libXrender.so.1 owned by FDO found: 
{
                 	"type" : "rpm",
                 	"name" : "libXrender",
                 	"version" : "0.9.10-17.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXcompshad.so.3 with build-id 
9659f1f29363b90edb6b6f364a486879e61ac881
                 Metadata for module libXcompshad.so.3 owned by FDO 
found: {
                 	"type" : "rpm",
                 	"name" : "nx-libs",
                 	"version" : "3.5.99.26-5.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libXcomp.so.3 with build-id 
ecfa99d541b11f8cdab7905bf7f4ee26a44a0c52
                 Metadata for module libXcomp.so.3 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "nx-libs",
                 	"version" : "3.5.99.26-5.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module libX11.so.6 with build-id 
c347ec802bab174d083f12ada18f593f593cb1cf
                 Metadata for module libX11.so.6 owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "nx-libs",
                 	"version" : "3.5.99.26-5.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Module nxagent with build-id 
c64f96358a4519575fc02740674b41e64cd211b7
                 Metadata for module nxagent owned by FDO found: {
                 	"type" : "rpm",
                 	"name" : "nx-libs",
                 	"version" : "3.5.99.26-5.fc37",
                 	"architecture" : "x86_64",
                 	"osCpe" : "cpe:/o:fedoraproject:fedora:37"
                 }

                 Stack trace of thread 5414:
                 #0  0x000055c346690215 damagePaintWindow (nxagent + 
0xef215)
                 #1  0x000055c3468c2290 miWindowExposures (nxagent + 
0x321290)
                 #2  0x000055c3468eee67 MapWindow.isra.0 (nxagent + 
0x34de67)
                 #3  0x000055c3465e3924 main (nxagent + 0x42924)
                 #4  0x00007fa340dd5510 __libc_start_call_main (libc.so.6 
+ 0x27510)
                 #5  0x00007fa340dd55c9 __libc_start_main@@GLIBC_2.34 
(libc.so.6 + 0x275c9)
                 #6  0x000055c3465e5cf5 _start (nxagent + 0x44cf5)
                 ELF object binary architecture: AMD x86-64

GNU gdb (GDB) Fedora Linux 13.1-1.fc37
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
     <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/nxagent...

This GDB supports auto-downloading debuginfo from the following URLs:
   <https://debuginfod.fedoraproject.org/>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to 
.gdbinit.
Reading symbols from 
/root/.cache/debuginfod_client/c64f96358a4519575fc02740674b41e64cd211b7/debuginfo...
[New LWP 5414]

                                              --Type <RET> for more, q to 
quit, c to continue without paging--c
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `x2goagent -nolisten tcp -nolisten tcp -D -auth 
/home/marco/.Xauthority -geometr'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055c346690215 in damagePaintWindow (pWindow=0x55c348cd8a00, 
prgn=0x7ffeddb121a0, what=0) at miext/damage/damage.c:1574
1574        if ((what != PW_BACKGROUND || pWindow->backgroundState != 
None) &&