Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.9.2, 5.12.9, 5.15.2, 6.2
-
d36c21aa8f48aed7775a6a047197b6f6f9055430 (qt/tqtc-qtbase/5.15)
Description
If a QML StateMachine SignalTransition is connected to a signal from a QObject, and that object emits that signal from a QtConcurrent::run thread while in the object's destructor, then there is a crash in QSignalEventEmitter.
I've attached a small example demonstrating the problem (it's a little more clear from the code)
Attachments
For Gerrit Dashboard: QTBUG-65926 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
376625,7 | SignalTransition: guard against deleted object | 6.2 | qt/qtscxml | Status: ABANDONED | -1 | 0 |
376688,3 | SignalTransition: guard against deleted object | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
376689,2 | SignalTransition: test for guard against deleted object | tqtc/lts-5.15 | qt/tqtc-qtdeclarative | Status: ABANDONED | 0 | 0 |