[PyKDE] Double free() problem in PyQt 3.15.1??
Simon Edwards
simon at simonzone.com
Sun Mar 12 10:04:41 GMT 2006
On Saturday 11 March 2006 20:26, Phil Thompson wrote:
> On Saturday 11 March 2006 7:13 pm, Simon Edwards wrote:
> > Anyway, I think I've come across a double free memory bug in PyQt 3.15.1.
> > Qt complains about a "Double QObject deletion detected.", and valgrind
> > points to a problem in sipKDialogBase::~sipKDialogBase(). (Reading memory
> > which is already free'd, and invalid free(), delete etc). This problem
only
> > appears when my app opens a dialog.
OK, I've chopped my code right down See attachment. Running this on the
current Kubuntu Dapper shows this in the console:
sbe at dapper3:~$ python ./qdialogdoublefree.py
kbuildsycoca running...
Double QObject deletion detected.
*** glibc detected *** double free or corruption (!prev): 0x082cfa40 ***
KCrash: Application 'qdialogdoublefree.py' crashing...
sbe at dapper3:~$
Using show() instead of exec_loop() does in fact _not_ trigger the problem.
Here is some more version info:
Package: python2.4-qt3
Architecture: i386
Version: 3.15.1-0ubuntu3
Package: python2.4-kde3
Architecture: i386
Version: 3.11.4+snapshot20051013-0ubuntu5
Package: python2.4-sip4-qt3
Architecture: i386
Version: 4.3.2-0ubuntu2
Package: g++
Architecture: i386
Version: 4:4.0.2-3
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
simon at simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qdialogdoublefree.py
Type: application/x-python
Size: 1713 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060312/efb6154e/qdialogdoublefree.bin
More information about the PyQt
mailing list