[PyQt] Fedora 25 & 26 PyQt5 segfaults on exit

Barry Scott barry at barrys-emacs.org
Wed Jul 12 10:16:22 BST 2017

> On 8 Jul 2017, at 22:59, Damon Lynch <damonlynch at gmail.com> wrote:
> Hi,
> Is anyone else having their python3 / PyQt5 application crash on exit every time when run with Fedora 25 and 26's version of PyQt5? (All updates are installed; Fedora 24 is fine). Installing PyQt5 from PyPi resolves the problem. If others also note the problem I'm inclined to file a bug report.

I see this issue on Fedora and Mac OS X, probable Windows as well but its as good at reporting the problem.

From what I have found out the problem is that when you delete a python object it will clean up related objects in any old order.
But the C++ Qt Objects must be deleted in a specific order.

I have on my todo list to write the delete code for one of my larger Qt Windows to attempt to avoid this
for SCM Workbench. I see that it is only after certain UI elements are create that the crash happens on exit.


> Thanks
> Damon
> -- 
> http://www.damonlynch.net <http://www.damonlynch.net/>_______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170712/a178092b/attachment.html>

More information about the PyQt mailing list