It seems somehow it segfaults because this static array "static array(array(string)) divisions"
found in the troublesome file contains to much data which makes the stack overflow (or something like it). When I reduce the amount of data in it, it doesn't segfault anymore.
Thanks, I've found where the problem originates.
But normally speaking one would be allowed to have lots of data in an array wouldn't one?
True. Unfortunately fixing the problem means changing the code generator.