Python 3.13 refcounting related memory corruption

Florian Bruhin me at the-compiler.org
Tue May 28 17:04:57 BST 2024


> Unfortunately I've not been able to extract a minimal example by any
> means. The best I could get is getting it down to running 11 test files
> in qutebrowser, with almost 2000 test cases. If I remove any of those
> files, the bug doesn't trigger anymore.

I've been able to reduce this to a minimal example now, which is
attached and (at least for me) crashes reliably with Python 3.13.

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: py313_crash.py
Type: text/x-python
Size: 667 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240528/4df8110b/attachment.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240528/4df8110b/attachment.sig>


More information about the PyQt mailing list