[PyQt] segfault when using Qt.QueuedConnection

Erik Janssens Erik.Janssens at conceptive.be
Thu Aug 25 20:18:06 BST 2011


I've tried to create a test case for the previously reported
issue.

It appears the bug does not appear when the queued slot call
is made after the sender has been deleted, but only if the
call is made while the sender is deleted.

To run the case, use :

python -m nose.core \\
test_qt_bindings.py:SignalSlotCase.test_queued_connection_after_delete

The case is very sensitive to timings, so it might be needed
to run a couple of time.

One way or another the app gets corrupted after some time
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_qt_bindings.py
Type: text/x-python
Size: 9831 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110825/338181b0/attachment-0001.py>


More information about the PyQt mailing list