Because empty library syndrome has normally happened during iTunes upgrades or as a result of interference by Sony VIAO's software. Having noticed a different pattern of repeated library deletions out of the norm, I started asking people which AV they were using. AVG quickly showed up as the common factor. Problems started after a recent update to AVG, didn't respond to folder exclusions, cleared if the user switched AV packages, returned for at least one noble user who reinstalled it in the name of research, and remained even after the first patch announced by AVG to address the issue. They released another patch yesterday and I've had at least one piece of feedback suggesting the new patch has done the trick.
The reason that AVG's logs don't contain anything is because it isn't actually removing anything. I believe the problem is an unintended consequence of the way Resident Shield works, examining file operations before they complete. As far as I can tell the iTunes library update process is as follows:
- Write out new temporary copy of database file.
- Delete original database file
- Rename temporary file to replace original
For whatever reason it seems that AVG has been blocking step 3 for some people, some of the time. Result, vanished library with a .tmp file left behind. As far as I know AVG might be adhering to all of Microsoft's software guidelines and iTunes might be at fault for not handshaking properly with the operating system, but I also know which software has been updated to fix things.
tt2