[PyQt] CRASH: QVariant(QObject()).toPyObject()

Lorenz Quack don at amberfisharts.com
Wed Apr 21 20:09:10 BST 2010


Hi List,

this small example crashes (Segmentation fault) my interpreter:

 >>> from PyQt4.QtCore import *
 >>> # The following line will crash the interpreter with a Segmentation fault
 >>> QVariant(QObject()).toPyObject()

This is with PyQt-4.7.3 and Qt-4.6.2 on a 64-bit Gentoo GNU/Linux system.
If you need more information I would be happy to provide it. Just ask.

sincerely yours
//Lorenz



More information about the PyQt mailing list