I've seen this happen a few times, and was scratching my head a little, initially I thought that surely it was my own code causing a long running process I'd screened to fail every once in a while. As best I can tell, it's always occurring after *arbitrary amount of time has passed* and a call to phutil_console_get_terminal_width is made.
Here's a paste of the output from the most recently failed run:
I realize that the parameters surrounding when and how this fails might not make it incredibly easy to track this down. If it's immediately obvious to someone from Phacility why this might be occurring, I'm all ears.