Crashed on Mac OS X with QSortFilterProxyModel
-
A GUI program with Model-View-Delegate pattern. It work fine on Mac OSX 10.10.5, but crashed on 10.10.1 when clicked on view's item. Qt framework version: 5.5.1. It's a bug of framework?
In the program:
view is customized base on QListView
model is customized base on QAbstractListModel
proxy-model is customized base on QSortFilterProxyModel
delegate is customized base on QItemDelegateCrashed information:
Process: xxxxxxx [12886]
Path: /Applications/xxxxxxx.app/Contents/MacOS/xxxxxxx
Identifier: com.xxx.xxxxxxx
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: xxxxxxx [12886]
User ID: 503Date/Time: 2016-01-05 10:11:39.401 +0800
OS Version: Mac OS X 10.10.1 (14B25)
Report Version: 11
Anonymous UUID: 7B23E50A-FE8D-0C93-BD5B-E512DE477697Sleep/Wake UUID: 11C2A3C1-5029-464D-8127-793CDE3DDB8F
Time Awake Since Boot: 38000 seconds
Time Since Wake: 4000 secondsCrashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLTThread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 org.qt-project.QtCore 0x0000000108ea9a54 QSortFilterProxyModelPrivate::proxy_to_source(QModelIndex const&) const + 244
1 org.qt-project.QtCore 0x0000000108eb38a2 QSortFilterProxyModel::mapToSource(QModelIndex const&) const + 18
2 org.qt-project.QtCore 0x0000000108eb256a QSortFilterProxyModel::flags(QModelIndex const&) const + 90
3 org.qt-project.QtCore 0x0000000108e97300 QItemSelection::contains(QModelIndex const&) const + 48
4 org.qt-project.QtCore 0x0000000108e9dd30 QItemSelectionModel::isSelected(QModelIndex const&) const + 656
5 org.qt-project.QtWidgets 0x00000001082c151e QAccessibleTableCell::state() const + 222
6 libqcocoa.dylib 0x000000010e07de57 QCocoaAccessible::shouldBeIgnored(QAccessibleInterface*) + 23
7 libqcocoa.dylib 0x000000010e07d0f6 -[QMacAccessibilityElement accessibilityIsIgnored] + 54
8 com.apple.AppKit 0x00007fff997d9e1c NSAccessibilityEntryPointIsAccessibilityElement + 226
9 com.apple.AppKit 0x00007fff994a9020 NSAccessibilityUnignoredAncestor + 14
10 com.apple.AppKit 0x00007fff99a21368 -[NSWindow(NSWindowAccessibility) accessibilityHitTest:] + 508
11 com.apple.AppKit 0x00007fff99628274 -[NSApplication(NSApplicationAccessibility) accessibilityHitTest:] + 287
12 com.apple.AppKit 0x00007fff9960ad02 CopyElementAtPosition + 304
13 com.apple.HIServices 0x00007fff94f3fdc7 _AXXMIGCopyElementAtPosition + 300
14 com.apple.HIServices 0x00007fff94f49a1e _XCopyElementAtPosition + 409
15 com.apple.HIServices 0x00007fff94f261bb mshMIGPerform + 199
16 com.apple.CoreFoundation 0x00007fff974628d9 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 41
17 com.apple.CoreFoundation 0x00007fff9746284b __CFRunLoopDoSource1 + 475
18 com.apple.CoreFoundation 0x00007fff974543c7 __CFRunLoopRun + 2375
19 com.apple.CoreFoundation 0x00007fff97453838 CFRunLoopRunSpecific + 296
20 com.apple.HIToolbox 0x00007fff8f8b943f RunCurrentEventLoopInMode + 235
21 com.apple.HIToolbox 0x00007fff8f8b91ba ReceiveNextEventCommon + 431
22 com.apple.HIToolbox 0x00007fff8f8b8ffb _BlockUntilNextEventMatchingListInModeWithFilter + 71
23 com.apple.AppKit 0x00007fff992e26d1 _DPSNextEvent + 964
24 com.apple.AppKit 0x00007fff992e1e80 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
25 com.apple.AppKit 0x00007fff992d5e23 -[NSApplication run] + 594
26 libqcocoa.dylib 0x000000010e06808d QCocoaEventDispatcher::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 2189
27 org.qt-project.QtCore 0x0000000108ed807d QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 381
28 org.qt-project.QtCore 0x0000000108edaf5a QCoreApplication::exec() + 346
29 com.oppo.teamtalk 0x0000000107d93f4a main + 506
30 com.oppo.teamtalk 0x0000000107c178c4 start + 52 -
Hi,
Do you also have OS X accessibility active on 10.10.5 ?