When you re-installed avast, did you use the installation file from the first installation? It may of been corrupt.
Also are you running any other Antivirus on the computer at the same time as avast?
–lee