[PyKDE] memleak with QMovie

Russell Valentine russ at coldstonelabs.org
Tue Sep 20 06:33:33 BST 2005

Hans-Peter Jansen said the following on 09/19/05 08:35:
> Am Montag, 19. September 2005 00:28 schrieb Russell Valentine:
>>Phil Thompson said the following on 09/18/05 17:13:
>>>On Sunday 18 September 2005 10:11 pm, Russell Valentine wrote:
>>>>So if it isn't doing it on your system, I wonder what is different
>>>>with mine that causes this. It does it on two of my systems Debian
>>>>and Gentoo. Alright then, if it was just me sorry to bother you, I
>>>>thought I was onto something. If I ever figure out the reason for
>>>>this I'll post it in case anyone was curious.
>>>No, I'm saying that I don't think your test is working for me. Is
>>>the movie supposed to be played - as it does with the Qt movie
>>No it isn't supposed to do anything (just a blank QMainWindow pops up
>>no QMovie in it or anything), it loads a QMovie object and doesn't do
>>anything with it. It seems the very fact of doing
>>"variable=QMovie(path_to_mng)" then causes there to be a memory leak
>>for me. I was attempting to make it as simple as possible so the
>>memleak.py doesn't do anything expect make a blank QMainWindow and
>>set a variable to a QMovie object.
> Something strange is going on on your side. 
> Cannot reproduce it here under SuSE 9.3 with Python 2.4, Qt 3.3.4, sip 
> 4.1.1 and PyQt 3.13.
> Let us know the versions of your distribution, Python, Qt, sip and PyQt 
> and who made them for a start..
> Pete

Latest Gentoo
Python 2.3.5-r2
Qt 3.3.4-r3
sip snapshot 20050917
PyQt snapshot-20050917

Debian testing
Python 2.3.5-3
Qt 3.3.4-3
sip snapshot 20050917
PyQt snapshot-20050917

Actually the debian doesn't have the leak in QMovie, there is a leak
somewhere else because my application still is losing memory somewhere.
I narrowed one leak using Gentoo to QMovie and it does it reliably
thought I found it, but the Debian box doesn't leak with the QMovie
example the leak is somewhere else.

Ok, so if you don't have the leak either, I'll just assume something is
really weird with me. I also need to narrow the debian leak.

So there must be something I do terribly wrong when I install sip and
PyQt or PyKDE because both machines cause leaks one way or another. I've
been having troubles for months, this whole time I was just waiting on a
newer version but it seems it is me that has the problem.

Thanks for your time.

Russell Valentine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20050920/1f8fd561/signature.bin

More information about the PyQt mailing list