Can you try repairing avast from the control pannel, and have you tryed shutting off other programs before shut down aswell (such as your firewall).

–lee