Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 5.0.0-beta1
-
None
Description
In order to mimic the possible scenario shorten the timeout when starting a process inside executefilter.cpp : line 179 : method : ExecuteFilter::runHeadCommand()
if (!m_process->waitForStarted(1000))
change it to:
if (!m_process->waitForStarted(1))
Then run Creator and type in locator:
! echo foo
Creator should crash now.
The reason is that in case of timeout we are removing the command from the queue. But it may happen that later the process continues and finished signal is being delivered -> in this case we expect not empty queue, which is not the case.