My target (qemu) was accidentally rebooted while I edited a .crinit task file. Since the file was corrupted, it had a wrong syntax. During reboot crinit reported the wrong syntax and stalled forever.

That happened in the initial phase when all files get parsed. As a consequence the target did not boot anymore.
Suggestion: Just report/log the parse error, continue, and ignore the corrupt task files in the remaining initialization steps.