Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.6.3
-
None
Description
I have created a Unit test that crashes consistently.
While debugging the test, I found that calling multiple QTest::qWait() within a for() loop appears to cause the crash.
I have provided source code for a QTest-based application that demonstrates the problem. You can find the source code (.cpp, .hpp, and .pro) in the attached .tar file.
The test calls QTest:qWait() six times within a for() loop; the for() loop is set to execute fifteen times. The test consistently crashes during the eighth iteration of the for loop.
I want to understand what I am doing wrong, or report a bug.