Moosh reported this to me yesterday:
If a script contains a lexical error (tested with CHAR_DOUBLEQUOTE) and the script is over a certain length (greater than 16.4 KB), ZC will crash while parsing it.
I've tested this, and can confirm it. The easiest fix would possibly be to halt the compiler on a lexical error, which I think would be best in general; but finding the cause of this would probably be good.
Affects 2.50.2; tested with Win 7.