http://bugs.freedesktop.org/show_bug.cgi?id=15881

           Summary: [i915 i965] glean case
                    api2/fragProg1/texCombine/vertProg1 failed with
                    assertion failure
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i915
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


System Environment:
--------------------------

--Platform: 915G, G33, G965


--2D driver:
commit 548d4c0f979a72eac5d0c9c76da12f0bd05e64e1 

--3D driver:
commit 990e010394a2685c1daeaef61cf4f7e2a0ba419e

--Xserver:
commit cf20df39cc78203d17b99223908af388ecbf7d0e 

--Drm
commit b44f2da380e78769b58c751e81f376f0fa1f48aa 

--Kernel:
2.6.23.1


Bug detailed description:
-------------------------
glean case api2/fragProg1/texCombine/vertProg1 failed with following assertion
failure:

glean: shader/program.c:306: _mesa_delete_program: Assertion
`prog->RefCount==0' failed.

and I see api2 only failure on i965

back trace:
0x0000003a38c30ec5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x0000003a38c30ec5 in raise () from /lib64/libc.so.6
#1  0x0000003a38c32970 in abort () from /lib64/libc.so.6
#2  0x0000003a38c2a11f in __assert_fail () from /lib64/libc.so.6
#3  0x00007f638dc08bbc in _mesa_delete_program (ctx=<value optimized out>,
        prog=0x8ba450) at shader/program.c:306
#4  0x00007f638dc1153d in _mesa_free_shader (ctx=0x5cc100, sh=0x8ba360)
        at shader/shader_api.c:251
#5  0x00007f638dc1243d in _mesa_reference_shader (ctx=0x5cc100, ptr=0x8c9690,
        sh=0x0) at shader/shader_api.c:288
#6  0x00007f638dc1288d in _mesa_free_shader_program_data (ctx=0x5cc100,
        shProg=0x8c95f0) at shader/shader_api.c:126
#7  0x00007f638dc128f9 in _mesa_free_shader_program (ctx=0xcfa, shProg=0xcfa)
        at shader/shader_api.c:148
#8  0x00007f638dc1299d in _mesa_reference_shader_program (ctx=0x5cc100,
        ptr=0x5df2a8, shProg=0x0) at shader/shader_api.c:184
#9  0x0000000000412a8b in GLEAN::API2Test::testShaderObjectFuncs (
        this=0x5a8940) at tapi2.cpp:491
#10 0x00000000004114b6 in GLEAN::API2Test::runSubTests (this=0x5a8940,
        [EMAIL PROTECTED]) at tapi2.cpp:990
#11 0x000000000041361c in GLEAN::API2Test::runOne (this=0x5a8940, [EMAIL 
PROTECTED],
        w=<value optimized out>) at tapi2.cpp:1007
#12 0x00000000004140d7 in GLEAN::BaseTest<GLEAN::MultiTestResult>::run (
        this=0x5a8940, environment=<value optimized out>) at tbase.h:290
---Type <return> to continue, or q <return> to quit---
#13 0x000000000040e076 in main (argc=6, argv=<value optimized out>)
        at main.cpp:128


Reproduce steps:
----------------
1. start X
2. ./glean -r log -t "api2 fragProg1 vertPorg1"



Current result:
----------------
glean: shader/program.c:306: _mesa_delete_program: Assertion
`prog->RefCount==0' failed.
test.sh: line 12:  4346 Aborted                 ./glean -o -r test -t api2


Expected result:
----------------
glean case api2/fragProg1/texCombine/vertProg1 should pass


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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to