I have a 2008 Aveo which stalls a lot. When it stalls, and I try to start it, it won't start, and the dashboard lights will start flashing. I have to unhook the hot terminal on the battery for a few minutes and let the computer reset, and sometimes that will allow it to start.

Any idea on what could be the culprit?