Photos crashes when adding faces

Photos 2.0 crashes when adding faces. When trying to add face I get the window below which freezes the app. I've tried opening a new library and I get the same error.



User uploaded file

iMac, macOS Sierra (10.12.2), 3.4 GHz Intel Core i7

Posted on Jan 18, 2017 10:00 AM

Reply
19 replies

Jan 18, 2017 11:28 AM in response to Ribeye

Must be my preference files?

Preferences files or login items that are only started in your user account.


Check first in the System Preferences > Users & Groups for you account, if you are starting any helper applications, that are not active in a new user account.


If there is nothing suspicious, delete the Photos preferences file.

  • Quit Photos, if it is running.
  • Open your user library in your home folder.
  • Delete the complete folder ~/Library/Containers/com.apple.Photos/ and restart the Mac, then try again.Your user library may still be hidden.
  • To reveal the hidden User Library:
    • Bring the Finder forward by clicking on the Desktop or the Finder icon in the Dock.
    • Select your user/home folder (with the house icon in the Finder sidebar)
    • With that Finder window as the front window, press the key combination ⌘J to bring up the View options.
    • In the View options panel enable ’Show Library Folder’. That will make your user library folder visible in your Home folder, if it is still hidden.
    • Open your Home folder, then the Library folder, then Containers.

    Move the complete folder ~/Library/Containers/com.apple.Photos to your desktop. Move the entire folder, not just the contents.

  • While you are about it, delete also ~/Library/Preferences/com.apple.Photos.plist

Restart the Mac and try again.

Jan 19, 2017 7:09 AM in response to Ribeye

Have you tried to repair the library? if the library had been an iCloud Photo Library, repairing would be a lot of trouble, because it will start the upload to iCloud again. But for a local library it is worth a try. When photos crashes, it may leave the library in an inconsistent state, that may need repairing.

https://help.apple.com/photos/mac/1.0/index.html#/pht6be18f93


Repair your library

If you experience problems with photos in a library, Photos can try to repair it. If problems persist, you can also restore your library from a Time Machine backup.

Important: You should back up your photo library before repairing your library.


  • If Photos is open, choose Photos > Quit Photos.
  • Press Option-Command and double-click the Photos icon in the Applications folder (or click the Photos icon in the Dock).The Repair Library window opens.
  • Click Repair to rebuild your photo library.

Jan 18, 2017 10:17 AM in response to Ribeye

As a test, check, if the problem persists, when you create a new test library in a different user account.


See this support document on how to test in a different user account:


How to test an issue in another user account on your Mac - Apple Support

https://support.apple.com/en-us/HT204443


This test will tell us, if you are having a system wide problem, or if preferences files in your own user account are to blame.

Jun 29, 2017 1:18 PM in response to léonie

yep I already checked in startup items, nothing relevant but i have removed some old junk anyway (for example, a Palm Pilot app, havent used that for maybe 5+ years ! !!!) .

No cachefile as you mentioned exactly, there is a folder Photos_cache.noindex but its empty.


This problem started this morning after i had named a lot more faces, so it cant be a coincidence, suppose something got corrupted.


Many thanks for your help.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Photos crashes when adding faces

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.