[Bug 137202] getXXXent functions blow up after recursing