Re: Qt 5.13: Segfault on exit with Windows + QtWebEngine

Florian Bruhin <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
On Wed, Jul 17, 2019 at 11:54:10AM +0100, Phil Thompson wrote:
> On 13/07/2019 16:43, Florian Bruhin wrote:
> > With a quite minimal QtWebEngine example like this:
> > 
> >     from PyQt5.QtWebEngineWidgets import QWebEngineProfile
> >     from PyQt5.QtWidgets import QApplication
> >     from PyQt5.QtCore import QTimer
> > 
> >     qapp = QApplication([])
> >     p = QWebEngineProfile()
> >     QTimer.singleShot(500, qapp.quit)
> >     qapp.exec_()
> > 
> > I get a segfault on exit with Python 3.7.4 and PyQt5/PyQtWebEngine
> > 5.13.0
> > on Windows 10.
> > 
> > When I downgrade to PyQt5 5.12.3 and PyQtWebEngine 5.12.1 things work
> > fine.
> > 
> > Unfortunately I haven't been able to get a reliable stacktrace. Here are
> > some
> > examples of the stacks I got:
> > https://paste.the-compiler.org/view/5774da86
> > I don't think they really make sense though.
> 
> I can't reproduce this - although I am using Python v3.7.0.

I can reproduce it with Python 3.7.0 as well (both 32 and 64-bit).

Note that I don't get a "Python.exe has stopped" window, but "echo $?" shows
False in Powershell.

Similarly, running it from Python:

  subprocess.run([sys.executable, 'segv.py'], check=True)

Gives me:

  subprocess.CalledProcessError: Command '['...\\python.exe', 'segv.py']' returned non-zero exit status 3221225477.

Where 3221225477 is 0xC0000005, i.e. an access violation.

Florian

-- 
https://www.qutebrowser.org | [email protected] (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
         I love long mails! | https://email.is-not-s.ms/

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE4E5WAAJAG47w528KkW6wyP1VoHIFAl0vCw0ACgkQkW6wyP1V
oHJITg//bJFqdLshiSzML2vdQCJFVoRyTrW9bkQ6B/0vZSDr2R/E88zbZoXzTUWN
+nCPSYCU3obbJrmr6C2+nbCZG+uvNdozGfWler59rmjWk+egTuj/lHPYJSMXXbcP
2CuHCg0W5mHuWJZmDHPacM5JrBPEsWFyydVlPVgI3SWmx5eg4lJRkXlBFhQVPnI3
p3wxbVSlbGjHZA0jy7l3zYRZOlnemSz7/I1BYs2qCAZZqm4SGgzBYuGIa7De89jC
u8s5lYe7aFn8L+m4mPPKU60EuwMxKjeQoqEMz/7UbOFjGOfCrBJjIp4ksiGX33Uq
l9+ofNp6ls4f/0oWPW7a76FBwuBB4UIsifSeb3awubs8EHyRz0mBpBrN8KzybT9X
mY7sscRd1EoI6IZttotrf9IIlLUVJi9wAMc9aGrzRjZsMOdFrYF36X6ADynpkrHU
t0Gn25Fn64+UHwWBO9cQWoT1HaIBhSf2j+fgodJpmkSZXYtt8G2/VcpM/FIAeeJR
COYnhZFiHm9lHgVvAzBc8fwgrtyxH9W4SFO2KNTvutgTs3GhoiTNVzIDawyIj2IZ
PcFLNvMCwQawe+6mNOTr1Z0gd8ga2av1QrqyobWnMvX5a2Fq38U0DLMUelLXh+Yq
f1EAUVdz1baomf4HhTRpMEbDhCKVGTyFIUPpYYS/KkBvdORpIkM=
=Cmj6
-----END PGP SIGNATURE-----
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.