Padre Task manager fails to run tasks after stress testing it
|Reported by:||azawawi||Owned by:|
Open two new unsaved script tabs while the "Syntax Check" view is open. In one of the tabs, enter "use strict; $foo". The other tab keep it empty. Now continue pressing Page-up or Alt-Right slowly (Next Tab). You will see the "Syntax view" being updated correctly. Now increase the pace at which the tab switching occurs. Padre syntax view becomes invalid for the selected tab and hangs. Any further operations that depend on tasks like "Open Resource" will fail to complete afterwards.
This has been tested under win32 5.10.1 and Ubuntu 10.10 5.12.2.
Somehow thread workers queue becomes full and never empties. Increasing the maximum of thread workers simply delays the problem. The task manager does not run any new tasks correctly.