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

A11y crash on macOS when QWidgetPrivate::setVisible()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 6.5.3, 6.6.1
    • None
    • macOS Sonoma. Known to occur on 14.0, 14.1.2.
    • macOS

    Description

      Consuming QT through OBS.

       

      There is an intermittent crash that occurs on macOS when renaming sources, or some time after renaming sources and subsequently interacting with the UI in any way, in OBS. The crash occurs in AppKit and seems to have to do with Accessibility and string checking, but I can't discern too much more beyond that. It can occur in different specific circumstances, but seems to be connected to renaming sources or groups.

       

      I am attaching two traces that show the crash occurring in disparate circumstances: once when trying to hit enter on renaming a source, prompting a modal. The other several seconds after renaming a source, when trying to create a new window to add another source. The common factor in both traces is an initial call to libqcocoa's `ZN20QCocoaSystemTrayIcon13emitActivatedEv`, followed by a lengthy jaunt through NSWindow and NSAccessibility attribute accessors, then another call to `ZN20QCocoaSystemTrayIcon13emitActivatedEv` that prompts an exception in CoreFoundation.

      Attachments

        1. qtcrash.mov
          24.34 MB
        2. traces.zip
          72 kB

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              yam ya m
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes