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

[REG 6.7.3 -> 6.8.4] nullptr crash in QQuickPopup::overlayEvent (d->window = nullptr)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • None
    • 6.8.4
    • Quick: Controls 2
    • None
    • Windows 11 Pro 24H2 (Build 26100.4652)
      msvc 17.14.4
      cmake 3.29.2
      ninja 1.12.1
    • Windows

      I attached the example to reproduce the issue. It does not crash in Qt 6.7.3.

      To crash just double click the button.

      The bug occurred in a real world app that is not quite as dumb as this example - but this is what it took for me to reproduce it.

      If the connection is not Queued or there is no ToolTip involved or the sleep_for is not in there it will not crash.

      sleep_for is a standin for some application code that caused the required delay to fail. The Queued connection is there for threading reasons in the real app.

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

            wladimir.leuschner Wladimir Leuschner
            bitfactory Markus Schoder
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change