Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.9.7, 5.12.1
-
None
-
Windows, Qt-5.9.7, debug -> crash
Windows, Qt-5.9.7, release -> crash
Linux, Qt-5.9.7, debug -> crash
Linux, Qt-5.12.1, debug -> crash
Linux, Qt-5.12.1, release -> ok
Qt-binaries downloaded and installed from http://download.qt.io/official_releases/qt/
-
-
1f77d4709946511b919810354f19875824399096 (qt/qtwebengine/5.12)
Description
The application crashes when dynamic_casting eventFilter()'s first parameter 'QObject obj' to a QWidget. qobject_casting works.
The crash happens while eventFilter() is called with an obj originating from Qt5WebEngineCored, see attached screenshot.
A minimal application which reproduces the crash is attached.
PS: There is the class MessagePumpForUIQt which inherits QObject, but has no Q_OBJECT-Macro.
Attachments
Issue Links
- relates to
-
PYSIDE-819 QWebEngineView crashes Python process if ancestor widget processes key events
- Closed
For Gerrit Dashboard: QTBUG-73833 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
253621,2 | Fix crash on dynamic_cast in global event filter | 5.12 | qt/qtwebengine | Status: MERGED | +2 | 0 |