From rob.izzard@gmail.com Wed Jul 22 18:16:01 2015 Received: (at submit) by bugs.x2go.org; 22 Jul 2015 16:16:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id E40135DA82 for ; Wed, 22 Jul 2015 18:16:00 +0200 (CEST) Received: by wibxm9 with SMTP id xm9so110275908wib.1 for ; Wed, 22 Jul 2015 09:16:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=R8UYZGDHd7MzIvHhO9jBz1mS7ju7UVo3UFlbZO6+tqU=; b=I4SLZprFbTfzEwmoUyf8q/UepqJ+av2JPuEgFU21KtFkGfeYtyUIWN0X9BJQhAFhHG e9ur+Bw3oRCLyP4GOlL0BLe1XfoNgrtmO+XtNKYNnaLPtbKdnvGTDTn8OwtousQki7PQ 1O4SuIAGmEsPQ8bib3EB0P9Ryf3bcym42dHNieYNh1PrnV3PmhCF7Y3McXcKSHtogVMe JQ2JvL2aJg+QAoKUeJXWaXiJ8TJ77mOHnNlNPZ4TiDfN2Fj9OeDddefY5Frwo8+q+wNP l30M3RBa854DJGSIT1LjAsVcYif1WrC5yoWFalxEM41WT5ycGrKYq32XtdDlTbSmQKN0 93UA== X-Received: by 10.180.74.73 with SMTP id r9mr44077029wiv.84.1437581760418; Wed, 22 Jul 2015 09:16:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.27.231.9 with HTTP; Wed, 22 Jul 2015 09:15:20 -0700 (PDT) From: Rob Izzard Date: Wed, 22 Jul 2015 17:15:20 +0100 Message-ID: Subject: nxagent segfault, causes session loss To: submit@bugs.x2go.org Content-Type: text/plain; charset=UTF-8 Package: nxagent Version: 3.5.0.32-0~668~ubuntu14.04.1 Severity: important Dear nxagent coders, Over the last couple of weeks I have lost a few x2go sessions which is, you can imagine, annoying. I thought it was just a rare bug and I was unlucky, but today it happened again so I have collected what I can. It seems that when I try to connect to a running session there is *sometimes* a crash of nxagent. Not always, but when it happens x2go terminates the session. I do not know why x2go terminates the session - surely it should allow me to retry the connect? Anyway, everything in that session is lost, so this problem is fatal as well as annoying. The connection is to localhost, so there's no network failure (despite the suggestion of the error message). I hope this isn't a problem with the latest nx 3.5.0.32 ... :-/ please let me know how I can help any further. many thanks! Rob ----------- x2goclient: NXPROXY - Version 3.5.0 Copyright (C) 2001, 2010 NoMachine. See http://www.nomachine.com/ for more information. Info: Proxy running in client mode with pid '9703'. Session: Starting session at 'Wed Jul 22 16:46:43 2015'. Info: Using abstract X11 socket in kernel namespace for accessing DISPLAY=:0. Info: Connecting to remote host 'localhost:31001'. Info: Connection to remote proxy 'localhost:31001' established. Info: Connection with remote proxy completed. Warning: Unrecognized session type 'unix-kde-depth_24'. Assuming agent session. Info: Using LAN link parameters 1536/24/1/0. Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_24'. Info: Not using NX delta compression. Info: Not using ZLIB data compression. Info: Not using ZLIB stream compression. Info: Not using a persistent cache. Info: Forwarding X11 connections to display ':0'. Session: Session started at 'Wed Jul 22 16:46:43 2015'. Info: Established X server connection. Info: Using shared memory parameters 0/0K. Error: Failure reading from the peer proxy. Error: Connection with remote peer broken. Error: Please check the state of your network and retry. Session: Terminating session at 'Wed Jul 22 16:46:44 2015'. Session: Session terminated at 'Wed Jul 22 16:46:44 2015'. ----------- syslog (note the first 16:46:44 entry which contains the segfault) Jul 22 16:46:43 capc85 /usr/bin/x2goresume-session: client 127.0.0.1 has successfully resumed session with ID rgi-50-1437563485_stDKDE_dp24 Jul 22 16:46:44 capc85 kernel: [20606.521201] x2goagent[31916]: segfault at e0 ip 00000000004a658e sp 00007ffcbf2cf170 error 4 in nxagent[400000+555000] Jul 22 16:46:44 capc85 /usr/bin/x2gomountdirs[9804]: successfully mounted rgi@127.0.0.1:30003/home/rgi/.x2go/S-rgi-50-1437563485_stDKDE_dp24/spool to /tmp/.x2go-rgi/spool/C-rgi-50-1437563485_stDKDE_dp24 Jul 22 16:46:44 capc85 /usr/bin/x2gosetkeyboard: Setting X keyboard according to /home/rgi/.x2go/C-rgi-50-1437563485_stDKDE_dp24/keyboard Jul 22 16:46:44 capc85 /usr/bin/x2goumount-session[10024]: successfully unmounted "/tmp/.x2go-rgi/spool/C-rgi-50-1437563485_stDKDE_dp24" Jul 22 16:46:46 capc85 /usr/sbin/x2gocleansessions[1734]: rgi-50-1437563485_stDKDE_dp24, pid 31916 cleaning up stale X11 socket file: /tmp/.X11-unix/X50 Jul 22 16:46:46 capc85 /usr/sbin/x2gocleansessions[1734]: rgi-50-1437563485_stDKDE_dp24, pid 31916 cleaning up stale X11 lock file: /tmp/.X50-lock ------------- ~/.x2goclient/sessions: [20150414145525991] speed=4 pack=16m-jpeg quality=9 fstunnel=true export= iconvto=UTF-8 iconvfrom=ISO8859-1 useiconv=false fullscreen=false multidisp=false display=1 maxdim=false rdpclient=rdesktop directrdpsettings= width=800 height=600 dpi=96 setdpi=true xinerama=false usekbd=true layout=us type=auto sound=false soundsystem=pulse startsoundsystem=true soundtunnel=true defsndport=true sndport=4713 print=true name=local desktop icon=:icons/128x128/x2gosession.png host=localhost user=rgi key= rdpport=3389 sshport=22 autologin=true krblogin=false directrdp=false rootless=false published=false applications=WWWBROWSER, MAILCLIENT, OFFICE, TERMINAL command=KDE rdpoptions= rdpserver= xdmcpserver=localhost usesshproxy=false sshproxytype=SSH sshproxyuser= sshproxykeyfile= sshproxyhost= sshproxyport=22 sshproxysamepass=false sshproxysameuser=false sshproxyautologin=false clipboard=both krbdelegation=false sshproxykrblogin=false -------------- System information: Linux Kubuntu 14.04, 16 core Intel i7-5960X, kernel 4.1.3-040103-generic #201507220129, libc 2.19-0ubuntu6.6 packages installed (from "dpkg -l" and grepped) i x2goagent 2:3.5.0.32-0~668~ubuntu14.04.1 all X2Go agent ii x2goclient 4.0.4.0-0~1044~ubuntu14.04.1 amd64 X2Go Client application (Qt4) ii x2goserver 4.0.1.19-0~1064~ubuntu14.04.1 amd64 X2Go server daemon scripts ii x2goserver-extensions 4.0.1.19-0~1064~ubuntu14.04.1 all X2Go server daemon scripts (extensions) ii x2goserver-fmbindings 4.0.1.19-0~1064~ubuntu14.04.1 all Generic (freedesktop-based) file manager bindings for X2Go ii x2goserver-xsession 4.0.1.19-0~1064~ubuntu14.04.1 all X2Go server daemon scripts (Xsession runner) ii libnx-x11-6:amd64 2:3.5.0.32-0~668~ubuntu14.04.1 amd64 nx-X11 client-side library ii libnx-xcomposite1:amd64 2:3.5.0.32-0~668~ubuntu14.04.1 amd64 nx-X11 Composite extension library ii libnx-xdamage1:amd64 2:3.5.0.32-0~668~ubuntu14.04.1 amd64 nx-X11 damaged region extension library ii libnx-xdmcp6:amd64 2:3.5.0.32-0~668~ubuntu14.04.1 amd64 nx-X11 Display Manager Control Protocol library ii libnx-xext6:amd64 2:3.5.0.32-0~668~ubuntu14.04.1 amd64 nx-X11 miscellaneous extension library ii libnx-xfixes3:amd64 2:3.5.0.32-0~668~ubuntu14.04.1 amd64 nx-X11 miscellaneous 'fixes' extension library ii libnx-xinerama1:amd64 2:3.5.0.32-0~668~ubuntu14.04.1 amd64 nx-X11 Xinerama extension library ii libnx-xpm4:amd64 2:3.5.0.32-0~668~ubuntu14.04.1 amd64 nx-X11 pixmap library ii libnx-xrandr2:amd64 2:3.5.0.32-0~668~ubuntu14.04.1 amd64 nx-X11 RandR extension library ii libnx-xrender1:amd64 2:3.5.0.32-0~668~ubuntu14.04.1 amd64 nx-X11 Rendering Extension client library ii libnx-xtst6:amd64 2:3.5.0.32-0~668~ubuntu14.04.1 amd64 nx-X11 Testing -- Record extension library ii nx-x11-common 2:3.5.0.32-0~668~ubuntu14.04.1 all nx-X11 (common files) ii nxagent 2:3.5.0.32-0~668~ubuntu14.04.1 amd64 NX agent ii nxproxy 2:3.5.0.32-0~668~ubuntu14.04.1 amd64 NX proxy From mike.gabriel@das-netzwerkteam.de Mon Jun 13 23:42:48 2016 Received: (at 908) by bugs.x2go.org; 13 Jun 2016 21:42:51 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id CE65B5DDD1 for <908@bugs.x2go.org>; Mon, 13 Jun 2016 23:42:47 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ykjkRg0IOAh3 for <908@bugs.x2go.org>; Mon, 13 Jun 2016 23:42:38 +0200 (CEST) Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 939585DACE for <908@bugs.x2go.org>; Mon, 13 Jun 2016 23:42:38 +0200 (CEST) Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [IPv6:2a01:4f8:131:20c1:5254:ff:fe24:f0dd]) by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 26D4913B8; Mon, 13 Jun 2016 23:42:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id D8A063BFBF; Mon, 13 Jun 2016 23:42:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de Received: from grimnir.das-netzwerkteam.de ([127.0.0.1]) by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SfmV-KSDMzsF; Mon, 13 Jun 2016 23:42:30 +0200 (CEST) Received: from das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 8C0A53BFA8; Mon, 13 Jun 2016 23:42:30 +0200 (CEST) Received: from p5B3B8AAC.dip0.t-ipconnect.de (p5B3B8AAC.dip0.t-ipconnect.de [91.59.138.172]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Mon, 13 Jun 2016 21:42:30 +0000 Date: Mon, 13 Jun 2016 21:42:30 +0000 Message-ID: <20160613214230.Horde.aTq-sqbpU1zoN12KQqaQdIl@mail.das-netzwerkteam.de> From: Mike Gabriel To: Rob Izzard , 908@bugs.x2go.org Subject: Re: [X2Go-Dev] Bug#908: nxagent segfault, causes session loss In-Reply-To: User-Agent: Horde Application Framework 5 Accept-Language: de,en Organization: DAS-NETZWERKTEAM X-Originating-IP: 91.59.138.172 X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.8.0 Content-Type: multipart/signed; boundary="=_0joeoZ5gD_9QNDaMF93gdV6"; protocol="application/pgp-signature"; micalg=pgp-sha256 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_0joeoZ5gD_9QNDaMF93gdV6 Content-Type: text/plain; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Control: forwarded -1 https://github.com/ArcticaProject/nx-libs/issues/118 Hi Rob, On Mi 22 Jul 2015 18:15:20 CEST, Rob Izzard wrote: > Package: nxagent > Version: 3.5.0.32-0~668~ubuntu14.04.1 > Severity: important > > Dear nxagent coders, > > Over the last couple of weeks I have lost a few x2go sessions which > is, you can imagine, annoying. I thought it was just a rare bug and I > was unlucky, but today it happened again so I have collected what I > can. > > It seems that when I try to connect to a running session there is > *sometimes* a crash of nxagent. Not always, but when it happens x2go > terminates the session. I do not know why x2go terminates the session > - surely it should allow me to retry the connect? Anyway, everything > in that session is lost, so this problem is fatal as well as annoying. > > The connection is to localhost, so there's no network failure (despite > the suggestion of the error message). I hope this isn't a problem > with the latest nx 3.5.0.32 ... :-/ > > please let me know how I can help any further. > > many thanks! > Rob Sorry for the late reply. Just want to let you know that your problem=20=20 is=20probably tracked by #118 at [1]. Greets, Mike --=20 DAS-NETZWERKTEAM mike=20gabriel, herweg 7, 24357 fleckeby mobile: +49 (1520) 1976 148 landline: +49 (4354) 8390 139 GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=3Dm.gabriel= %40das-netzwerkteam.de --=_0joeoZ5gD_9QNDaMF93gdV6 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJXXyjGAAoJEJr0azAldxsxOm4P/RTk4dVhKkN26sMquBpknl9e 3YpN3aYvkVq+pKUqJKWP+Bbh58TSB1jUmi215W80+DNT4vlo19TIPwdYSjhR5ccO dbZsL2Wihj0wgTSh7/B3MIS8e6I0YKPMe+C4fAf3DatZrMTsi/JZZRRInU2fBrO/ qmAhfueTApJNIXFyeQnv5MDIokBFyyBIVYml+uXStc5W+6qxhke4AvSN0iercXID OC2IWcSkXH4xbNCXrPXCx4Kv5+saeYya9rUyzLwEvAEdNe07xGXB2WesuSupoMUx RnOZ+KDlJxSf7A7lYZ+jFqHK8v7GQrnYjX7oDFU8NT0+Aeu42TtB3BdISfoTtQfy W76TaNqpEprcyuIY9CCaQa8o5wWHz8CXhcuZ16YlshXB9DIOHox3aRyX0Jd8v0bT 0YtSL5ht97juifCFq+StofwoCwsKQqpTzK6ZfwjOPni567Day+82TmOODRQMmqZ3 4Fwo0GK2LqfEbQCjE6vR0znBRleURTK0LW2YD5joFGvhtwc7G3u7/DxbbyXi0dVw kb+TiIIrlOtY6QI/QbsgTcTBz53tBxbttDyIIUKyEfhCGXFPyFQCcWN/dZXz7E6E 5U+qaEKqW0zzP+Ub9VHZ8pHQkW9hFi1336pDQiUJeW7RakLbfCbOJMNTpcP0XquN XFFmrSBy6oN/eIcJmjBy =BJ8h -----END PGP SIGNATURE----- --=_0joeoZ5gD_9QNDaMF93gdV6--