[PyQt] Crash (segfault) when using PyQt4 Qthread

Phil Thompson phil at riverbankcomputing.com
Sat Nov 1 15:50:36 GMT 2008


On Thu, 30 Oct 2008 15:25:08 -0700 (PDT), chris3110
<chris31103110 at yahoo.fr> wrote:
> Hi there,
> 
> I'm getting a systematic crash when trying to log the output of a Qthread
> to
> a parent window. I'm using Qt 4 on Fedora Core 9 with Python 2.5.1:
> 
>>rpm -q PyQt4 python
> PyQt4-4.4.2-2.fc9.i386
> python-2.5.1-26.fc9.i386
> 
> The following sample code crashes after a few iterations when clicking in
> and out of the log window, moving it around, etc... sufficiently.  If you
> don't touch the window at all it doesn't crash though.
> 
> Can someone explain what's going on here ?  Is there something wrong with
> my
> threading architecture ?  I guess the code should not give a segfault
> anyway.

Works fine for me with current snapshots and Python 2.6.

Phil


More information about the PyQt mailing list