systematic solution for data corruption issues during iPhone library upgrade process
I had the same problem here, i.e. iPhoto '11 (version 9.1.5) crashed during the upgrade process of my old library (105GB) which was copied to my new Mac via TimeMachine restore.
The above steps did not work for me, tough I have to admit that I haven't tried to remove the DivX and avi converter plugin, even though I can see errors in my system log /var/log/system.log
I think it's unlikely that my upgrade process is crashing because of these plugins, because my library is 105GB big and the crash consistently happened at around 80% of the upgrade process, after many minutes and thousands of files and various different file types.
Here is what I did to solve my problem:
- open a command console (Terminal) and type the following command "sudo fs_usage -w -f filesys iPhoto" (don't hit Enter yet). This command will continuously list all files that are used by iPhoto. The executable file is part of Mac OS, you don't need to download and install.
- start iPhoto
- hit enter in your Terminal
- confirm to upgrade the library in iPhoto
- watch your Terminal. when it stops it is likely that iPhoto has crashed. Look for the last media file (jpg, jpeg, mov, avi, NEF, mpeg, etc) in your Terminal output
- remove this file from your iPhoto Library
- stop your fs_usage command by hitting "Ctrl C" while Terminal is in the foreground
- start iPhoto again and do the same steps again until it doesn't crash anymore. I had to delete all four files from the directory (in my case "Masters/2007/Roll\ 96/") leaving it empty.
hope this helps