[PyQt] Segfault on exit when dynamically created WebEngineView is destroyed explicitly

Milorad Pop-Tosic pop at hiri.com
Tue Oct 27 16:52:57 GMT 2015


Hi all,

I'm experiencing an issue in PyQt 5.5.1 whereby the process segfaults on exit when a dynamically created WebEngineView is explicitly destroyed.

See the following gist which demonstrates the problem:
https://gist.github.com/poptosic/5ef2621aa06c1bee62ef

Run webenginetest.py and click "Load" to dynamically instantiate a WebEngineView followed by "Unload" to destroy it. When you exit the application you should see it segfault. Oddly, if you don't click "Unload", the process will shutdown cleanly.

Also, running WebEngineTest.qml with qmlscene always exits cleanly.

Environment:
- Windows 10
- Python 3.4.2 compiled with MSVC2013
- Qt 5.5.1 (MSVC2013)
- PyQt 5.5.1 and sip 4.17 (MSVC2013)

I also managed to reproduce this on Linux:
- Python 3.4.3
- Qt 5.5.0,
- PyQt 5.5.0 and sip 4.16.9

Thank you,
Milorad

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20151027/52404298/attachment.html>


More information about the PyQt mailing list