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.