My first thought is the same as 2010AveoLT's:
detonation problem caused by low fuel grade. Possibly also timing is faulty (too much advance). I would try a higher grade of fuel just to see if it helps.
Considering timing is computer controlled, I'm not sure which sensor you would have to check. I'm not even sure if the Aveo has a knock sensor.
Keep us posted.