Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iPhoto Crashes Applying Keywords

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)

Posted on Oct 28, 2013 7:45 AM

Reply
Question marked as Best reply

Posted on Oct 28, 2013 8:36 AM

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.

15 replies

Oct 28, 2013 10:04 AM in response to roberthuttinger

Then


Download iPhoto Library Managerand 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.

Oct 28, 2013 11:59 AM in response to Anastassios Tarazi

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...

Jun 29, 2014 4:44 PM in response to Old Toad

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

Jun 29, 2014 4:58 PM in response to hungrysokoke

Using iPhoto Library Manager to Rebuild Your iPhoto Library


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

User uploaded file

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.


User uploaded file



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


User uploaded file


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.

Jun 29, 2014 5:55 PM in response to Old Toad

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!

Jun 30, 2014 4:17 PM in response to hungrysokoke

Sigh. It is happening again. But now it is not even providing me with an error report.


It started happening when a shortened version of the keyword I was using frequently accidentally got entered. I am marking my photos with the keyword "dermatology". Usually, autofill works well and I can type "dermat" and press Enter and it will insert "dermatology". However, once, "dermat" was the final entry. After that, when I type in "dermat" and maybe one succeeding "o", an autofill drop down menu briefly shows "dermatology" and then iPhoto crashes.


I am just going to avoid using keywords now. 😟 As a recent switcher to Mac, I am sad that even it has not ironed out all the little kinks like this one.

iPhoto Crashes Applying Keywords

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