in reply to Side Effects

Another random, and very unlikely, possibility is that some sick twisted soul has $Body as a tied variable to something whose STORE does nasty things to $g::TaskList[0]. Unlikely, but possible.