Re: [PyQt] sip segfault in disconnectNotify

2010-09-17 Thread Erik Janssens
This seems to be a QT issue indeed. I have compiled everything with QT 4.7 rc1 and the segfault is gone. It looks as if there are a lot of modifications in the QT model view framework, where most are related to taking care of the model being deleted, disconnecting signals when a view changes i

Re: [PyQt] sip segfault in disconnectNotify

2010-09-10 Thread Phil Thompson
On Fri, 10 Sep 2010 18:55:17 +0200, Erik Janssens wrote: > Hello Phil, > > I've made a unittest for the segfault, it is ran by > executing the command : > > python -m nose.core test_qt_bindings.py > > It seems to be a matter of keeping too much references, > rather than keeping not enough refer

Re: [PyQt] sip segfault in disconnectNotify

2010-09-10 Thread Erik Janssens
Hello Phil, I've made a unittest for the segfault, it is ran by executing the command : python -m nose.core test_qt_bindings.py It seems to be a matter of keeping too much references, rather than keeping not enough references. I know the code in itself is pointless and simply removing a line in

Re: [PyQt] sip segfault in disconnectNotify

2010-09-09 Thread Phil Thompson
On Thu, 09 Sep 2010 16:35:15 +0200, Erik Janssens wrote: > Hi, > > I understand that it's possible to segfault writing > python code (although in my naive view this should > not be the case ;)). I'm rather convinced the code > is not doing anything 'illegal', but it would be helpful > to have so

Re: [PyQt] sip segfault in disconnectNotify

2010-09-09 Thread Erik Janssens
Hi, I understand that it's possible to segfault writing python code (although in my naive view this should not be the case ;)). I'm rather convinced the code is not doing anything 'illegal', but it would be helpful to have some descriptions on what exactly one can do wrong using pyqt with regard

Re: [PyQt] sip segfault in disconnectNotify

2010-09-09 Thread Phil Thompson
On Thu, 09 Sep 2010 09:40:43 +0200, Erik Janssens wrote: > Hello Phil, > > I'm experiencing a segmentation fault in sip. > > I have build the latest released versions of sip and > pyqt on ubuntu, to be able to have a decent stack trace. > > The issue only arises when objects are garbage collect

[PyQt] sip segfault in disconnectNotify

2010-09-09 Thread Erik Janssens
Hello Phil, I'm experiencing a segmentation fault in sip. I have build the latest released versions of sip and pyqt on ubuntu, to be able to have a decent stack trace. The issue only arises when objects are garbage collected, so I'm unsure on how to build a simple test case for it ? When I turn