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

nullptr crash in QQuickPopup::overlayEvent (d->window = nullptr)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • 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

    Description

      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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            bitfactory Markus Schoder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes