Sounds more like a fishy driver to me -- haven't you upgraded any system-critical drivers recently? (motherboard, video, soundcard, ethernet etc.)
The thing is, if booting to Safe Mode, absolutely no part of avast gets loaded. That is, it behaves (at least before reaching the logon screen) exactly as if avast has been uninstalled...
At what stage does the system freeze if you try normal boot?