Code:
OpenGL error "invalid operation" during: after setup
ERROR: OpenGL error "invalid operation" during: render finish
ERROR: OpenGL error "invalid operation" during: render finish
ERROR: OpenGL error "invalid operation" during: render finish
ERROR: OpenGL error "invalid operation" during: render finish
ERROR: OpenGL error "invalid operation" during: render finish
ERROR: OpenGL error "invalid operation" during: render finish
ERROR: OpenGL error "invalid operation" during: render finish
ERROR: OpenGL error "invalid operation" during: render finish
ERROR: OpenGL error "invalid operation" during: render finish
OpenGL error "invalid operation" during: after setup
ERROR: OpenGL error "invalid operation" during: render finish
ERROR: OpenGL error "invalid operation" during: render finish
^C
Program received signal SIGINT, Interrupt.
0xb7fe2424 in __kernel_vsyscall ()
(gdb) ^CQuit
(gdb) backtrace
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb7e62edb in write () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7dde61a in ?? () from /usr/lib/libstdc++.so.6
#3 0xb7d86eae in std::basic_filebuf<char, std::char_traits<char> >::_M_convert_to_external(char*, int) () from /usr/lib/libstdc++.so.6
#4 0xb7d86ff2 in std::basic_filebuf<char, std::char_traits<char> >::overflow(int) ()
from /usr/lib/libstdc++.so.6
#5 0xb7d85dc8 in std::basic_filebuf<char, std::char_traits<char> >::sync() ()
from /usr/lib/libstdc++.so.6
#6 0xb7dafd1f in std::ostream::flush() () from /usr/lib/libstdc++.so.6
#7 0xb7dafddd in std::basic_ostream<char, std::char_traits<char> >& std::flush<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&) ()
from /usr/lib/libstdc++.so.6
#8 0xb7daf13f in std::ostream::operator<<(std::ostream& (*)(std::ostream&)) ()
from /usr/lib/libstdc++.so.6
#9 0x081c280d in logging::splitterstreambuf::sync (this=0xbffff268) at include/logging.h:192
#10 0xb7dafd1f in std::ostream::flush() () from /usr/lib/libstdc++.so.6
#11 0xb7dafddd in std::basic_ostream<char, std::char_traits<char> >& std::flush<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&) ()
from /usr/lib/libstdc++.so.6
#12 0xb7daf13f in std::ostream::operator<<(std::ostream& (*)(std::ostream&)) ()
from /usr/lib/libstdc++.so.6
#13 0x081c2375 in logging::logstreambuf::sync (this=0xbffff208) at include/logging.h:105
#14 0xb7dafd1f in std::ostream::flush() () from /usr/lib/libstdc++.so.6
#15 0xb7db13db in std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&) ()
from /usr/lib/libstdc++.so.6
#16 0xb7daf13f in std::ostream::operator<<(std::ostream& (*)(std::ostream&)) ()
from /usr/lib/libstdc++.so.6
#17 0x081de18b in OPENGL_UTILITY::CheckForOpenGLErrors (activity_description=...,
error_output=...) at src/opengl_utility.cpp:21
#18 0x08133b0c in GRAPHICS_SDLGL::Render (this=0xbfff9e50, input=0xbfffa3f8, output=...,
error_output=...) at src/graphics.cpp:1523
#19 0x08132ba3 in GRAPHICS_SDLGL::RenderDrawlists (this=0xbfff9e50, dynamic_drawlist=...,
static_drawlist=..., extra_textures=..., render_scene=..., render_output=...,
error_output=...) at src/graphics.cpp:1421
#20 0x081325e5 in GRAPHICS_SDLGL::DrawScene (this=0xbfff9e50, error_output=...)
---Type <return> to continue, or q <return> to quit---
at src/graphics.cpp:1366
#21 0x080f0964 in GAME::BeginDraw (this=0xbfff9964) at src/game.cpp:575
#22 0x080f0be7 in GAME::MainLoop (this=0xbfff9964) at src/game.cpp:602
#23 0x080ec635 in GAME::Start (this=0xbfff9964, args=...) at src/game.cpp:212
#24 0x081c1b2e in main (argc=2, argv=0xbffff4d4) at src/main.cpp:72