From mike.gabriel@das-netzwerkteam.de  Mon Jun 30 13:22:09 2014
Received: (at 410) by bugs.x2go.org; 30 Jun 2014 11:22:13 +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 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

This message is in MIME format and has been PGP signed.

--=_6I3jTtGiuzW-xiCGdVfRFg1
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3Dinstall -d -m 755
>  INSTALL_FILE=3Dinstall -m 644
>  INSTALL_PROGRAM=3Dinstall -m 755
> +INSTALL_SYMLINK=3Dln -s -f
>  COPY_SYMLINK=3Dcp -a
>  RM_FILE=3Drm -f
>  RM_DIR=3Drmdir -p --ignore-fail-on-non-empty
> @@ -114,6 +115,13 @@
>                                 "$$(string_rep "$$dirname"=20=20
>=20nx-X11/.build-exports/include "$(DESTDIR)$(PREFIX)/include/nx")"/ ||=20=
=20
>=20true; \
>             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 ->=20=20
>=20/usr/<libdir>/libX11.so.6
> +       # (DESTDIR)$(NXLIBDIR)/X11/Xinerama/libNX_Xext.so.6 ->=20=20
>=20/usr/<libdir>/libXext.so.6
> +       $(INSTALL_DIR) $(DESTDIR)$(NXLIBDIR)/X11/Xinerama
> +       $(INSTALL_SYMLINK) ../libNX_Xinerama.so.1=20=20
>=20$(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=20=20
that=20are 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 ->=20=20
/usr/<libdir>/libX11.so.6
+=20      # (DESTDIR)$(NXLIBDIR)/X11/Xinerama/libNX_Xext.so.6 ->=20=20
/usr/<libdir>/libXext.so.6
"""

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

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

And...

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

Greets+Thanks!

Mike
--=20

DAS-NETZWERKTEAM
mike=20gabriel, 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.x=
fb

--=_6I3jTtGiuzW-xiCGdVfRFg1
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJTsUhfAAoJEJr0azAldxsx7OgP/1KfSMO7eXf40qAM5Kf35s3v
Cu1JQwstIoUXd09lzJ5fvnn+PslQO0il73uL502bC723XNCBI+xqLcYjtC5GYlie
jrjEnqNC6lbn4fnWl4T/w+X4vFIZhzSSUq7jQ+EjtSTPfHlVIUbSZsx2MCPkcIel
KbcYR9ArH46TiONf9BCJ3YyKReVzlEdjFfthG85KVr9sdxiRPRrCqEP9awIeeiQ7
cX+tpj7VR682rIAyOTcshwHg0kcaaTmcIlMmclyBMIhRL5FG9+PYSSvi6DfAup2w
XzMIcI70pnmpAgaGp+/KUKqT1FTiHgiUCTLf3tCYYiztOIGcUWbQOsmQKURMVgU6
SqM3JyjPDPE6jrq2FYOxWP0xTRe9YUX2fgv05qNSidSYhySJ/1eaFRNXSj2WMSRe
LqJNtN8Zip726k9+OsrVvw6GxEjUOxbLXwaE1jhAa2zNFCPc+Tx6yvJGu15oPRzw
wmET+1YpGVmgdgYwoLuMt2t5frqReIHLl3roKPY3fDp05S8V5nKmaAXx3SwChlYO
/uwhvgQO+1h7qwdB0qWZmNq2LvzuPKiUaw6eFqrKHIMrbUCpxaxCVJ21EBvOv1ih
ZAvLCU/vXtjnh9m+BgOAGqhbWodmGA34Udc/zMduG6DxdjSkXi+7OsV2tjLCxG1x
ncOfOMLMsveuptzRKTpF
=YDVw
-----END PGP SIGNATURE-----

--=_6I3jTtGiuzW-xiCGdVfRFg1--

