Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.6.1
-
None
Description
This issue is somehow similar to QTBUG-39008. The 3 top calls (leading to the crash, see further), are the same.
The difference, is that the problem occurs in 5.6.1 and not in 5.6.0
And I see that the 4th call from the top, is:
QAbstractItemView::setSelectionModel
which was changed from 5.6.0 to 5.6.1 (but also from 5.6.1 to 5.6.2)
I don't think the problem is directly in QAbstractItemView::setSelectionModel but the change awakes another bug, I guess QTBUG-39008
This is a problem that some users are reporting (I get the stack trace). I have no time to create a test application.
But I write this report, thinking it can be useful to solve QTBUG-39008
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 QtGui 0x00000001029b19f3 QAccessibleEvent::uniqueId() const + 163
1 libqcocoa.dylib 0x0000000105c76613 QCocoaAccessibility::notifyAccessibilityUpdate(QAccessibleEvent*) + 83
2 QtWidgets 0x00000001033fea1a QTableView::selectionChanged(QItemSelection const&, QItemSelection const&) + 858
3 QtWidgets 0x00000001033bfeea QAbstractItemView::setSelectionModel(QItemSelectionModel*) + 1162
4 QtWidgets 0x00000001033f653a QTableView::setSelectionModel(QItemSelectionModel*) + 138
5 QtWidgets 0x00000001033bfa05 QAbstractItemView::setModel(QAbstractItemModel*) + 1269
6 QtWidgets 0x00000001033f6387 QTableView::setModel(QAbstractItemModel*) + 487
Attachments
Issue Links
- duplicates
-
QTBUG-39008 crash in QAccessibleEvent::uniqueId() on MacOS 10.9.2
- Closed
- is duplicated by
-
QTBUG-39008 crash in QAccessibleEvent::uniqueId() on MacOS 10.9.2
- Closed
For Gerrit Dashboard: QTBUG-57146 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
184598,7 | Protect against nullptr deref in QAccessibleEvent::uniqueId | 5.8 | qt/qtbase | Status: MERGED | +2 | 0 |