If this is the case then I would think there is something wrong with that particular chip. This could be a defect in the chip Flash or just a flaw in the board e.g. a floating Vcc/Vdd pin or defective power supply bypass. This can lead to errors that depend on the actual data being programmed or at least the memory range.
If the error applies to multiple chips let me know and I will do some further testing.