This thread mentions similar errors caused by gaps in data. Maybe the workarounds mentioned there will help.