This error message has cropped up before and it is possible that your system is infected (Beagle) and it is directly effecting avast.
This however shouldn't happen (more difficult) with the latest version of avast which has a self-defence module.
So what version of avast do you have, the latest is 4.8.1201 ?