[PyQt] Deadlock in 5.9.1

Phil Thompson phil at riverbankcomputing.com
Tue Oct 31 16:16:15 GMT 2017


On 26 Oct 2017, at 5:15 pm, Milorad Pop-Tosic <pop at hiri.com> wrote:
> 
> Hi, 
> 
> We're still experiencing this deadlock in PyQt 5.9. It manifests itself as the application being frozen. We haven't been able to produce a test case which faithfully reproduces the problem since it looks like a timing issue. We got the stack traces below when we attached to the frozen process with GDB on Linux.
> 
> The stack trace indicates that the main thread got stuck in QObject.connect in PyQtMonitor::monitor which was apparently added in 5.9. At the same time, the worker thread is in a QObject destructor. Any ideas?

Can you try tonight's snapshot or the attached patch?

Phil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: deadlock.patch
Type: application/octet-stream
Size: 640 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20171031/b0bf0286/attachment.obj>


More information about the PyQt mailing list