David Cuthbert said the following on 10/02/05 19:06: > Russell Valentine wrote: > >> More info I upgraded to Python 2.4.1 still same issue. I am using "gcc >> version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)". I'll keep >> trying different stuff, or perhaps actually see how PyQt works >> internally to see if I could get a hint out of that. > > > Have you tried valgrind-ing it to see if the leak is something easily > detected? >
Good tip, I've never used valgrind before, ran it for about a minute: ==15136== 32768 bytes in 1 blocks are possibly lost in loss record 474 of 483 ==15136== at 0x1B902D7A: calloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==15136== by 0x1C93F1C6: (within /usr/qt/3/lib/libqt-mt.so.3.3.4) ==15136== by 0x1CC65C24: mngzlib_alloc (in /usr/lib/libmng.so.1.0.0) ==15136== ==15136== ==15136== 603742 (144990 direct, 458752 indirect) bytes in 60 blocks are definitely lost in loss record 482 of 483 ==15136== at 0x1B902D7A: calloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==15136== by 0x1C93F1C6: (within /usr/qt/3/lib/libqt-mt.so.3.3.4) ==15136== by 0x1CC5CABD: mng_init_rowproc (in /usr/lib/libmng.so.1.0.0) ==15136== by 0x1CC2C20F: (within /usr/lib/libmng.so.1.0.0) So it has something to do with libmng, the c++ version doesn't lose anything to while and valgrind shows there is no loss to libmng.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde