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

Crash in maybeQuitOnLastWindowClosed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.12.4, 5.13.1
    • Fix Version/s: None
    • Component/s: GUI: Window management
    • Labels:
      None
    • Environment:
      Fedora 30
    • Platform/s:
      Linux/X11

      Description

      When closing a secondary window created with Qt::Tool type, as a child of the QMainWindow, the application crashes with SIGSEGV.
      It seems that the internal (private) data structure of the QWindow object is destroyed, but is later accessed again.

      It might have been introduced inĀ 2bafd997ee515d3b6a6a8fb030e1265a4713713e "Don't quit when last QWindow is destroyed, wait for it to close".

      Qt 5.11.0 is not yet affected.

      Details:

        Attachments

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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              torokati44 Attila
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes