Routine A calls B and C
Routine B calls A
Routine C calls A
So the stack gets deeper until it overflows.

I don't think anyone could help without having a clue as to what you're trying to do, and seeing the six missing routines.