[PyQt] Crash (segfault) when using PyQt4 Qthread

chris3110 chris31103110 at yahoo.fr
Fri Nov 14 00:58:01 GMT 2008



Hi Phil, 

I've compiled the following snapshots 

PyQt-x11-gpl-4.4.4-snapshot-20081101 
sip-4.7.8-snapshot-20081102 

and I still have a segfault.  I'm still using python 2.5 though. 

Is there a way to trace the source of the pb somehow ? 

Thanks, 
Christian


Phil Thompson-5 wrote:
> 
> 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
> _______________________________________________
> 

-- 
View this message in context: http://www.nabble.com/Crash-%28segfault%29-when-using-PyQt4-Qthread-tp20255394p20492875.html
Sent from the PyQt mailing list archive at Nabble.com.



More information about the PyQt mailing list