From mike.gabriel@das-netzwerkteam.de  Wed Jun 11 23:33:59 2014
Received: (at 410) by bugs.x2go.org; 11 Jun 2014 21:34:01 +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,URIBL_BLOCKED,
	WEIRD_PORT 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 3AAC15DB0D
	for <410@bugs.x2go.org>; Wed, 11 Jun 2014 23:33:59 +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 DE82219BB;
	Wed, 11 Jun 2014 23:33:58 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id B7EBB3BAB4;
	Wed, 11 Jun 2014 23:33:58 +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 Jgl5av5kIhVC; Wed, 11 Jun 2014 23:33:58 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 7A8703BA25;
	Wed, 11 Jun 2014 23:33:58 +0200 (CEST)
Received: from p4FCFD3FD.dip0.t-ipconnect.de (p4FCFD3FD.dip0.t-ipconnect.de
 [79.207.211.253]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Wed, 11 Jun 2014 21:33:58 +0000
Date: Wed, 11 Jun 2014 21:33:58 +0000
Message-ID: <20140611213358.Horde.bMCYnc5b9oRAwyo99c5Txw1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Sven Willenberger <swillenberger@upsicorp.com>, 410@bugs.x2go.org
Subject: Re: Bug#410: Segfault of _X11TransWritev in libNX_X11.so.6 with
 libQtGui
References: <20140123213919.0cba2367@dogpound>
In-Reply-To: <20140123213919.0cba2367@dogpound>
User-Agent: Internet Messaging Program (IMP) H5 (6.1.7)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 79.207.211.253
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101
 Firefox/29.0 Iceweasel/29.0.1
Content-Type: multipart/signed; boundary="=_TWjpLMXBKK_mW3GxtiVX9w8";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0

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

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

HI Sven,

On  Fr 24 Jan 2014 03:39:19 CET, Sven Willenberger wrote:

> Package: nx-libs (nx-x11)
> Version: 3.5.0.22
>
> Server (host)OS: Linux 3.12.8 (ArchLinux) x86_64
> Client OS: Windows 8 (version 4.0.1.2 QT 4.8.5)
>
> When using python apps with QT (either PyQT or PySide), any interaction
> with the resulting window (when connected from windows to linux) causes
> the program to crash. Partial stack trace:
>
> #0  0x00007fffed78acb0 in _X11TransWritev () from=20=20
>=20/usr/lib/nx/X11/libNX_X11.so.6
> #1  0x00007fffed76eb8e in _XSend () from /usr/lib/nx/X11/libNX_X11.so.6
> #2  0x00007fffed763e69 in XQueryExtension () from=20=20
>=20/usr/lib/nx/X11/libNX_X11.so.6
> #3  0x00007fffed759af2 in XInitExtension () from=20=20
>=20/usr/lib/nx/X11/libNX_X11.so.6
> #4  0x00007fffeda3d7bb in XextAddDisplay () from=20=20
>=20/usr/lib/nx/X11/libNX_Xext.so.6
> #5  0x00007fffedc4cee1 in XPanoramiXQueryExtension () from=20=20
>=20/usr/lib/nx/X11/Xinerama/libXinerama.so.1
> #6  0x00007ffff0e01e3e in ?? () from=20=20
>=20/usr/lib/python3.3/site-packages/PySide-1.2.1-py3.3.egg/PySide/libQtGui=
.so.4
> #7  0x00007ffff0e01f42 in QDesktopWidget::QDesktopWidget() () from=20=20
>=20/usr/lib/python3.3/site-packages/PySide-1.2.1-py3.3.egg/PySide/libQtGui=
.so.4
>
> This just happened with the Jan 4 update to nx-libs (et al).
>
> For comparison, using a basic ssh connection with X-forwarding and
> starting an xterm session and running the same python programs succeeds.

sorry for responding soooo late...

Today, I have been in NX code for the whole day and I wonder, if I can=20=
=20
do=20something for you to get the above issue fixed.

I tested the above with this python snippet:

"""
#!/usr/bin/python

# simple.py

import sys
from PyQt4 import QtGui

app =3D QtGui.QApplication(sys.argv)

widget =3D QtGui.QWidget()
widget.resize(250, 150)
widget.setWindowTitle('simple')
widget.show()

sys.exit(app.exec_())
"""

and I don't bump into any problems as described above.

Can you please:

   1. get latest x2goagent/nxagent/libnx-x11 from our nightly builds[1]
   2. re-test the above
   3. if you get the same error, send me the python code that triggers
      the bug

Greets,
Mike

PS: please wait for the current build of nx-libs to finish [2]

[1] http://wiki.x2go.org/doku.php/wiki:development:nightly-builds
[2] https://jenkins.x2go.org:8443/view/NX/

--=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

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

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

iQIcBAABAgAGBQJTmMtGAAoJEJr0azAldxsxcmAP/1aiIWS6WYmuNKxiMZBjSMJX
YEU0jjS6gMruxkE84JpFSIA5eJ0uISDuPw4Ioh6M8eydWqaVjVEEAcqsh0hzjpf2
vpwWjYAzQ7eMeELLEAQxrCtGhuLMBDymig8QPrb74d28gW2WpBKjxE2gZ9sprbZZ
ZlI+BZaSaxK/8bZhRg+Q7vTaoDw4yPCx143IKz59RED2mzRz7nsFsta/P8moLK22
W4K5b3ER0XdaObxDJewB9hLTJbP5ZdPyaSAVRoTD3dK4L14EQM8xOgKC2TAsxnzU
Ob+lYS155pUyxq60W94QUbb86GCUexB+bwX4huOnDjGyyjio7d2HL6q2v628GaLS
2WBSWWEldu2T323dRhGwJfeGoddFZjrWZdfwUDPjqwCIqplXHlv2BTUr/HVCOr7l
1YLOk5JUk8UeUEfOxVx0ZSAu8D/xgz5bx3GPq6Cek60bC6UYqHJ8tLmDJRPN9NP3
2nktZXaTaNxdl8LjgMnKAgLICDr/D+HgMW2wq9a1kblzVSK3UFN258CNqw3ddGsZ
l/lQveB1nrJJKnORXUGtWT204RqDrXOr8NiSiE5iykhyjzPCTFQqQ05kQuoN/KSg
lfNZRRQh3gY7nVBK5WSpbaUEeksy19MkTR+O0yH8tqVTfK5eK+BAsltnSrEqcNI4
0oSrFyjlChRGZDFgcp2w
=CKLC
-----END PGP SIGNATURE-----

--=_TWjpLMXBKK_mW3GxtiVX9w8--

