I wonder if Avast was trying to access a corrupted area of the disc. Did you notice the file or folder that Avast was scanning at the time ?