1 2 Previous Next 15 Replies Latest reply: Jun 30, 2014 4:17 PM by hungrysokoke
roberthuttinger Level 2 Level 2 (255 points)

This issue has survived several updates and rebuilding, moving of the library, etc. When applying keywords I can apply a keyword to one image but the second (or next) image application crashes the app. I have edited the keywords and removed similar keywords, punctuation, spaces, etc. Corrupt iPhoto file? database?

 

Thanks!

Bo


MacBook Pro (Retina, Mid 2012), OS X Mavericks (10.9)
  • 1. Re: iPhoto Crashes Applying Keywords
    Terence Devlin Level 10 Level 10 (123,875 points)

    What version of iPhoto?

     

    As a Test:

     

    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'

     

    Import a few pics into this new, blank library. Is the Problem repeated there?

     

    Post back with the result.

  • 2. Re: iPhoto Crashes Applying Keywords
    roberthuttinger Level 2 Level 2 (255 points)

    New library seems to work, I added 12 pictures and Im tagging away with no crashing...

     

    So I need to recreate my library and retag/rerate everything? That is a metric butt ton of work. I was hopeing it could be a corrupt file or something I can replace

  • 3. Re: iPhoto Crashes Applying Keywords
    Old Toad Level 10 Level 10 (115,720 points)

    No.  That was just a test as it said in bold type.  Now that we know the problem lies in the old library we need to try to fix it. Try the following:

     

    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.

     

    iPMfirstaid.png


    2 - Run Option #4, Rebuild Database, followed by Option #1 if needed.

     

     

    OT

  • 4. Re: iPhoto Crashes Applying Keywords
    roberthuttinger Level 2 Level 2 (255 points)

    still blows up on keyword entry. here is a screen recording:

    http://periodpersonas.com/temp/blam.m4v

     

    after running 4, then 1, then testing. AFter crashing, I ran them all again, same issue..

     

    Bo

  • 5. Re: iPhoto Crashes Applying Keywords
    Terence Devlin Level 10 Level 10 (123,875 points)

    Then

     

    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)

     

    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.

     

    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.

  • 6. Re: iPhoto Crashes Applying Keywords
    roberthuttinger Level 2 Level 2 (255 points)

    Sadly it doesnt work. When I attempt to rebuild, the application restarts iPhoto, then iPhoto gives a warning dialog "iPhoto needs to upgrade your library" and regardless of whether I say, quit or continue, iPhoto Library Manager crashes. Is there some other way of rebuilding? Can it be a corrupt keywords file?

  • 7. Re: iPhoto Crashes Applying Keywords
    Anastassios Tarazi Level 1 Level 1 (0 points)

    Can you attach a copy of the crash log that shows up after thecrash? There might be some clues as to what is happening.

  • 8. Re: iPhoto Crashes Applying Keywords
    Old Toad Level 10 Level 10 (115,720 points)

    Just include the first 50 lines of the crash report.

  • 9. Re: iPhoto Crashes Applying Keywords
    roberthuttinger Level 2 Level 2 (255 points)

    from iPhoto Library Manager:

    ...

    Manager, but they can be redownloaded in the destination library if desired)

    2013-10-28 13:35:40.763 Transferring album “Smiths Album Covers”

    2013-10-28 13:35:40.888 Transferring album “Recovered Photos”

    2013-10-28 13:35:40.913 Updating smart album “Flagged”

    2013-10-28 13:35:40.923 Updating smart album “Last 12 Months”

    2013-10-28 13:35:40.936 Preview complete

    2013-10-28 13:35:47.157 Copying place information…

    2013-10-28 13:35:47.167 Copying place info for “Boonville”

    2013-10-28 13:35:48.847 iPhoto opened

    2013-10-28 13:37:49.086 iPhoto quit

    2013-10-28 13:37:50.166 Completed with error -1: iPhoto is not returning responses to requests for data, (null)

    2013-10-28 13:37:50.167 Displaying error -1: iPhoto is not returning responses to requests for data, (null)

    2013-10-28 13:37:50.237 iPhoto opened

     

    From iPhoto

    Crashed Thread:  0  Dispatch queue: com.apple.main-thread

    Exception Type:  EXC_CRASH (SIGABRT)

    Exception Codes: 0x0000000000000000, 0x0000000000000000

    Application Specific Information:

    *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 2 beyond bounds [0 .. 1]'

    abort() called

    terminating with uncaught exception of type NSException


     

    The out of bounds array could be an issue with the keywords data structure or entries...

  • 10. Re: iPhoto Crashes Applying Keywords
    hungrysokoke Level 1 Level 1 (0 points)

    This problem popped up on my just today. Has there been any more insight into how to solve it?

  • 11. Re: iPhoto Crashes Applying Keywords
    Old Toad Level 10 Level 10 (115,720 points)

    Have you tried the fix solutions suggested earlier in this topic?  If so which ones and what were the results? If not the do so and report the results.

    OTsig.png

  • 12. Re: iPhoto Crashes Applying Keywords
    hungrysokoke Level 1 Level 1 (0 points)

    Thank you, Old Toad, for asking!

     

    I tried creating a new library, which did not have the sample problem.

     

    Thus, I continued with your recommendations (starting iPhoto First Aid and rebuilding the library). That did not solve the problem. The crash report after rebuilding is below. Any ideas?

     

    Thanks so much! I really appreciate it!

     

    Process:         iPhoto [1293]

    Path:            /Applications/iPhoto.app/Contents/MacOS/iPhoto

    Identifier:      com.apple.iPhoto

    Version:         9.5.1 (902.17)

    Build Info:      iPhotoProject-902017000000000~3

    App Item ID:     408981381

    App External ID: 233642646

    Code Type:       X86-64 (Native)

    Parent Process:  launchd [153]

    Responsible:     iPhoto [1293]

    User ID:         501

     

     

    Date/Time:       2014-06-29 16:39:58.252 -0700

    OS Version:      Mac OS X 10.9.3 (13D65)

    Report Version:  11

    Anonymous UUID:  E7A3CE5C-3232-1B7F-56CA-57C40D24CB27

     

     

     

     

    Crashed Thread:  0  Dispatch queue: com.apple.main-thread

     

     

    Exception Type:  EXC_CRASH (SIGABRT)

    Exception Codes: 0x0000000000000000, 0x0000000000000000

     

     

    Application Specific Information:

    *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 2 beyond bounds [0 .. 1]'

    abort() called

    terminating with uncaught exception of type NSException

     

     

    Application Specific Backtrace 1:

    0   CoreFoundation                      0x00007fff9004025c __exceptionPreprocess + 172

    1   libobjc.A.dylib                     0x00007fff8e055e75 objc_exception_throw + 43

    2   CoreFoundation                      0x00007fff8ff2be4f -[__NSArrayI objectAtIndex:] + 175

    3   AppKit                              0x00007fff96c09d38 -[NSTableView preparedCellAtColumn:row:] + 399

    4   AppKit                              0x00007fff96c09a5e -[NSTableView _drawContentsAtRow:column:withCellFrame:] + 44

    5   AppKit                              0x00007fff96c09793 -[NSTableView drawRow:clipRect:] + 1629

    6   AppKit                              0x00007fff96c08fed -[NSTableView drawRowIndexes:clipRect:] + 776

    7   AppKit                              0x00007fff96ad2331 -[NSTableView drawRect:] + 1484

    8   AppKit                              0x00007fff96aab04f -[NSView _drawRect:clip:] + 3748

    9   AppKit                              0x00007fff96aa98c4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1799

    10  AppKit                              0x00007fff96aa9ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787

    11  AppKit                              0x00007fff96aa9ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787

    12  AppKit                              0x00007fff96aa9ca0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787

    13  AppKit                              0x00007fff96aa7706 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 841

    14  AppKit                              0x00007fff96bd6c13 -[NSNextStepFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 303

    15  AppKit                              0x00007fff96aa3e9f -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2828

    16  AppKit                              0x00007fff96a832fa -[NSView displayIfNeeded] + 1680

    17  AppKit                              0x00007fff96bcd3eb -[NSNextStepFrame displayIfNeeded] + 156

    18  AppKit                              0x00007fff96c48d40 -[NSWindow display] + 105

    19  AppKit                              0x00007fff96a76341 __67-[NSWindow _updateSettingsSendingScreenChangeNotificationIfNeeded:]_block_invoke + 237

    20  AppKit                              0x00007fff96a76208 NSPerformWithScreenUpdatesDisabled + 65

    21  AppKit                              0x00007fff96a761b7 -[NSWindow _updateSettingsSendingScreenChangeNotificationIfNeeded:] + 197

    22  AppKit                              0x00007fff96a6e4b1 -[NSWindow _setFrame:updateBorderViewSize:] + 914

    23  AppKit                              0x00007fff96a6da2e -[NSWindow _oldPlaceWindow:] + 652

    24  AppKit                              0x00007fff96a6ce5c -[NSWindow _setFrameCommon:display:stashSize:] + 1633

    25  AppKit                              0x00007fff9704f3f7 -[NSTextViewCompletionController displayCompletions:indexOfSelectedItem:forPartialWordRange:originalString:atPoi nt:forTextView:] + 2761

    26  AppKit                              0x00007fff9704a21d -[NSTextView(NSKeyBindingCommands) complete:] + 750

    27  AppKit                              0x00007fff9705d0cd -[NSTextView(NSPrivate) _performUndoCoalescingAction:] + 84

    28  AppKit                              0x00007fff97076995 __34-[NSTokenFieldCell textDidChange:]_block_invoke291 + 220

    29  libdispatch.dylib                   0x00007fff8de331bb _dispatch_call_block_and_release + 12

    30  libdispatch.dylib                   0x00007fff8de3028d _dispatch_client_callout + 8

    31  libdispatch.dylib                   0x00007fff8de37ef0 _dispatch_main_queue_callback_4CF + 333

    32  CoreFoundation                      0x00007fff8ffa75a9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9

    33  CoreFoundation                      0x00007fff8ff627c4 __CFRunLoopRun + 1636

    34  CoreFoundation                      0x00007fff8ff61f25 CFRunLoopRunSpecific + 309

    35  HIToolbox                           0x00007fff8ee61a0d RunCurrentEventLoopInMode + 226

    36  HIToolbox                           0x00007fff8ee617b7 ReceiveNextEventCommon + 479

    37  HIToolbox                           0x00007fff8ee615bc _BlockUntilNextEventMatchingListInModeWithFilter + 65

    38  AppKit                              0x00007fff9694c26e _DPSNextEvent + 1434

    39  AppKit                              0x00007fff9694b8bb -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122

    40  AppKit                              0x00007fff9693f9bc -[NSApplication run] + 553

    41  AppKit                              0x00007fff9692a7a3 NSApplicationMain + 940

    42  iPhoto                              0x000000010edcd2ff iPhoto + 66303

    43  libdyld.dylib                       0x00007fff91abc5fd start + 1

    44  ???                                 0x0000000000000001 0x0 + 1

     

     

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

    0   libsystem_kernel.dylib         0x00007fff95d2b866 __pthread_kill + 10

    1   libsystem_pthread.dylib       0x00007fff922b935c pthread_kill + 92

    2   libsystem_c.dylib             0x00007fff9a1adb1a abort + 125

    3   libc++abi.dylib               0x00007fff91a8ff31 abort_message + 257

    4   libc++abi.dylib               0x00007fff91ab5952 default_terminate_handler() + 264

    5   libobjc.A.dylib               0x00007fff8e05630d _objc_terminate() + 103

    6   libc++abi.dylib               0x00007fff91ab31d1 std::__terminate(void (*)()) + 8

  • 13. Re: iPhoto Crashes Applying Keywords
    Old Toad Level 10 Level 10 (115,720 points)

    Using iPhoto Library Manager  to Rebuild Your iPhoto Library

     

    1 - download iPhoto Library Manager and launch.>Click on the Add Library button,

                            iPhoto Library Manager002.jpg

    2 -  select the library you want to add from those in the selection window.

     

    3 - make sure that in the rebuild window the checkbox  "Scavange orphaned photos" is checked.

     

    iPLMrebuild2.png

     

     

    4 - now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option

     

                  iPhoto Library Manager001.jpg

     

    5 - in the next  window name the new library and select the location you want it to be placed. Click on the Create button.

     

    Note 1: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments. However, books, calendars, cards and slideshows will be lost.


    Note 2:  Your current library will be left untouched for further attempts at a fix if so desired.

  • 14. Re: iPhoto Crashes Applying Keywords
    hungrysokoke Level 1 Level 1 (0 points)

    The seems to have fixed it! It took my computer about an hour to rebuild the library (so I guess we know it was doing something that the built-in Mac iPhoto First Aid wasn't). Now I can add keywords to my heart's content. All I had to do in addition was to switch over my iCloud photo albums from the old library to the rebuilt one.

     

    However, I don't know how to prevent this problem from happening again... I'll keep my fingers crossed.

     

    Thank you so much for your help, Old Toad! I really appreciate it!

1 2 Previous Next