https://bugs.freedesktop.org/show_bug.cgi?id=48535
Bug #: 48535 Summary: Spurious GL_INVALID_OPERATION error generated by glColor() Classification: Unclassified Product: Mesa Version: 7.10 Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: minor Priority: low Component: Drivers/DRI/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: i.am.inuyasha@gmail.com
Created attachment 59785 --> https://bugs.freedesktop.org/attachment.cgi?id=59785 Program that reproduces the issue
In some unknown circumstance glColor() can raise a GL_INVALID_OPERATION error, which according to the manual should never happen. The attached program reproduces the issue. It's generated from a log of GL calls made by another program, so it's quite long (and some texture-related commands have been stripped out, which I verified does not affect the result). The output I get is:
Error 1282 at line 7353
which is consistent with the original program's issue - glColor() suddenly raises this error after making all these GL calls.
https://bugs.freedesktop.org/show_bug.cgi?id=48535
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #59785|text/x-csrc |text/plain mime type| | Attachment #59785|0 |1 is patch| |
https://bugs.freedesktop.org/show_bug.cgi?id=48535
--- Comment #1 from Alex Deucher agd5f@yahoo.com 2012-04-11 05:43:45 PDT --- What card and version of mesa are you using? Please attach your xorg log and dmesg output.
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.
https://bugs.freedesktop.org/show_bug.cgi?id=48535
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Component|Drivers/DRI/Radeon |Mesa core
dri-devel@lists.freedesktop.org