[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] Segmentation fault while creating two QApplications
From: Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date: 2004-04-20 18:22:59
Message-ID: 200404201922.59985.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]
On Tuesday 20 April 2004 2:41 pm, Bruno da Silva de Oliveira wrote:
> Hi everyone,
>
> I'm getting a segmentation fault on a RedHat 9 system while trying to
> create QApplications in sequence.
>
> Python 2.3.2 (#1, Nov 15 2003, 19:07:05)
> [GCC 3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> from qt import *
> >>> q = QApplication([])
> >>> q.quit()
> >>> del q
> >>> q = QApplication([])
>
> X Error: BadAtom (invalid Atom parameter) 5
> Major opcode: 20
> Minor opcode: 0
> Resource id: 0xea
> X Error: BadAtom (invalid Atom parameter) 5
> Major opcode: 20
> Minor opcode: 0
> Resource id: 0x102
> Segmentation fault
>
> This same code works on perfectly Windows. In case anybody is wondering why
I would like to do something like that, we use this to create unittests for
our GUIs. Here are the my Qt and PyQT versions:
> >>> qVersion()
>
> '3.2.3'
>
> >>> PYQT_VERSION_STR
>
> 'snapshot-20040104'
>
> Is this a known bug? Anybody knows a workaround that allows me to create
> QApplications in sequence?
Works fine for me - Qt 3.3.1 and current PyQt, SIP 3/4 snapshots.
Phil
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic