Rebuilding An iPhoto Library
If you have an iPhoto library that is corrupt and causing iPhoto to crash or otherwise be unusable, iPhoto Library Manager provides the ability to rebuild your library based on the information found in its AlbumData.xml file. Select the library you want to rebuild and choose the "Rebuild Library" command from the File menu. After choosing a location to store the rebuilt library, iPhoto Library Manager will proceed to try rebuilding the library as best as it can based on the available data.
There are some cases in which the data for the library is either damaged or incomplete that will cause a rebuild to fail. In this case, you have to instead try to use iPhoto's built-in rebuild function, or extract the photos from your library and reimport them into a new one.