[PyKDE] gc bug?

Phil Thompson phil at riverbankcomputing.co.uk
Mon Jan 15 23:29:26 GMT 2007


On Monday 15 January 2007 8:23 pm, K.S.Sreeram wrote:
> [Python-2.5, VC-7.1, sip-20070110, PyQt4-20070104, Qt-4.2.2]
>
> Hi all,
>
> I've started porting an existing app from py2.4/qt4.1 to py2.5/qt4.2,
> and ran into some pretty random behavior. When using
> QSocketNotifier/QTimer callbacks, the callbacks occur on *impossible*
> functions! And after about 10 to 20 seconds, python.exe crashes. Please
> note that this application has been rock solid stable for many months,
> and has not been modified at all. The only change is the upgrade to
> py2.5/qt4.2
>
> I built debug versions of python and all the libs, and i've attached the
> resulting stack trace. It looks like some kind of GC bug.
>
> Unfortunately, after trying for one whole day, i've not been able to
> isolate the problem and create a simple reproducible script.
>
> Looking at recent changelog entries of pyqt/sip, there seem to be many
> gc/refcount related fixes. So there might still be some bugs left.
> Phil, any idea?

Not without a test case.

Phil




More information about the PyQt mailing list