←back to thread

Apple Photos app corrupts images

(tenderlovemaking.com)
1146 points pattyj | 1 comments | | HN request time: 0.216s | 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 #
tenderlove ◴[] No.45274840[source]
This is also my guess. It's really a bummer, and I'd report it to Apple but since it's nondeterministic I have no idea how to provide repro steps.
replies(8): >>45275065 #>>45275163 #>>45276096 #>>45276185 #>>45276696 #>>45277780 #>>45279586 #>>45281857 #
egorfine ◴[] No.45276185[source]
> I'd report it to Apple

What's the point of it? It is well known in the industry they ignore bugreports.

Also, this bug doesn't affect the majority of users, so it won't ever be fixed.

replies(1): >>45276322 #
JKCalhoun ◴[] No.45276322[source]
I worked on the Photos team a decade ago — some of what you're saying I can vouch for. If it is a rare occurrence, that lowers the priority of the bug. Data corruption though? That moves it to the top.

I'll tell you a secret though that kind of pisses me off. If you have shipped with a bug, that automatically lowers the perceived priority as well. You know, as opposed to introducing a new bug in a new release. "We've already lived with that old bug…" seems to be the mind set. Oh well.

To be sure though, if you saw the number of bugs that queue up for a popular app like Photos, you'd know that fixing all of them is not going to be possible — some kind of system of prioritization is required.

replies(4): >>45276468 #>>45278671 #>>45279786 #>>45282371 #
ryandrake ◴[] No.45276468[source]
> I'll tell you a secret though that kind of pisses me off. If you have shipped with a bug, that automatically lowers the perceived priority as well. You know, as opposed to introducing a new bug in a new release.

This mentality is all over BigTech: This bug didn't block release X-1, why should it block release X? So, it inevitably just sits in the backlog forever. If your releases are 90 days apart, any bug found has an average of 45 days to be fixed, or it ends up on the "we lived with it last time" list.

replies(1): >>45277073 #
1. throwaway31131 ◴[] No.45277073[source]
If you have more bugs than you can fix in a given amount of time then you have to prioritize somehow.

“This bug didn't block release X-1, why should it block release X?” Is actually a pretty strong argument and tough, but not impossible, to counter.

And the bug backlog only gets longer with time. It’s the price of greatly increased software complexity.