[PyQt] Possible bug: Instantiating QWebPage results in segfault

Ken Kinder kkinder at gmail.com
Sat Mar 2 06:44:51 GMT 2013


Howdy. I may have found a bug, but because simple script will cause a
segfault:

    #!/usr/bin/env python

    import sys
    from PyQt4 import Qt
    from PyQt4.QtWebKit import QWebPage

    a = Qt.QApplication(sys.argv)
    p = QWebPage()
    hello = Qt.QLabel("Hello, World")
    hello.show()
    a.exec_()

This is with PyQt 4.9.3-4, Qt 4.8.0, Python2.7 on an Ubuntu 12.10 box.

You can add deleteLater() to avoid the segfault, but it shouldn't
segfault just because you used the Python garbage collector.

Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130301/3979ea79/attachment.html>


More information about the PyQt mailing list