I've seen funny things happen with SD cards in cameras - the first time they are used, an occasional image is corrupt. Sometimes they do it again, even if formatted in the camera... then they inexplicably settle down and are fine!