https://bugs.freedesktop.org/show_bug.cgi?id=48535
--- Comment #2 from Vadim ptpzz@yandex.ru 2012-04-11 16:08:59 PDT --- I guess it's a mesa core problem. Debug build of the mesa also prints the following error message when running the attached test app:
"Mesa: User error: GL_INVALID_OPERATION in Inside glBegin/glEnd"
It's printed from the ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL macro in the _mesa_GetError(), called from gl-bug.c:6823. Though it's not inside Begin/End.
Probably the error reported later after the glColor call at the line 7353 is just a consequence of the real bug somewhere in the display list handling.