You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed random crashes (segfaults) on Linux related to conflicts between Qt and Python reference counting mechanisms:
This issue was only happening on Linux, and only with Python 3.12, probably due to changes in Python garbage collector behavior introduced in Python 3.12. Moreover, it was only triggered with an extensive test suite, such as the one provided by the PlotPy project.
The solution was to derive all private classes containing Qt objects from QObject instead of object, in order to let Qt manage the reference counting of its objects.