[cvs-nhc98] Fix random IO seg faults due to garbage collection in the