Lee, On 08/13/2010 12:53 AM, Lee Harr wrote: > >> I'm desperate. I'm having a real application, which fails rather often >> when finishing it. I'm not sure, whether any serious problem could be >> hidden behind it >> >> The script is a pyqt script, which segfaults most of the time on my >> ubuntu 10.4 linux 64 bit and I'm having trouble to understand why. > > > Looks to be a known issue: > http://www.google.com/search?q=pyqt+segfault+on+exit > https://launchpad.net/bugs/561303 > > The last activity on that bug is almost 2 months ago... > Hopefully the fix will be distributed soon.
This seems to be the problem. In my case I can workaround the issue by adding one line. if __name__ == "__main__": app = QApplication([]) myform = MyForm() myform.show() retcode = app.exec_() myform = None # <<<< THIS IS THE WORK AROUND print "last" Thaks a lot -- http://mail.python.org/mailman/listinfo/python-list