Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73833

Crash dynamic_casting QObject* originating from Qt5WebEngineCore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.12.3, 5.13.0, 5.14.0 Alpha
    • 5.9.7, 5.12.1
    • WebEngine
    • None
    • Linux/X11, Windows
    • 1f77d4709946511b919810354f19875824399096 (qt/qtwebengine/5.12)

      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.

        For Gerrit Dashboard: QTBUG-73833
        # Subject Branch Project Status CR V

            qt_webengine_team Qt WebEngine Team
            qv Adi T
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes