If you're using iPhoto 9.4.3 or earlier you can stop the crashing by doing the following but will lose the map feature in the library.
iPhoto 9.4.3 and earlier began to crash for many users all of a sudden a few weeks ago. This is because the contract between Apple and Google for use of Google maps with iPhoto 9.4.3 and earlier for Locations expired a couple of months age and was not renewed. That is the case of the freezes or crashes.
Apple now uses its own Maps program for Locations and too use it you must be running iPhoto 9.5.1 and Mavericks or 9.6.1 and Yosemite or El Capitan or Photos and El Capitan.
Try Huxly647's solution:
Huxly647Nov 20, 2015 12:05 AM
Re: iPhoto crashes after opening repeatedlyin response to carvermon
I found a fix that works for me.
1. goto /Applications/iPhoto.app/Contents/Resources (Control (right)-click on the iPhoto app and select Show Contents in the contextual menu - OT.)
2. delete the files ' googlemap.html ' and googlesearch.html
iPhoto no longer crashes, places doesn't work but it doesn't bother me too much.
Let me know if it works for you guys...
Removing the two files ' googlemap.html ' and googlesearch.html from iPhoto's application bundle prevents the javascript inside from being executed and causing the crash. Going offline does obviously do the same. So it is pretty clear, that something happened on Google's end.
There's a hack posted by user cotton-x that will let iPhoto 9 and earlier continue to use Google Maps for the location feature.
cotton-x
Dec 16, 2015 2:49 PM
Re: iPhoto 11 - Problems With Photo Locations
in response to Paul Fisher
YES!
I have just made it work.
I'm on a white macbook running 10.7.5 with iPhoto 9.4.3
Thanks to Paul I had an idea. What if we just ignored Apple's expired API and used our own, private and free from Google. Turns out it works.
Here's what you have to do:
0- Close iPhoto
1- Create a google account or use your own
2- Access Google's developers console HERE
3- Create a project (any name)
4- Activate a Google Maps Javascript API
5- Generate your own API key
6- Go to folder /Applications/iPhoto.app/Contents/Resources/googleMap.html
7- Edit the googleMap.html (I've used an application called TextWrangler)
8- Change this src="http://maps.googleapis.com/maps/api/js?v=3&client=gme-appleinc&sensor=false"> to this src="https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE&signed_in=true&sensor=false">
9- Save your freshly edited googleMap.html
10- Open iPhoto and enjoy.
Take that Apple.
Be sure to make a backup copy of the iPhoto application before attempting this procedure.
However, be aware that as of April 1, 2016 iPhoto is no longer able to order any products from the Apple Print Product store.