Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.0, 5.15
-
None
-
Ubuntu 20.04, KDE, Qt 5.15
-
-
d953bc76b (dev), fbc3fd7d6 (6.5)
Description
https://github.com/qt/qtbase/blob/5.15/src/widgets/widgets/qabstractbutton.cpp : 689
There is no check for quard before call to QAccessible::updateAccessibility(&event);
If a button is destroyed in emitToggled() application craches in QAccessibleEvent::accessibleInterface(), because
QAccessibleStateChangeEvent::m_object is invalid.
In attached example application crashes in 4 seconds after button pressed