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

Recursive loop with QCocoaAccessible::unignoredChildren causes crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.2.9, 6.5.2, 6.6.0
    • 5.15.3, 5.15.4, 6.5
    • None
    • macOS 11.0.1, macOS 10.14.6
    • macOS
    • e51ff5c49 (dev), 7782eeeef (6.5), a8f423d7f (tqtc/lts-6.2)

    Description

      A user reported a crash in our software. The crash log showed an infinite loop with QCocoaAccessible::unignoredChildren.

      I've reviewed QTBUG-34337 and it does not seem to be the same thing. This is a hard crash caused by the recursion.

      I've attached the customer's crash file.

      I've also attached a simple project that will duplicate the crash.

      1. Build and run the program.
      2. Run the 'Accessibility Inspector' tool that comes with Xcode.
      3. Use that tool to inspect the sample program.
      4. It crashes.

       

      Attachments

        1. BadAccessibleScroll.zip
          5 kB
        2. BadAccessibleScroll2.zip
          5 kB
        3. crash_5.15.4.txt
          117 kB
        4. crash-17912.dmp.txt
          165 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            dzedsystems Dyami Caliri
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews