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

[macOS] Crash when showing QMessageBox after last window has been closed

    XMLWordPrintable

Details

    • Bug
    • Status: Reported
    • P2: Important
    • Resolution: Unresolved
    • 5.12.5, 5.13.1, 5.14.0 Beta 1
    • None
    • QPA
    • None
    • macOS

    Description

      Probably got the wrong component, but could not find any Cocoa component...

      When closing a QMessageBox that was shown after having dismissed an ApplictionModal dialog (see attached example from other bug), there is a crash in QCocoaEventDispatcherPrivate::cleanupModalSessions() . This might be due to the fact that the dialog is the only top-level window in the application and closing it triggers the application to tear down already.

      Attachments

        1. qtbug78716.zip
          3 kB
        2. crash-report.txt
          62 kB

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              mibrunin Michael Bruning
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes