Skip navigation

Repeat iPhoto Database Corruption

682 Views 11 Replies Latest reply: Dec 15, 2012 5:09 PM by Robert Stone RSS
Robert Stone Level 2 Level 2 (255 points)
Currently Being Moderated
Nov 11, 2012 6:06 PM



I have been having repeated instances where iPhoto crashes, usually after sitting for a couple minutes unused. Beachball, then crash. Upon restart, I get notice that database repair is needed. A few minutes later that finishes and all the events in my library are randomized and sometimes a lot are missing. I had Time Machine backup fail as well (Murphy's law); and database copy I had made manually from 5 weeks ago once brought up to date by re-importing pictures, it again bombs after a couple hours work.



Large database, over 90K photos, 480 GB.

I recently got a new camera taking full frame 22MP pictures which I did set to record in Adobe RGB - I wonder if the new pictures are involved in the corruption.



I am moving over a fresh copy of the 5-weeks ago database and I plan to repair and/or rebuild the database.

I have a registered copy of iPhoto Library Manager and may make a fresh database from that - not sure if that preserves all events in same order, though.

I am strongly considering making the move to Aperture if it might help.


I am posting this looking for any sage advice from anyone out there either on the source of the corruption or any advice on how to proceed.


Thanks for any help!



MacBook Pro (15-inch Early 2011), OS X Mountain Lion (10.8.2), iMac 2.7/12GB/2TB; Canon 5Dm3
  • Old Toad Level 10 Level 10 (113,505 points)
    Currently Being Moderated
    Nov 12, 2012 3:18 PM (in response to Robert Stone)

    Post the first 50 lines of the crash report and the lines from the thread that crashed.



  • Old Toad Level 10 Level 10 (113,505 points)
    Currently Being Moderated
    Nov 12, 2012 6:53 PM (in response to Robert Stone)

    KERN_PROTECTION_FAILURE is usually connected to bad data.  There's nothing unique in Thread 27 that's any indication.


    Try this:  launch iPhoto with the Option key held down and create a new, test library.  Import some photos, run it for a while and check to see if the same problem persists.

  • Old Toad Level 10 Level 10 (113,505 points)
    Currently Being Moderated
    Nov 14, 2012 4:26 PM (in response to Robert Stone)

    Not sure if it's an iPhoto app problem or system.  Boot into Safe Mode, Mac OS X: Starting up in Safe Mode, and see if iPhoto will launch and run without crashing.  If it does then it may be a system issue. 


    If it doesn't if could still be both.  If it doesn't then reinstall iPhoto. To do so you'll have to delete the current application and all files with "iPhoto" in the file name with either a .PKG or .BOM extension that reside in the:


    HD/Library/Receipts folder (10.5 and earlier)


    or from the /var/db/receipts/  folder (10.6) .




    or from the /private/var/db/receipts folder (10.7 or later)


    Then install iPhoto from the source it came from originally.

  • Old Toad Level 10 Level 10 (113,505 points)
    Currently Being Moderated
    Nov 17, 2012 10:08 AM (in response to Robert Stone)

    I'm at a loss.  Let us know how moving your library to another Mac works out.  If it does open and operate successfully there then you may have a system issue.  If you can't open it or create a new library with those same pictures you may have a damaged image file that's causing the problem.

  • Old Toad Level 10 Level 10 (113,505 points)
    Currently Being Moderated
    Nov 18, 2012 11:28 AM (in response to Robert Stone)
    they are scanned film roles) - and THAT database (which copied fine yesterday) crashes iPhoto within a minute or so of launch,



    Try the following on copies of those scanned image files:


    1 - download and unzip from Toad's Cellar the Automator workflow application, Convert to JPG and Embed sRGB profile.


    2 - drag the scanned image files onto the application.


    3 - import the converted image files into a test library and see if they behave as they should.


    If this works you can replace those scanned photos in your primary library with the new, converted files.


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.