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

Recursive loop with QCocoaAccessible::unignoredChildren causes crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical 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)

      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.

       

        1. BadAccessibleScroll.zip
          5 kB
          Dyami Caliri
        2. crash-17912.dmp.txt
          165 kB
          Dyami Caliri
        3. crash_5.15.4.txt
          117 kB
          lukasz.kosiorowski
        4. BadAccessibleScroll2.zip
          5 kB
          Dyami Caliri
        For Gerrit Dashboard: QTBUG-93768
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved: