iTunes gets stuck when finishing sync
I plug the phone in, the sync starts, does the back up, music, photos, calendars and so on, but then I get the stripey progress bar with a message saying "finishing sync" and then it hangs.
I've searched and tried a few of the obvious hints - I've reset the phone, rebooted the Mac, run software update, all the start level one FAQ responses.
If I swipe to cancel on the iPhone, it is fine - everything's updated properly, but then I get a beachball on the iTunes and have to Force Quit and restart.
Neither had been updated with new versions immediately before the problem, so I'm looking for other causes.
One thing I'm wondering is whether it is possible to get iTunes to produce a diagnostic trace log of everything it does during a sync so I might be able to see whether there's an obvious cause (maybe there's a newly installed app on the iPhone that's trying to do something or similar?)
MacBookPro 15", Mac OS X (10.6.7), iPhone 4 iOS 4.2.1, iTunes 10.2.1