[PyQt] 5.14 and macOS: Immediate renderer process crash with QtWebEngine

Phil Thompson phil at riverbankcomputing.com
Tue Dec 31 19:42:01 GMT 2019


On 31/12/2019 18:13, Florian Bruhin wrote:
> Hey,
> 
> I just tried to upgrade to PyQt 5.14 on macOS, but a simple QtWebEngine
> application like this:
> 
> # -----
> 
> import sys
> 
> from PyQt5.QtCore import QUrl
> from PyQt5.QtWidgets import QApplication
> from PyQt5.QtWebEngineWidgets import QWebEngineView
> 
> app = QApplication(sys.argv)
> 
> wv = QWebEngineView()
> wv.renderProcessTerminated.connect(print)
> 
> wv.load(QUrl('https://qt.io/'))
> wv.show()
> app.exec_()
> 
> # -----
> 
> results in an immediate renderer process crash, making QtWebEngine 
> unusable.
> 
> This is on macOS 10.13.6 High Sierra, with Python 3.7 from Homebrew and 
> the
> PyQt 5.14 wheels. I'm also seeing the same issue on Travis CI, with 
> both macOS
> Mojave and High Sierra.
> 
> On the same machine, running the simplebrowser example from Qt Creator 
> with
> Qt 5.14 works just fine.
> 
> Any idea what's going on there, or how I could get more debugging 
> information?
> I tried running with "--enable-logging --v=8 
> --enable-in-process-stack-traces"
> in the hope of getting Chromium to print more, but no luck...

There will be something from a Qt installation that is new in v5.14 that 
is missing from the wheel.

Phil


More information about the PyQt mailing list