Sorry for the delay.
I spent the $30 and downloaded iPhoto Library Manager
Unfortunately after about 3 - 4 hours it froze 2/3 of the way through doing a library rebuild.
Its well into the evening here in Australia now so I may not have a chance to look at it again until after work tomorrow.
I will report back and thanks both of you for your suggestions so far...
Have been running iPhoto the last 2 days with facebook account disabled and no crashes while I "clean up" the database, remove duplicates etc using library manager.
I don't believe the problem is in relation to a specific photograph though as uploads of numerous different photos caused the crashes I have been experiencing.
Once I've cleaned it up I'll reattempt a rebuild and cross my fingers it doesn't freeze...
It may be a few days yet as I'm busy at work this week.
Will report back and thanks for the help thus far.
Unfortunately all is still not well.
Using iPhoto Library Manager I have cleaned up my library by deleting nearly 2000 duplicates leaving me with a library of just over 30,000 photos. Unfortunately 2 attempts at rebuilding the library with this software have failed at at about the half way mark with just over 16,000 photos being put into the new libraray. This is with the facebook account still disabled.
Final few lines of (huge) log are below
2013-01-24 00:58:56.177 Restoring info for photo “P7170008”
2013-01-24 00:58:56.311 Restoring info for photo “P7170009”
2013-01-24 00:58:56.452 Restoring info for photo “P7170010”
2013-01-24 00:58:56.585 Restoring info for photo “P7170011”
2013-01-24 00:58:56.729 Restoring info for photo “P7170012”
2013-01-24 00:58:56.878 Restoring info for photo “P7170013”
2013-01-24 00:58:57.064 Restoring info for photo “P7170014”
2013-01-24 00:58:57.246 Restoring info for photo “P7170015”
2013-01-24 00:58:57.399 Restoring info for photo “P7170016”
2013-01-24 00:58:57.555 Restoring info for photo “P8010017”
2013-01-24 00:58:57.687 Restoring info for photo “P8010018”
2013-01-24 00:58:57.804 Restoring info for photo “P8010019”
2013-01-24 00:58:57.918 Restoring info for photo “P8010020”
2013-01-24 00:58:58.021 Restoring info for photo “P8010021”
2013-01-24 00:58:58.167 Restoring info for photo “P8010022”
2013-01-24 00:58:58.278 Restoring info for photo “P8010023”
2013-01-24 00:58:58.414 Restoring info for photo “P8010024”
2013-01-24 00:58:58.567 Restoring info for photo “P8010025”
2013-01-24 00:58:58.722 Restoring info for photo “P8020001”
2013-01-24 00:58:58.832 Restoring info for photo “P8020002”
2013-01-24 00:58:58.955 Restoring info for photo “P8020003”
2013-01-24 00:58:59.078 Restoring info for photo “P8020004”
2013-01-24 00:58:59.190 Restoring info for photo “P8020005”
2013-01-24 00:59:12.279 iPhoto quit
2013-01-24 00:59:18.743 Completed with error -1: Failed to quit com.apple.iPhoto, (null)
2013-01-24 00:59:19.429 iPhoto opened
Any further help greatly appreciated...
You might give this a try to see if you can get a new library with all of the original files from your old one:
Starting over from scratch with new library
Start over with a new library and import the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from your original library as follows:
1. Open the library package like this.
2. Launch iPhoto with the Option key held down and, when asked, select the option to create a new library.
3. Drag the subfolders from the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder, several at a time, from the open iPhoto Library package into the open iPhoto window of the new library.
This will create a new library with the same Events (but not necessarily the same Event names) as the original library but will not keep the metadata, albums, books slideshows and other projects.
Note: your current library will be left untouched for further attempts at a fix if so desired.
If the new library does contain all of your photos
Thanks - at this stage awaiting a reply from Fat Cat Software as I have no problems with my library other than iPhoto crashing when my facebook account is activated (and being unable to do a rebuild with IPLM).
I am reluctant to lose hundreds of hours worth of edits and face identification when I haven't actually lost any photos.
I presume the above simply restors my original photos in a "clean" database with these modifications missing.
I do appreciate the suggestions however...
If you make a backup copy of your library and apply the fixes on it there's no change of losing your organizational efforts. I don't interface with Facebook with iPhoto so don't know if there's a way to unlink the library with FB as you can with email accounts. If so cut the cord to FB and then reactivate it and try again.