It sounds like it could be a stack overflow problem to me..