Finally figured out the ringbufer corruption.