QtWebEngine crashing with certain app attributes

BPL <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CAAfY3fZZZDhf-9NZbS_g3eMR0RbPWa7t3KodZf4CG7dTjq45kA@mail.gmail.com>
Consider this little snippet:

    from PyQt5.Qt import *
    from PyQt5.QtWebEngineWidgets import QWebEngineView

    if __name__ == '__main__':
        MAKE_IT_CRASH = True

        if MAKE_IT_CRASH:
            QCoreApplication.setAttribute(Qt.AA_ShareOpenGLContexts)
            QCoreApplication.setAttribute(Qt.AA_UseOpenGLES)

        app = QApplication([])
        browser = QWebEngineView()
        browser.load(QUrl("http://www.google.com"))
        browser.show()
        app.exec_()

If you set MAKE_IT_CRASH to true you should get a deterministic crash when
app exits

I've tested with an existing or empty cache (ie:
removing C:\Users\<username>\AppData\Local\python)

Tested on:

PyQt5==5.13.0
PyQt5-sip==4.19.18
PyQtWebEngine==5.13.0
win7
python3.6.2 x86


Could anyone please confirm this bug will also happen on different systems?

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.