[Bug 32733] arbocclude2 from mesa-demos segfaults

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 7 15:21:16 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=32733

--- Comment #1 from Brian Paterni <bpaterni at gmail.com> 2011-01-07 15:21:15 PST ---
(In reply to comment #0)
> When trying to run arbocclude2 on my system it gives me this output:
> OQ2 supported
> Depthbits: 24
> [1]    27415 segmentation fault  arbocclude2

Instead of a segmentation fault, I'm getting an assertion failure at
src/mesa/state_tracker/st_cb_queryobj.c:100

backtrace:
#0  0x00007ffff6e79165 in raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff6e7bf70 in abort () at abort.c:92
#2  0x00007ffff6e722b1 in __assert_fail (assertion=0x7ffff3ff6558 "0 &&
\"unexpected query target in st_BeginQuery()\"", file=<value optimized out>,
line=100, 
    function=0x7ffff3ff65c0 "st_BeginQuery") at assert.c:81
#3  0x00007ffff3e9dd06 in st_BeginQuery (ctx=<value optimized out>, q=0xbc2480)
at state_tracker/st_cb_queryobj.c:100
#4  0x0000000000401ca1 in Display () at arbocclude2.c:145
#5  0x00007ffff71c6a7b in processWindowWorkList (window=0x60f300) at
glut_event.c:1307
#6  0x00007ffff71c7b7c in __glutProcessWindowWorkLists () at glut_event.c:1358
#7  glutMainLoop () at glut_event.c:1379
#8  0x0000000000402030 in main (argc=1, argv=<value optimized out>) at
arbocclude2.c:337

Looking at both arbocclude2.c and st_cb_queryobj.c, it looks like st_BeginQuery
is missing a case for GL_ANY_SAMPLES_PASSED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list