<p dir="ltr">From Kovid Goyal <<a href="mailto:kovid@kovidgoyal.net">kovid@kovidgoyal.net</a>>:<br>
> And note that your script will segfault on exit, even with nss 3.20<br>
> because of object lifetime issues, I posted the workaround for that<br>
> sometime earlier in this list.<br>
<br>
Anyone remember by any chance the subject of that email, I'd like to have a look as I have been seeing crashes on exit for a pyqt app I'm writing.<br>
Oliver<br></p>
<p dir="ltr">> On Sun, Feb 07, 2016 at 11:22:14AM +0100, Detlev Offenbach wrote:<br>
> > Hi,<br>
> > <br>
> > I amtrying to port the web browser of eric6 from QtWebKit to QtWebEngine. <br>
> > However, I am struggling with a crash occurring for some web sites. <br>
> > Attached please find a short script that exposes the issue over here on <br>
> > openSUSE Leap 42.1. I am using Python 3.4.1, Qt 5.5.1 (from installer) and <br>
> > PyQt 5.5.1 (compiled by myself). The script generates a SegmentationFault.<br>
> > <br>
> > Regards<br>
> > Detlev-- <br>
> > *Detlev Offenbach*<br>
> > <a href="mailto:detlev@die-offenbachs.de">detlev@die-offenbachs.de</a><br>
><br>
> > #!/usr/bin/env python3<br>
> > # -*- coding: utf-8 -*-<br>
> > <br>
> > import sys<br>
> > <br>
> > from PyQt5.QtCore import QUrl<br>
> > from PyQt5.QtWidgets import QApplication<br>
> > <br>
> > # this needs to be imported before a QApplication object is created<br>
> > from PyQt5 import QtWebEngineWidgets<br>
> > <br>
> > # This is here to mimic my use case (i.e. being in another module)<br>
> > from PyQt5.QtWebEngineWidgets import QWebEngineView<br>
> > <br>
> > if __name__ == "__main__":<br>
> > urlStr = "<a href="http://sourceforge.net/projects/eric-ide/files/eric6/stable">http://sourceforge.net/projects/eric-ide/files/eric6/stable</a>"<br>
> > <br>
> > app = QApplication(sys.argv)<br>
> > v = QWebEngineView()<br>
> > v.show()<br>
> > v.setUrl(QUrl(urlStr))<br>
> > sys.exit(app.exec_())<br>
> > <br>
><br>
> > _______________________________________________<br>
> > PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
> > <a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
><br>
><br>
> -- <br>
> _____________________________________<br>
><br>
> Dr. Kovid Goyal <br>
> <a href="http://www.kovidgoyal.net">http://www.kovidgoyal.net</a><br>
> <a href="http://calibre-ebook.com">http://calibre-ebook.com</a><br>
> _____________________________________<br>
> _______________________________________________<br>
> PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
> <a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></p>