https://bugs.freedesktop.org/show_bug.cgi?id=72926
--- Comment #11 from Roland Scheidegger <srol...@vmware.com> --- (In reply to comment #10) > Here is a small test program that crashes with Mesa 10.0 (and master). On > startup, it immediately crashes. A heap-buffer-overflow according to ASAN. > > Some notes: > - It has something to do with anti-aliasing (with GL_LINE_SMOOTH disabled, > it runs fine). Ahh yes this makes sense, this must be due to the additional pipeline stage draw injects for smooth lines (probably would crash with other additional pipeline stages too, not just the one for aa lines). I suspect the interaction with front face injection and those additional stages is just broken, as this probably wasn't tested all that much. > - The problem is probably related to negative vertices and clipping. If the > triangle vertex (-10,100) is changed to (-1,100), it still crashes but > (0,100) is fine. > - It is an combination of vertices, if I remove two vertices for GL_LINES, > then it won't crash. > > Another hint is the following assertion failure when replacing GL_LINES by > GL_POINTS: > > lp_setup_vbuf.c:112:lp_setup_unmap_vertices: Assertion > `setup->vertex_buffer_size >= (max_index+1) * setup->vertex_size' failed. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev