Bug 13636 - [TTM] assertion failure if Display list is nested
Summary: [TTM] assertion failure if Display list is nested
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Eric Anholt
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-12 22:50 UTC by WuNian
Modified: 2009-08-24 12:28 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
test case (1.37 KB, text/plain)
2007-12-12 23:03 UTC, WuNian
Details

Description WuNian 2007-12-12 22:50:47 UTC
If execute a display list which call another display list, it will output below info:
dlist: intel_bufmgr_ttm.c:634: dri_ttm_bo_map: Assertion `buf->virtual == ((void *)0)' failed.

The backtrace info:

(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x009d1159 in raise () from /lib/libc.so.6
#2  0x009d26e3 in abort () from /lib/libc.so.6
#3  0x009caabd in __assert_fail () from /lib/libc.so.6
#4  0xb7a7be95 in dri_ttm_bo_map (buf=0x1c18, write_enable=0 '\0')
    at intel_bufmgr_ttm.c:634
#5  0xb7a3ce0e in dri_bo_map (buf=0x8327e68, write_enable=0 '\0')
    at ../common/dri_bufmgr.c:81
#6  0xb7a3cf21 in dri_bo_get_subdata (bo=0x8327e68, offset=24, size=8, 
    data=0xbf9ad6ec) at ../common/dri_bufmgr.c:130
#7  0xb7a46855 in intel_bufferobj_get_subdata (ctx=0x8057c30, target=0, 
    offset=24, size=8, data=0xbf9ad6ec, obj=0x8327e38)
    at intel_buffer_objects.c:188
#8  0xb7b00ad1 in vbo_save_playback_vertex_list (ctx=0x8057c30, data=0x8327438)
    at vbo/vbo_save_draw.c:57
#9  0xb7a95c35 in execute_list (ctx=0x8057c30, list=Variable "list" is not available.
) at main/dlist.c:5703
#10 0xb7a98fd7 in _mesa_CallList (list=2) at main/dlist.c:6786
#11 0xb7a91549 in _mesa_save_CallList (list=2) at main/dlist.c:963
#12 0xb7af000b in neutral_CallList (i=2) at main/vtxfmt_tmp.h:298
#13 0xb7a91549 in _mesa_save_CallList (list=2) at main/dlist.c:963
#14 0xb7f0918f in glCallList (list=2) at ../../../src/mesa/glapi/glapitemp.h:95
#15 0x080489cb in CreateList (whichList=1, listNum=1, mode=4865) at dlist.c:30
#16 0x08048a80 in test () at dlist.c:56
#17 0x08048af7 in display () at dlist.c:68
#18 0xb7e9953f in processWindowWorkList (window=0x804eae0) at glut_event.c:1306
#19 0xb7e9a012 in glutMainLoop () at glut_event.c:1353
#20 0x08048b73 in main (argc=1, argv=0xbf9ae2e4) at dlist.c:80

I use tip of drm and Mesa:
Drm commit: 7dcaf0cdbb57dcf85aa8798736948c280d3966b2
Mesa commit: 00e10a1385bfd376f5f45ad94e3543ac87f15de8
Comment 1 WuNian 2007-12-12 23:03:22 UTC
Created attachment 13083 [details]
test case
Comment 2 WuNian 2008-01-17 18:07:26 UTC
The bug also exists with i965 driver.
Comment 3 WuNian 2008-02-21 17:54:06 UTC
This bug does not exist both with i915 and i965 driver now. Close it.
Comment 4 Adam Jackson 2009-08-24 12:28:40 UTC
Mass version move, cvs -> git


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.