vTaksDelay stops scheduler without resuming it after a few calls

Are you passing NULL for the stack buffer? Can you share your task creation code?