X2Go Bug report logs - #1603
segfault when starting new Terminal session (error 14 in nxagent)

version graph

Package: nxagent; Maintainer for nxagent is X2Go Developers <x2go-dev@lists.x2go.org>; Source for nxagent is src:nx-libs.

Reported by: Wes Piard <wespiard@gmail.com>

Date: Wed, 24 May 2023 06:55:01 UTC

Severity: normal

Found in version 3.5.99.26

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1603: segfault when starting new Terminal session (error 14 in nxagent)
Reply-To: Wes Piard <wespiard@gmail.com>, 1603@bugs.x2go.org
Resent-From: Wes Piard <wespiard@gmail.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Wed, 24 May 2023 06:55:01 +0000
Resent-Message-ID: <handler.1603.B.168491120114326@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1603
X-X2Go-PR-Package: nxagent
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.168491120114326
          (code B); Wed, 24 May 2023 06:55:01 +0000
Received: (at submit) by bugs.x2go.org; 24 May 2023 06:53:21 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,SPF_HELO_NONE,
	T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2
Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id B59075DA94
	for <submit@bugs.x2go.org>; Wed, 24 May 2023 08:53:04 +0200 (CEST)
Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-561a41db2c0so4871727b3.3
        for <submit@bugs.x2go.org>; Tue, 23 May 2023 23:53:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20221208; t=1684911183; x=1687503183;
        h=mime-version:subject:message-id:to:from:date:from:to:cc:subject
         :date:message-id:reply-to;
        bh=WNW2HoE9hB4MHMaIvb8UTR7O6gl5v3esWdtje5rRUfU=;
        b=nxJtwYnKbqAxHlSFt+eB/WP/LYNe47MnigwoqLz6s7+upZR2djW4OtqowtKdoju87e
         HkgRiXc64ODnxVheKj96dJobYpwAO5Fz/NakVuAenf/cf9UYsCSZ5iP4nqsU2hLarZ6i
         0Olwg/WEqeN8gSBb277kLegpvfG5Y39WdQIfVBldLDwBq+AzYX43MiKJ8myzMib7jaOy
         hyACm50H+dMMUUT2bNzeUXsLz2sIuv7HVSWHROi5RDopy3tTRWjSEeBM3Rvv3C3z6SVL
         mhyPdlKjWu6ATyozURWheiQ5QX4IIy0qb+P/XBVwZW8r0a4AMmEaqsZ1DS+teTy91o0R
         CaZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20221208; t=1684911183; x=1687503183;
        h=mime-version:subject:message-id:to:from:date:x-gm-message-state
         :from:to:cc:subject:date:message-id:reply-to;
        bh=WNW2HoE9hB4MHMaIvb8UTR7O6gl5v3esWdtje5rRUfU=;
        b=cJzgWVeA9Yu5r4Ii2g5bDkrNRobfQ9jT+1MyZ6HdeqT54hZHHgunyBKFXoVXHjWsP1
         pKT34/gGlY0HQ1ynfZcqxsWywDoBLaP76ZIAVnt04wXXcGgimA9nZbXZQ16F0mA1Rfai
         QegS4Dj74gauFNBy4SH73uFOT8QL9jTpiZ/6MEVIH5nX6ucuNrsxIiTR9P/8Q70psRTO
         4lnjRnz7R2eTbL3QQC89sq3IjRX4h3RMaKeeQxZfw7jFoPAFKaRGZzjykTwdLuS148Pa
         ui6ADuEiVkLDMqlOVLc5LYZ1aqv+6aOLFcgP3/ZiorLKo4Jv49iq9N5svGoKjbg62Xr8
         Tfig==
X-Gm-Message-State: AC+VfDwWCF/Bwf/De6n9pgg8wxk7db94CaQPFVW81YhCuE+uF57qGHX4
	gtkPsnAex+EO0GZyzrmkh/SkvO+Jiw==
X-Google-Smtp-Source: ACHHUZ7NwzPZXKip6vPdjnCq400gouVSJL/sLqOF7eZ8UAEqlt/IboOKzzKQS/7EkB1D22Ip+i1cOg==
X-Received: by 2002:a0d:cec7:0:b0:561:7cb7:a31 with SMTP id q190-20020a0dcec7000000b005617cb70a31mr15156824ywd.44.1684911182797;
        Tue, 23 May 2023 23:53:02 -0700 (PDT)
Received: from [10.228.12.247] (host-128-227-108-150.xlate.ufl.edu. [128.227.108.150])
        by smtp.gmail.com with ESMTPSA id w6-20020a814906000000b0054f8b201c70sm3453938ywa.108.2023.05.23.23.53.02
        for <submit@bugs.x2go.org>
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Tue, 23 May 2023 23:53:02 -0700 (PDT)
Date: Wed, 24 May 2023 02:52:56 -0400
From: Wes Piard <wespiard@gmail.com>
To: submit@bugs.x2go.org
Message-ID: <b09ee60a-eb72-4b5c-818b-9af2ea60f028@Spark>
X-Readdle-Message-ID: b09ee60a-eb72-4b5c-818b-9af2ea60f028@Spark
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="646db44d_92fa6db_5f0c"
[Message part 1 (text/plain, inline)]
Package: nxagent
Version: 3.5.99.26

x2go client system: Windows 11 Pro
x2go server system: RHEL/Rocky 8.8, Linux 4.18.0-477.10.1
x2goclient version: 4.1.2.2
x2goserver, x2goagent version: 4.1.0.3
nxagent, nx-libs version: 3.5.99.26

When attempting to start a new session using x2go of type "Single application" with command "Terminal", the x2go client receives the following error:

"X2Go - 57: The connection with the remote server was shut down. Please check the state of your network connection."

At this point, the x2go server gets a segfault from nxagent:

kernel: x2goagent[16153]: segfault at 0 ip 0000000000000000 sp 00007fff984cffc8 error 14 in nxagent[55bf4d27a000+439000]

Here is the full output shown in /var/log/messages:

systemd-logind[1092]: New session 11 of user wespiard.
systemd[1]: Started Session 11 of user wespiard.
/usr/bin/x2gostartagent[16162]: successfully started X2Go Agent session with ID wespiard-58-1684910138_stRTERMINAL_dp32
kernel: x2goagent[16153]: segfault at 0 ip 0000000000000000 sp 00007fff984cffc8 error 14 in nxagent[55bf4d27a000+439000]
kernel: Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
systemd[1]: Started Process Core Dump (PID 16440/UID 0).
systemd-coredump[16441]: Process 16153 (x2goagent) of user 1001 dumped core.#012#012Stack trace of thread 16153:#012#0  0x0000000000000000 n/a (n/a)
systemd[1]: systemd-coredump@8-16440-0.service: Succeeded.
systemd-logind[1092]: Session 11 logged out. Waiting for processes to exit.
/usr/bin/x2gosetkeyboard[16662]: /home/wespiard/.x2go/C-wespiard-58-1684910138_stRTERMINAL_dp32/keyboard did not appear within 30s after agent startup
systemd[1]: session-11.scope: Succeeded.
systemd-logind[1092]: Removed session 11.

Here is the output of "coredumpctl info 16153":

           PID: 16153 (x2goagent)
           UID: 1001 (wespiard)
           GID: 1001 (wespiard)
        Signal: 11 (SEGV)
     Timestamp: Wed 2023-05-24 06:35:42 UTC (9min ago)
  Command Line: x2goagent -nolisten tcp -nolisten tcp -dpi 96 -R -auth /home/wespiard/.Xauthority -geometry 1024x768 -name X2GO-wespiard-58-1684910138_stRTERMINAL_dp32 :58
    Executable: /usr/bin/nxagent
 Control Group: /user.slice/user-1001.slice/session-11.scope
          Unit:
         Slice: user-1001.slice
       Session: 11
     Owner UID: 1001 (wespiard)
       Storage: /var/lib/systemd/coredump/core.x2goagent.1001.8af9355d6c8542eb8b72103dc32ef9c0.16153.1684910142000000.lz4
       Message: Process 16153 (x2goagent) of user 1001 dumped core.

                Stack trace of thread 16153:
                #0  0x0000000000000000 n/a (n/a)

[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu May 2 16:29:02 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.