Breakpoint 1, _mesa_warning (ctx=0x8426480, fmtString=0xeaa77c "glDraw[Range]Elements(start %u, end %u, count %d, type 0x%x, indices=%p)\n\tend is out of bounds (max=%u) Element Buffer %u (size %d)\n\tThis should probably be fixed in the application.") at main/imports.c:909 909 _mesa_warning( GLcontext *ctx, const char *fmtString, ... ) (gdb) bt #0 _mesa_warning (ctx=0x8426480, fmtString=0xeaa77c "glDraw[Range]Elements(start %u, end %u, count %d, type 0x%x, indices=%p)\n\tend is out of bounds (max=%u) Element Buffer %u (size %d)\n\tThis should probably be fixed in the application.") at main/imports.c:909 #1 0x00d38685 in vbo_exec_DrawRangeElementsBaseVertex (mode=4, start=6803, end=8483, count=3309, type=5123, indices=0x6a62, basevertex=0) at vbo/vbo_exec_array.c:780 #2 0x00d387be in vbo_exec_DrawRangeElements (mode=4, start=6803, end=8483, count=3309, type=5123, indices=0x6a62) at vbo/vbo_exec_array.c:863 #3 0x00c94ab6 in neutral_DrawRangeElements (mode=4, start=6803, end=8483, count=3309, type=5123, indices=0x6a62) at main/vtxfmt_tmp.h:353 #4 0x081d1bb3 in drawtris (bbmin=..., bbmax=..., scale=4096, ranges=0x0, numranges=-3) at engine/renderva.cpp:7 #5 drawvatris (bbmin=..., bbmax=..., scale=4096, ranges=0x0, numranges=-3) at engine/renderva.cpp:14 #6 renderdepthobstacles (bbmin=..., bbmax=..., scale=4096, ranges=0x0, numranges=-3) at engine/renderva.cpp:821 #7 0x081ba0ca in depthfxtexture::dorender (this=0x8364780) at engine/depthfx.h:109 #8 0x081b0a4a in render () at engine/rendertarget.h:445 #9 drawdepthfxtex () at engine/depthfx.h:205 #10 0x08156d72 in gl_drawframe (w=800, h=600) at engine/rendergl.cpp:1868 #11 0x080b368f in main (argc=3, argv=0xbffff444) at engine/main.cpp:1178 (gdb) c Continuing. Mesa warning: glDraw[Range]Elements(start 6803, end 8483, count 3309, type 0x1403, indices=0x6a62) end is out of bounds (max=90) Element Buffer 11 (size 62088) This should probably be fixed in the application. Breakpoint 1, _mesa_warning (ctx=0x8426480, fmtString=0xeaa834 "glDraw[Range]Elements(start %u, end %u, count %d, type 0x%x, indices=%p)\n\tindex=%u is out of bounds (max=%u) Element Buffer %u (size %d)\n\tSkipping the glDrawRangeElements() call") at main/imports.c:909 909 _mesa_warning( GLcontext *ctx, const char *fmtString, ... ) (gdb) bt #0 _mesa_warning (ctx=0x8426480, fmtString=0xeaa834 "glDraw[Range]Elements(start %u, end %u, count %d, type 0x%x, indices=%p)\n\tindex=%u is out of bounds (max=%u) Element Buffer %u (size %d)\n\tSkipping the glDrawRangeElements() call") at main/imports.c:909 #1 0x00d38627 in vbo_exec_DrawRangeElementsBaseVertex (mode=4, start=6803, end=8483, count=3309, type=5123, indices=0x6a62, basevertex=0) at vbo/vbo_exec_array.c:806 #2 0x00d387be in vbo_exec_DrawRangeElements (mode=4, start=6803, end=8483, count=3309, type=5123, indices=0x6a62) at vbo/vbo_exec_array.c:863 #3 0x00c94ab6 in neutral_DrawRangeElements (mode=4, start=6803, end=8483, count=3309, type=5123, indices=0x6a62) at main/vtxfmt_tmp.h:353 #4 0x081d1bb3 in drawtris (bbmin=..., bbmax=..., scale=4096, ranges=0x0, numranges=-3) at engine/renderva.cpp:7 #5 drawvatris (bbmin=..., bbmax=..., scale=4096, ranges=0x0, numranges=-3) at engine/renderva.cpp:14 #6 renderdepthobstacles (bbmin=..., bbmax=..., scale=4096, ranges=0x0, numranges=-3) at engine/renderva.cpp:821 #7 0x081ba0ca in depthfxtexture::dorender (this=0x8364780) at engine/depthfx.h:109 #8 0x081b0a4a in render () at engine/rendertarget.h:445 #9 drawdepthfxtex () at engine/depthfx.h:205 #10 0x08156d72 in gl_drawframe (w=800, h=600) at engine/rendergl.cpp:1868 #11 0x080b368f in main (argc=3, argv=0xbffff444) at engine/main.cpp:1178 (gdb) c Continuing. Mesa warning: glDraw[Range]Elements(start 6803, end 8483, count 3309, type 0x1403, indices=0x6a62) index=8483 is out of bounds (max=90) Element Buffer 11 (size 62088) Skipping the glDrawRangeElements() call