←back to thread

Apple Photos app corrupts images

(tenderlovemaking.com)
1119 points pattyj | 1 comments | | HN request time: 0s | source
Show context
deviation ◴[] No.45274615[source]
It seems to be an import pipeline bug.

Photos does a lot of extra work on import (merging RAW+JPEG pairs, generating previews, database indexing, optional deletion), so my guess is a concurrency bug where a buffer gets reused or a file handle is closed before the copy finishes.

Rare, nondeterministic corruption fits the profile.

replies(7): >>45274840 #>>45275400 #>>45275556 #>>45275634 #>>45277188 #>>45278171 #>>45280431 #
inanutshellus ◴[] No.45275400[source]
Interesting that he went from 30% failure to it taking a while to find a single failure after replacing everything.

Random is random, and random is clumpy, so maybe swapping parts is irrelevant, but... I wanted more detail how often the corruption happened throughout his replacement journey.

edit: also wth i just realized I went to "tenderlovemaking.com" at work. gross. lol.

replies(4): >>45275648 #>>45276097 #>>45276733 #>>45283381 #
1. tuetuopay ◴[] No.45276097{3}[source]
Since it looks like a concurrency issue, most likely the new laptop made the issue less frequent through the simple virtue of being faster.