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

QML segfault on macOS when Accesible.ignored is true on ApplicationWindow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.15.1
    • 5.14.1
    • None
    • MacBook Pro, macOS Catalina 10.15.3
    • macOS
    • 22d708697f62d2fbd69b57fd8bc3423af76d27ca (qt/qtdeclarative/5.15)

    Description

      When setting Accessible.ignored: true on the root ApplicationWindow, qml occasionally crashes on macOS with a segfault. Removing the line solves the problem.

      To reproduce:

      crash.qml:

      import QtQuick 2.9
      import QtQuick.Controls 2.2
      ApplicationWindow {
       visible: true
       Accessible.ignored: true
      }
      

      Start and exit app a few times (about 10 should be enough):

      $ qmlscene crash.qml
      $ qmlscene crash.qml
      $ qmlscene crash.qml
      $ qmlscene crash.qml
      $ qmlscene crash.qml
      $ qmlscene crash.qml
      $ qmlscene crash.qml
       ...
       zsh: segmentation fault qmlscene crash.qml

       

      See attached crash report.

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            dheym Dag Heyman
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes