[PyKDE] Re: SIP/PyQT 64-bit

Emanuele Santos emanuelesantos at gmail.com
Tue Apr 4 09:20:44 BST 2006


On Apr 4, 2006, at 2:09 AM, Phil Thompson wrote:

> On Tuesday 04 April 2006 1:10 am, you wrote:
>> Hi Phil and others,
>>
>> I was trying to port an application using sip/PyQt to an AMD64  
>> running
>> Windows x64. I use 'cl' 64-bit version of msvc2005, sip and PyQt  
>> checked
>> out 03/29. While running the PyQt examples, it crashed as calling
>> functions that returns QObject's like QSize, QPoint,... The bug  
>> appears
>> to be inside the sipWrapper_dealloc():
>> if (td->td_dealloc != NULL)
>>    td->td_dealloc(self);
>> td->td_dealloc(self) causes the crashes. It works if I comment out  
>> that
>> line but some memory leakings might occur. Do you have any  
>> suggestions?
>>
>> It seems to me it only occurs to QObject that doesn't have its
>> destructor explicitely defined in the sip file.
>>
>> Thank you very much
>
> What versions of SIP and PyQt?

Both versions 4.

>
> Sorry, but I don't have any suggestions. We don't test with 64 bit  
> Windows
> (although we do with 64 bit Linux). You could post to the mailing  
> list to see
> if anybody else has seem the same thing.
>
> Phil

Emanuele.




More information about the PyQt mailing list