So you say that if you disable avast!, the same problem keeps happening? If yes, then it probably has nothing to do with avast!.
If the problem occurred only with avast! resident protection running and disappeared when it’s stopped, I would suggest to send us a pair of e-mails (in .eml format): one received with the resident protection on and the other with the protection off - so that we could compare the differences.