X2Go Bug report logs - #757
Segfault of QDialog in a PyQt application

version graph

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

Reported by: PAILLAT Olivier SOPRA GROUP <olivier.paillat@cea.fr>

Date: Thu, 22 Jan 2015 10:10:01 UTC

Severity: wishlist

Tags: pending

Merged with 758, 760

Found in version 3.5.0.31

Fixed in version 2:3.5.0.33

Done: X2Go Release Manager X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


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

Received: (at 757) by bugs.x2go.org; 22 Jan 2015 15:58:47 +0000
From olivier.paillat@cea.fr  Thu Jan 22 16:58:40 2015
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
	autolearn=ham version=3.3.2
X-Greylist: delayed 4286 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Thu, 22 Jan 2015 16:58:40 CET
Received: from sainfoin-out.extra.cea.fr (sainfoin-out.extra.cea.fr [132.167.192.145])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 949B65DA51
	for <757@bugs.x2go.org>; Thu, 22 Jan 2015 16:58:40 +0100 (CET)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21])
	by sainfoin.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id t0MElDEp006642;
	Thu, 22 Jan 2015 15:47:13 +0100
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1])
	by localhost (Postfix) with SMTP id 667C52035A2;
	Thu, 22 Jan 2015 15:47:36 +0100 (CET)
Received: from muguet2.intra.cea.fr (muguet2.intra.cea.fr [132.166.192.7])
	by pisaure.intra.cea.fr (Postfix) with ESMTP id 523BC203652;
	Thu, 22 Jan 2015 15:47:36 +0100 (CET)
Received: from excah-b0.intra.cea.fr (excah-b0.intra.cea.fr [132.166.88.85])
	by muguet2.intra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.2) with ESMTP id t0MElDOQ030647;
	Thu, 22 Jan 2015 15:47:13 +0100
Received: from EXDAG0-B3.intra.cea.fr ([fe80::d0da:1b48:7560:ee73]) by
 excah-b0.intra.cea.fr ([fe80::7542:b9de:5cc1:f613%10]) with mapi id
 14.03.0174.001; Thu, 22 Jan 2015 15:47:13 +0100
From: PAILLAT Olivier SOPRA GROUP <olivier.paillat@cea.fr>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>,
        "757@bugs.x2go.org"
	<757@bugs.x2go.org>
Subject: RE: [X2Go-Dev] Bug#757: Segfault of QDialog in a PyQt application
Thread-Topic: [X2Go-Dev] Bug#757: Segfault of QDialog in a PyQt application
Thread-Index: AdA2HvNEgyINwlHVSFSL3YGxSkmNXQADCwPgAAO1foAABb16AA==
Date: Thu, 22 Jan 2015 14:47:12 +0000
Message-ID: <6E73732311A2AA4E9DA9E714347C6C471B205C6B@EXDAG0-B3.intra.cea.fr>
References: <6E73732311A2AA4E9DA9E714347C6C471B205B25@EXDAG0-B3.intra.cea.fr>
 <6E73732311A2AA4E9DA9E714347C6C471B205B63@EXDAG0-B3.intra.cea.fr>
 <20150122125255.Horde.uTa71XvyxTcSFVedcS2sCw8@mail.das-netzwerkteam.de>
In-Reply-To: <20150122125255.Horde.uTa71XvyxTcSFVedcS2sCw8@mail.das-netzwerkteam.de>
Accept-Language: en-US
Content-Language: fr-FR
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [132.166.88.106]
x-tm-as-product-ver: SMEX-10.2.0.1135-7.500.1017-20752.007
x-tm-as-result: No--47.205900-0.000000-31
x-tm-as-user-approved-sender: Yes
x-tm-as-user-blocked-sender: No
Content-Type: multipart/mixed;
	boundary="_002_6E73732311A2AA4E9DA9E714347C6C471B205C6BEXDAG0B3intrace_"
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Hello,

Thank you for your answer.
I have made a simple python application (see the tar.gz attached) that reproduce the problem
You will need PyQt4 to run it

The command is simple 
python gui.py

if it work it open a QDialog nearly empty
If you reproduce the bug you will end with a segmentation fault with a very brief QDialog opening

Actually we have some doubts about our environment and we won't be surprised if you don't reproduce the bug with your PyQt4
But we want to close some of the paths of explanation of our bug and since it occurs only with X2Go we submit it to you

Regards




Olivier PAILLAT
Agence STIE Sud-Est

Sopra Steria
780 rue Guillibert de la Lauzière
Pichaury 2 - CS 40496
13593 Aix-en-Provence Cedex 3
France
Phone: +33 (0)4 42 25 71 46
olivier.paillat@cea.fr - www.soprasteria.com

Le contenu de cet e-mail est susceptible d'être confidentiel, soumis au secret professionnel ou protégé par la loi. L'utilisation, la copie et la divulgation non autorisées d'une partie ou de l'intégralité de ce message sont susceptibles d'être illégales. Si vous avez reçu ce message par erreur, supprimez-le après avoir averti l'expéditeur. Les pièces jointes du présent e-mail ont fait l'objet d'un contrôle antivirus. Néanmoins, nous déclinons toute responsabilité concernant les dommages causés par d'éventuels virus.
Pensez à l'environnement avant d'imprimer.


-----Message d'origine-----
De : Mike Gabriel [mailto:mike.gabriel@das-netzwerkteam.de] 
Envoyé : jeudi 22 janvier 2015 13:53
À : PAILLAT Olivier SOPRA GROUP; 757@bugs.x2go.org
Objet : Re: [X2Go-Dev] Bug#757: Segfault of QDialog in a PyQt application

Control: reassign -1 x2goclient
Control: reassign #758 x2goclient
Control: reassign #760 x2goclient
Control: merge -1 #758
Control: merge -1 #760
Control: tag -1 build-win32
Control: tag -1 moreinfo

Hi Olivier,

On  Do 22 Jan 2015 11:07:26 CET, PAILLAT Olivier SOPRA GROUP wrote:

> Package: client
> Version: 4.0.3.0
> Qt 4.8.6
>
> When we run our PyQt application on our Debian Wheezy computer with an 
> ssh -X connection it work fine But when we use X2Go to access the 
> computer and we run our application we've got a segmentation fault at 
> the first QDialog opening. (when we run QDialog.exec_).
> We recently update the X2Go version and before that update it was 
> working fine.
> We found at least one post that describe the same problem in January
> 2014 on your bug report site :
> X2Go Bug report logs - #410
> Segfault of _X11TransWritev in libNX_X11.so.6 with libQtGui
>
> Like suggested in this report  if we run a simple application to test 
> an opening of a dialog box it work fine with X2Go
>
> From your experience of this bugs is there any way to solve this problem ?

Please send us a little Python snippet that lets your PyQt application crash.

I am currently working on the NX code tree, so your timing for submitting this bug is quite good, right now.

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
[BUG_757_QDialog.tar.gz (application/x-gzip, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Apr 19 10:10:32 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.