I think the crucial thing here is to find out WHAT is happening to these files to supposedly make them corrupt in the eyes of LR. If someone has two versions of the same NEF - one corrupt and one OK then surely a programmer / coder could delve deeper into the files to see where the problem lies?
Agree totally. I have asked/suggested that both the OPs look using OS X Finder and Windows Explorer to get the file info. There are checksum utilities and even Hex file comparison utilities out there for both platforms if they wanted to go further - but those are indeed more for engineering eyes to draw any deductions. That would at least help determine if a corruption is consistent (i.e. the same every time the file is opened). My theory is at least the original OP is seeing progressive random read failures, so re-reading and check-summing the file each time would be one way to clarify that.
As I mentioned the 'corruption' cant be that severe if the freely available Faststone image viewer can read and export the 'corrupt' NEF to a perfect 24bit tiff file:
I am not sure there is only one type of corruption. The original OP said he would see the corrupted file show different image patterns and artefacts when opened at different times in different apps (LR and OS X Preview). The thread you point to is discussing systematic corruption by Nikon Transfer during a read-from-card copy-to-disk operation.
I read the thread you linked and I could not see anywhere where anyone said that faststone would recover RAW data from a (randomly) corrupted file. I read only a a discussion about possible ways to recover the embedded JPEG thumbnail and preview image, and someone suggesting to contact the faststone authors, and then a comment at the bottom of this thread:
http://nikonrumors.com/forum/topic.php?id=5753
which is not clear whether it is getting the JPEG file from the RAW, or whether faststone knows the systematic corruption that is be caused by using an earlier version of Nikon Transfer used with the RAWs from a later camera and have coded something to specifically correct for that. Either way since neither of the OP here has said they are using Nikon Transfer, and we do not know where (and if) their corruption (meaning overwriting) is taking place then it's unlikely any current utility would be able to correct for what they are seeing.
Also wondering if the problem would go away if you immediately converted all your NEF's to DNG. In fact would be an interesting experiment to duplicate all imports for a time - converting one lot to DNG and leaving the others as NEF's.
Could be something for the OP to try, BUT need to be careful on LR4's XMP setting as that makes LR4 re-write to the DNG when doing adjustment edits; that sort of takes us into a different area of possible corruption causes and we might just get more confused. If there is an underlying hardware problem, playing with multiple software methods on top of that will just create a "smoke-screen" of all sorts of apparent errors and further things to check.
It's much better to set out a logical deduction as per your first suggestion to answer:
- are the RAW files on disk really corrupted? And if so in what precise way?
- and since the original hypothesis is that this is done by LR4 (when it is set to a mode where we think it reads the RAW file only), then how and when does it do this?
Both of the above require engineering level debug using file and OS trace tools.
The alternative is to take the hypothesis based on what the OP has said (especially that the file date-time does not change and that the file contents can be different on each read) and deduce that that in his case is suggestive more of a disk hardware failure, and eliminate that by putting the image files to another disk.
In the absence of more data from you (and also from the two original OPs from this psting) I don't have any theories on what your problem is. Maybe one of you could raise something to an Adobe Forum. The discussion is much better there. I am sure some engineers from Adobe do look here in DPR, but if you want get more attention, go to the Adobe Forums.