C System.stackoverflowexception