I've been experiencing a similar problem over the last 2 days ... right after installing the latest Avast for Mac. I can only assume that Avast is the cause as nothing else has changes. In checking the console logs, I see that my iMac seems to hang when a Time Capsule backup is in progress (FYI ... I use a Time Capsule 2 TB). I also checked in the console for messages containing avast and see many examples of the the following:
Apr 2 19:41:25 imac-2 com.apple.launchd[1] (com.avast.proxy[1506]): Job appears to have crashed: Segmentation fault: 11
Apr 2 19:41:25 imac-2 com.apple.launchd[1] (com.avast.proxy): Throttling respawn: Will start in 10 seconds
Apr 2 19:41:25 imac-2 ReportCrash[1500]: Saved crash report for com.avast.proxy[1506] version

(

) to /Library/Logs/DiagnosticReports/com.avast.proxy_2012-04-02-194125_localhost.crash
Apr 2 19:41:25 imac-2 ReportCrash[1500]: Removing excessive log: file://localhost/Library/Logs/DiagnosticReports/
Please note that the crash report referenced above does not seem to exist at the location indicated. Also, I have attached the complete log in case it helps. The problem only seems to occur if no one is using the machine, since everything is OK while someone is working at the Mac. It is when someone from the family tries to logon to their account that we experience the problem (Note: My screen saver locks the screen). Hope this helps. In the meantime, I'm going to disable the File System Shield to see if this helps things at all.