X2Go Bug report logs - #410
Segfault of _X11TransWritev in libNX_X11.so.6 with libQtGui

version graph

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

Reported by: Sven Willenberger <swillenberger@upsicorp.com>

Date: Fri, 24 Jan 2014 02:50:02 UTC

Severity: normal

Merged with 113, 467

Found in version 3.5.0.22

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


Message #31 received at 410@bugs.x2go.org (full text, mbox, reply):

Received: (at 410) by bugs.x2go.org; 30 Jun 2014 11:22:13 +0000
From mike.gabriel@das-netzwerkteam.de  Mon Jun 30 13:22:09 2014
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 autolearn=ham
	version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 123AA5DB53
	for <410@bugs.x2go.org>; Mon, 30 Jun 2014 13:22:07 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 9635212D87;
	Mon, 30 Jun 2014 13:22:07 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 884683C748;
	Mon, 30 Jun 2014 13:22:07 +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 CwWVNBdyucNV; Mon, 30 Jun 2014 13:22:07 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 4C4913B95E;
	Mon, 30 Jun 2014 13:22:07 +0200 (CEST)
Received: from m-047.informatik.uni-kiel.de (m-047.informatik.uni-kiel.de
 [134.245.254.47]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Mon, 30 Jun 2014 11:22:07 +0000
Date: Mon, 30 Jun 2014 11:22:07 +0000
Message-ID: <20140630112207.Horde.UFf4CV_SdcYpiTa_l-mbgg7@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Sven Willenberger <swillenberger@upsicorp.com>
Cc: 410@bugs.x2go.org
Subject: Re: Bug#410: Segfault of _X11TransWritev in libNX_X11.so.6 with
 libQtGui
References: <20140123213919.0cba2367@dogpound> <20140611213358.Horde.
 bMCYnc5b9oRAwyo99c5Txw1@mail.das-netzwerkteam.de> <20140612154842.29af0ea1@
 dogpound>
 <20140612220605.Horde.C9kE3LBXZ1cmFL5CtR1WBw9@mail.das-netzwerkteam.de>
 <20140626163924.4e60b559@dogpound>
In-Reply-To: <20140626163924.4e60b559@dogpound>
User-Agent: Internet Messaging Program (IMP) H5 (6.1.7)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 134.245.254.47
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101
 Firefox/30.0 Iceweasel/30.0
Content-Type: multipart/signed; boundary="=_6I3jTtGiuzW-xiCGdVfRFg1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Hi Sven,

On  Do 26 Jun 2014 22:39:24 CEST, Sven Willenberger wrote:

> So this goes into tracker:
>
> I have isolated the problem to the following change in the nx-libs
> Makefile between 3.5.0.21 and 3.5.0.22, which persists through HEAD:
>
> --- nx-libs-3.5.0.21/Makefile   2014-06-14 12:45:27.000000000 -0400
> +++ nx-libs-HEAD/Makefile       2014-06-12 16:31:48.000000000 -0400
> @@ -3,6 +3,7 @@
>  INSTALL_DIR=install -d -m 755
>  INSTALL_FILE=install -m 644
>  INSTALL_PROGRAM=install -m 755
> +INSTALL_SYMLINK=ln -s -f
>  COPY_SYMLINK=cp -a
>  RM_FILE=rm -f
>  RM_DIR=rmdir -p --ignore-fail-on-non-empty
> @@ -114,6 +115,13 @@
>                                 "$$(string_rep "$$dirname"  
> nx-X11/.build-exports/include "$(DESTDIR)$(PREFIX)/include/nx")"/ ||  
> true; \
>             done; \
>
> +       # Provide means for Xinerama support in NX/X2Go sessions. This
> +       # This also requires two post-install symlinks:
> +       # (DESTDIR)$(NXLIBDIR)/X11/Xinerama/libNX_X11.so.6 ->  
> /usr/<libdir>/libX11.so.6
> +       # (DESTDIR)$(NXLIBDIR)/X11/Xinerama/libNX_Xext.so.6 ->  
> /usr/<libdir>/libXext.so.6
> +       $(INSTALL_DIR) $(DESTDIR)$(NXLIBDIR)/X11/Xinerama
> +       $(INSTALL_SYMLINK) ../libNX_Xinerama.so.1  
> $(DESTDIR)$(NXLIBDIR)/X11/Xinerama/libXinerama.so.1
> +
>         $(INSTALL_DIR) $(DESTDIR)$(PREFIX)/include/nx/X11/bitmaps
>         $(INSTALL_FILE) nx-X11/.build-exports/include/X11/bitmaps/* \
>                         $(DESTDIR)$(PREFIX)/include/nx/X11/bitmaps/
>
>
> Commenting out the Xinerama lines and rebuilding results in a clean run
> of my (and your) python scripts as well as VLC player.
>
> I have attached a diff (excepting whitespace differences (diff -ub) of
> my system's Xinerama.c (xorg's libXinerama 1.1.3) and the one provided
> in x2go's source (based on XFree86).

I really cannot reproduce the above issue on Debian.

But I have a suspicion...

Can you please check on Archlinux if you have the two other symlinks  
that are required for Xinerama to work?

""" (quoted from above...)
+       # Provide means for Xinerama support in NX/X2Go sessions. This
+       # This also requires two post-install symlinks:
+       # (DESTDIR)$(NXLIBDIR)/X11/Xinerama/libNX_X11.so.6 ->  
/usr/<libdir>/libX11.so.6
+       # (DESTDIR)$(NXLIBDIR)/X11/Xinerama/libNX_Xext.so.6 ->  
/usr/<libdir>/libXext.so.6
"""

If those are missing, please file a bug against the x2goserver package  
in Archlinux. The correct links have to be provided by the package  
maintainer (not by us upstream people).

If those links are missing: can you please create them and give  
feedback if the problem still occurs for you?

And...

Is my assumption correct that this bug only occurs if Xinerama has  
been enabled in the X2Go session's session profile (see profile  
manager window in X2Go Client).

Greets+Thanks!

Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Aug 7 01:18:43 2020; 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.