<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi everyone,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I'm getting a segmentation fault on a RedHat 9 system while
trying to create QApplications in sequence. </FONT><FONT size=2></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Python 2.3.2 (#1, Nov 15 2003, 19:07:05) <BR>[GCC 3.3] on
linux2<BR>Type "help", "copyright", "credits" or "license" for more
information.</FONT></DIV>
<DIV><FONT size=2>>>> from qt import *<BR>>>> q =
QApplication([])<BR>>>> q.quit()<BR>>>> del q<BR>>>>
q = QApplication([])<BR>X Error: BadAtom (invalid Atom parameter) 5<BR>
Major opcode: 20<BR> Minor opcode: 0<BR> Resource
id: 0xea<BR>X Error: BadAtom (invalid Atom parameter) 5<BR> Major
opcode: 20<BR> Minor opcode: 0<BR> Resource id:
0x102<BR>Segmentation fault</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>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:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>>>> qVersion()<BR>'3.2.3'<BR>>>>
PYQT_VERSION_STR<BR>'snapshot-20040104'</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Is this a known bug? Anybody knows a workaround that allows me
to create QApplications in sequence?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks in advance,</FONT></DIV>
<DIV><FONT size=2>--<BR>Bruno da Silva de Oliveira<BR>ESSS - <A
href="http://www.esss.com.br">http://www.esss.com.br</A><BR><A
href="mailto:bruno@esss.com.br">bruno@esss.com.br</A></FONT></DIV></BODY></HTML>