PyQt6 6.12.1 / Qt WebEngine 6.140: access violation in Qt6WebEngineCore.dll when hovering a Plotly 3D surface (Windows)
Darren Powierski
darren.powierski at tmeic.com.au
Mon Nov 16 03:25:08 GMT 2026
Hi Phil,
Summary With PyQt6 6.12.1 (Qt 6.12.0, WebEngine 6.140), a QWebEngineView showing a Plotly 3D surface (WebGL) crashes the process when the mouse moves over the 3D area. The same pages run fine with PyQt6 6.8.1 (Qt 6.8.2) on the same machine and Python.
Environment
. Windows [version]
. Python 3.14.5 (64-bit)
. PyQt6 6.12.1, PyQt6-Qt6 6.12.0, PyQt6-WebEngine [version], PyQt6-sip 13.13.1
. GPU / driver: [fill in]
. Plotly Python 5.24.1 (plotly.js 2.35.2) and 7.1.0 (plotly.js 4.1.1)
Crash signature (Windows Application Error)
. Faulting module: Qt6WebEngineCore.dll 6.140.0
. Exception code: 0xc0000005 (access violation)
. Fault offset: 0x0000000000c672e0 (the same on every crash, about 10 crashes)
Steps to reproduce
1. Create a QWebEngineView and load a local HTML file written with fig.to_html(include_plotlyjs=True). The HTML is too large for setHtml, so it is loaded by file URL.
2. The figure is a make_subplots figure with a 2D Contour (left) and a 3D Surface (right). The data is a roughly 50×80 grid of floats.
3. Move the mouse over the 3D panel.
4. The process terminates with the access violation above.
[Attach the repro script and one generated HTML file.]
What I tried
. The 2D contour alone is fine. Hover over the 2D panel never crashes.
. plotly.js 2.35.2 and 4.1.1 both crash, so it is not specific to a plotly.js version.
. hoverinfo="skip" on the surface did not prevent the crash, so it is not caused by the hover template.
. Removing colorbars from the contour, the surface or both did not help.
. Software WebGL (--use-angle=swiftshader --enable-unsafe-swiftshader) still crashed.
. A single Surface figure alone is intermittent: one variant crashed, an identical-looking one survived. The contour + surface subplot crashed in all three variants I tried.
. Forcing PyQt6 6.8.1 / PyQt6-Qt6 6.8.2 / PyQt6-WebEngine 6.8.0 (sys.path), the same pages ran without a crash. I then put the 6.8.2 files into the application's bundled PyQt6 folder and the 3D hover works there too.
Not tested
. Qt versions between 6.8 and 6.12 (6.9, 6.10, 6.11), so I can't say where it regressed.
. A native C++ Qt WebEngine app (I expect it is not PyQt-specific, since the fault is inside Qt6WebEngineCore.dll).
Questions
1. Is this a known Qt WebEngine 6.12 regression? If so, is there a bug number or a fixed release?
2. Is there a flag or setting (WebGL, GPU, sandbox) that avoids it on 6.12?
Regards,
Darren
-----Original Message-----
From: Phil Thompson <phil at riverbankcomputing.com>
Sent: Sunday, 15 November 2026 5:09 AM
To: pyqt at riverbankcomputing.com
Subject: ANN: PyQt6 v6.12.1 Released
PyQt6 v6.12.1 and all related packages have now been uploaded to PyPI.
Phil
More information about the PyQt
mailing list