<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Hi<div><br></div><div>I'm not sure of the appropriate place to file a PyQt bug report, so I hope its ok to send it to this mailing list.</div>
<div><br></div><div>The problem is that creating (and quitting) multiple QApplications in succession causes a segfault. This situation tends to occur in unit tests, particularly in testing subclasses of QApplication.</div>
<div><br></div><div>The following snippet illustrates the problem:</div><div><br></div><div><div>>>> from PyQt4 import QtGui</div><div>>>> app = QtGui.QApplication([])</div><div>>>> app.quit()</div>
<div>>>> app = QtGui.QApplication([])</div><div>>>> app.quit()</div><div>>>> app = QtGui.QApplication([])</div><div>Segmentation fault</div></div><div><br></div><div>Here is my python info:</div>
<div>Python 3.2 (r32:88445, Apr 15 2011, 11:09:05) </div><div><div>[GCC 4.5.2 20110127 (prerelease)] on linux2</div><div><br></div></div><div>I'm using PyQt 4.8.4 on Arch Linux. I have tried it on Windows XP, but the segfault does not occur there. I haven't tried other linux distributions.</div>
<div><br></div><div>David</div></span>