Bug 16156 - glDrawElements seg fault if display list mode is GL_COMPILE
Summary: glDrawElements seg fault if display list mode is GL_COMPILE
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: haihao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-29 19:32 UTC by WuNian
Modified: 2008-06-01 18:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
test case (1.97 KB, text/plain)
2008-05-29 19:32 UTC, WuNian
Details

Description WuNian 2008-05-29 19:32:39 UTC
Created attachment 16817 [details]
test case

The bug only occurs with mesa_7_0 branch.

Run attached test case, it will seg fault with following backtrace info:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211413776 (LWP 8842)]
0xb7b5bb21 in _save_OBE_DrawElements (mode=7, count=4, type=5125, 
    indices=0x0) at vbo/vbo_save_api.c:880
880     vbo/vbo_save_api.c: No such file or directory.
        in vbo/vbo_save_api.c
(gdb) bt
#0  0xb7b5bb21 in _save_OBE_DrawElements (mode=7, count=4, type=5125, 
    indices=0x0) at vbo/vbo_save_api.c:880
#1  0xb7f6e7a1 in glDrawElements (mode=7, count=4, type=5125, indices=0x0)
    at ../../../src/mesa/glapi/glapitemp.h:1655
#2  0x08048b81 in test () at api-color.c:62
#3  0x08048c27 in display () at api-color.c:79
#4  0xb7f044cf in processWindowWorkList (window=0x804f680)
    at glut_event.c:1306
#5  0xb7f04fa2 in glutMainLoop () at glut_event.c:1353
#6  0x08048c9f in main (argc=Cannot access memory at address 0x0
) at drawele.c:93
Comment 1 Brian Paul 2008-05-30 07:47:44 UTC
fixed in git.
Comment 2 WuNian 2008-06-01 18:34:06 UTC
Verified. Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.