←back to thread

Apple Photos app corrupts images

(tenderlovemaking.com)
1119 points pattyj | 1 comments | | HN request time: 0.201s | 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 #
loeg ◴[] No.45277188[source]
Maybe bad RAM flipping bits?

Edit: Nevermind, the contents are vastly changed. This is like a different stream of input got used, or a buffer was written over with contents from another image.

replies(1): >>45277621 #
1. aakkaakk ◴[] No.45277621[source]
This bug has happened on multiple, perhaps all, iphones I ever owned, I clearly remember at least 3 where I spent hours on trying to save (extract) photos from my iphone with different tools.

”Glad” to see it was an actual bug.