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

Mac OS: QAccessibleWidget::state() crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.1
    • Labels:
      None
    • Environment:
      OS X 10.7.5, 10.8.4
    • Platform/s:
      macOS

      Description

      Our product is in beta testing with Qt 5.1, built from the stable branch within the last couple of weeks.
      We have received several crashes in OS X that are related to accessibility. I don't think we got any similar crashes when we were building against 5.0.

      I am attaching three crash reports. Two appear to be with QAccessibleWidget::state() and another in QAccessibleWidget::childCount() which may or may not be related.

      So far we haven't been able to duplicate it ourselves, so I don't have steps to reproduce.

      Here is the stack for one of the crashes:

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0   libQt5Widgets.dylib           	0x0000000102598545 QAccessibleWidget::state() const + 37
      1   libqcocoa.dylib               	0x00000001046ad7ec QCocoaAccessible::unignoredChildren(objc_object*, QAccessibleInterface*) + 124
      2   libqcocoa.dylib               	0x00000001046ab24a -[QCocoaAccessibleElement accessibilityAttributeValue:] + 426
      3   com.apple.AppKit              	0x00007fff8444a0ba ValueOfAttributeWithDefault + 48
      4   com.apple.AppKit              	0x00007fff8444a06e NSAccessibilityChildrenOrEmptyArray + 19
      5   com.apple.AppKit              	0x00007fff8444a5c6 NSAccessibilityUnignoredChildren + 232
      6   libqcocoa.dylib               	0x00000001046ab24a -[QCocoaAccessibleElement accessibilityAttributeValue:] + 426
      7   com.apple.AppKit              	0x00007fff8444a0ba ValueOfAttributeWithDefault + 48
      8   com.apple.AppKit              	0x00007fff8444a06e NSAccessibilityChildrenOrEmptyArray + 19
      9   com.apple.AppKit              	0x00007fff8444a5c6 NSAccessibilityUnignoredChildren + 232
      10  libqcocoa.dylib               	0x00000001046ab24a -[QCocoaAccessibleElement accessibilityAttributeValue:] + 426
      11  com.apple.AppKit              	0x00007fff8444a0ba ValueOfAttributeWithDefault + 48
      12  com.apple.AppKit              	0x00007fff8444a06e NSAccessibilityChildrenOrEmptyArray + 19
      13  com.apple.AppKit              	0x00007fff8444a5c6 NSAccessibilityUnignoredChildren + 232
      14  libqcocoa.dylib               	0x00000001046ab24a -[QCocoaAccessibleElement accessibilityAttributeValue:] + 426
      15  com.apple.AppKit              	0x00007fff8444a0ba ValueOfAttributeWithDefault + 48
      16  com.apple.AppKit              	0x00007fff8444a06e NSAccessibilityChildrenOrEmptyArray + 19
      17  com.apple.AppKit              	0x00007fff8444a5c6 NSAccessibilityUnignoredChildren + 232
      18  libqcocoa.dylib               	0x00000001046ab24a -[QCocoaAccessibleElement accessibilityAttributeValue:] + 426
      19  com.apple.AppKit              	0x00007fff8444a0ba ValueOfAttributeWithDefault + 48
      20  com.apple.AppKit              	0x00007fff8444a06e NSAccessibilityChildrenOrEmptyArray + 19
      21  com.apple.AppKit              	0x00007fff8444a5c6 NSAccessibilityUnignoredChildren + 232
      22  libqcocoa.dylib               	0x00000001046ab24a -[QCocoaAccessibleElement accessibilityAttributeValue:] + 426
      23  com.apple.AppKit              	0x00007fff8444a0ba ValueOfAttributeWithDefault + 48
      24  com.apple.AppKit              	0x00007fff8444a06e NSAccessibilityChildrenOrEmptyArray + 19
      25  com.apple.AppKit              	0x00007fff8444a5c6 NSAccessibilityUnignoredChildren + 232
      26  libqcocoa.dylib               	0x00000001046ab24a -[QCocoaAccessibleElement accessibilityAttributeValue:] + 426
      27  com.apple.AppKit              	0x00007fff8444a0ba ValueOfAttributeWithDefault + 48
      28  com.apple.AppKit              	0x00007fff8444a06e NSAccessibilityChildrenOrEmptyArray + 19
      29  com.apple.AppKit              	0x00007fff8444a5c6 NSAccessibilityUnignoredChildren + 232
      30  libqcocoa.dylib               	0x00000001046977eb -[QNSView(QNSViewAccessibility) accessibilityAttributeValue:] + 251
      31  com.apple.AppKit              	0x00007fff8444a0ba ValueOfAttributeWithDefault + 48
      32  com.apple.AppKit              	0x00007fff8444a06e NSAccessibilityChildrenOrEmptyArray + 19
      33  com.apple.AppKit              	0x00007fff8444a5c6 NSAccessibilityUnignoredChildren + 232
      34  com.apple.CoreFoundation      	0x00007fff8dd55fb1 -[NSObject performSelector:] + 49
      35  com.apple.AppKit              	0x00007fff8444a275 NSAccessibilityAttributeValue + 107
      36  com.apple.AppKit              	0x00007fff8444a0ba ValueOfAttributeWithDefault + 48
      37  com.apple.AppKit              	0x00007fff8444a06e NSAccessibilityChildrenOrEmptyArray + 19
      38  com.apple.AppKit              	0x00007fff8444a5c6 NSAccessibilityUnignoredChildren + 232
      39  com.apple.CoreFoundation      	0x00007fff8dd55fb1 -[NSObject performSelector:] + 49
      40  com.apple.AppKit              	0x00007fff8444a275 NSAccessibilityAttributeValue + 107
      41  com.apple.AppKit              	0x00007fff8444a0ba ValueOfAttributeWithDefault + 48
      42  com.apple.AppKit              	0x00007fff8444a06e NSAccessibilityChildrenOrEmptyArray + 19
      43  com.apple.AppKit              	0x00007fff8444bbc7 -[NSObject(NSObjectAccessibilityAttributeAccessAdditions) accessibilityIndexOfChild:] + 17
      44  com.apple.AppKit              	0x00007fff8444bbb4 -[NSObject(NSAccessibilityUIElementSpecifier) _accessibilitySpecifierComponentForChildUIElement:registerIfNeeded:] + 18
      45  com.apple.AppKit              	0x00007fff8444b7c2 -[NSObject(NSAccessibilityUIElementSpecifier) _accessibilityUIElementSpecifierForChild:registerIfNeeded:] + 148
      46  com.apple.AppKit              	0x00007fff8444ae6d -[NSObject(NSAccessibilityUIElementSpecifier) _accessibilityUIElementSpecifierRegisterIfNeeded:] + 143
      47  com.apple.AppKit              	0x00007fff8444addc -[NSObject(NSAccessibilityUIElementSpecifier) _accessibilityUIElementSpecifier] + 23
      48  com.apple.AppKit              	0x00007fff8461084e NSAccessibilityCreateAXUIElementRef + 919
      49  com.apple.AppKit              	0x00007fff84610d83 ConvertOutgoingValue + 1294
      50  com.apple.AppKit              	0x00007fff84610f75 ConvertOutgoingValueForAttribute + 445
      51  com.apple.AppKit              	0x00007fff84610fc8 CopyAppKitUIElementAttributeValueNoCatch + 72
      52  com.apple.AppKit              	0x00007fff8460e9b9 CopyAttributeValue + 316
      53  com.apple.HIServices          	0x00007fff84124307 _AXXMIGCopyAttributeValue + 225
      54  com.apple.HIServices          	0x00007fff8412d60e _XCopyAttributeValue + 619
      55  com.apple.HIServices          	0x00007fff84108f1a mshMIGPerform + 564
      56  com.apple.CoreFoundation      	0x00007fff8dcbdabc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 44
      57  com.apple.CoreFoundation      	0x00007fff8dcbd7eb __CFRunLoopDoSource1 + 155
      58  com.apple.CoreFoundation      	0x00007fff8dcf3f27 __CFRunLoopRun + 1895
      59  com.apple.CoreFoundation      	0x00007fff8dcf3486 CFRunLoopRunSpecific + 230
      60  com.apple.HIToolbox           	0x00007fff878a62bf RunCurrentEventLoopInMode + 277
      61  com.apple.HIToolbox           	0x00007fff878ad56d ReceiveNextEventCommon + 355
      62  com.apple.HIToolbox           	0x00007fff878ad3fa BlockUntilNextEventMatchingListInMode + 62
      63  com.apple.AppKit              	0x00007fff84376779 _DPSNextEvent + 659
      64  com.apple.AppKit              	0x00007fff8437607d -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
      65  com.apple.AppKit              	0x00007fff843729b9 -[NSApplication run] + 470
      66  libqcocoa.dylib               	0x0000000104699cd8 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2360
      67  libQt5Core.dylib              	0x00000001031a5e1d QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 397
      68  libQt5Core.dylib              	0x00000001031a8f92 QCoreApplication::exec() + 354
      69  com.dzed.DragonframeQt        	0x00000001000675ac main + 156
      70  com.dzed.DragonframeQt        	0x000000010000c214 start + 52
      
      

        Attachments

        1. crash-8279.dmp.txt
          61 kB
        2. crash-8289.dmp.txt
          65 kB
        3. crash-8325.dmp.txt
          64 kB

          Issue Links

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

            Activity

              People

              Assignee:
              smd Jan Arve
              Reporter:
              dzedsystems Dyami Caliri
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes