They can only produce units from stone walls. But once you arrive they upgrade to large stone walls which can't produce any units.

Obviously this is a major bug.