In reply to TobyA:
I just tend to bin any SD cards that start behaving badly. I used to work as a photographer for a while and my main memory card started to act crazy (couldn't be read sometimes). Imagine that feeling when you come back home and you are afraid that you might have some photos missing.
A stupid suggestion as I am computing scientist student as well (should have said try reformatting blah blah), but I just don't risk any more. I have only few cards which seemed to behave weirdly over the years after some more intense shooting. I have probably shot over 50k photos in RAW format before it started showing some inconsistency. Given how cheap the cards are (the first flash drive I ever used was 256MB and it cost 60 quid or so), why even bother?
P.s. I also had two films that failed as well, but the first one was badly inserted and the other was subjected to canoeing trip...