Description
Hi,
after upgrading to PySide 6.5.3 I am running in a SIGSEGV when changing the current item in a QComboBox and disconnecting/reconnecting the currentIndexChanged signal. I did not have any issue with PySide 6.5.2.
After a lot of trial and error I could pin this down to the fact, that my QComboBox and signal connections were part of an inner class that is derived from QObject. I managed to create a small reproduction case using only a simple signal with an argument that I am attaching.
The issue does not show all the time but if it does, it is mostly already on the first execution.
The backtrace always looks like this:
#0 0x00007fffd7399e24 in QObject::setProperty(char const*, QVariant const&) () from .../venv/lib/python3.11/site-packages/PySide6/Qt/lib/libQt6Core.so.6 #1 0x00007fffd80fc339 in ?? () from .../venv/lib/python3.11/site-packages/PySide6/libpyside6.abi3.so.6.5 #2 0x00007fffd739b9df in ?? () from .../venv/lib/python3.11/site-packages/PySide6/Qt/lib/libQt6Core.so.6 #3 0x00007fffd80fb2af in PySide::SignalManager::SignalManagerPrivate::qtMethodMetacall(QObject*, int, void**) () from .../venv/lib/python3.11/site-packages/PySide6/libpyside6.abi3.so.6.5 ...
I am running debian testing with Python 3.11 with venv. The PySide version was installed using pip.
Thanks for looking into this and best wishes,
Martin.
Attachments
Issue Links
- relates to
-
PYSIDE-2487 Reg->6.5.3: Cannot Disconnect Signal That is Inherited to slot that has no Slot() decorator
- Closed