[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] 5.14 and macOS: Immediate renderer process crash with QtWebEngine
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2019-12-31 19:42:01
Message-ID: 5152ce2f44490904173ac526f38569b8 () riverbankcomputing ! com
[Download RAW message or body]

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
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic