Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.2.0
-
None
-
TI AM1808 platform
directfb platform plugin
Description
When running the animatedtiles example on TI AM1808 platform with directfb platform plugin, the application crashes with a segmentation fault. The crash is not systematic, but was easy to reproduce on the board.
The segmentation fault happens usually just after "Thread: Destroyed while thread is still running".
The Qthread in question is monitoring directfb input. Its initialization is performed twice at runtime and the existence of the Qthread is not tested before reseting the QScopedPointer handling the Qthread.
Stopping the thread before reseting the QScopedPointer in QDirectFbIntegration::initializeInput() is the workaround I have implemented for now.
Attachments
For Gerrit Dashboard: QTBUG-38710 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
84455,5 | directfb: fix QThread destroyed while running | stable | qt/qtbase | Status: MERGED | +2 | 0 |