Bug 34049

Summary: r600g: assertion failure (regression)
Product: Mesa Reporter: Rafael Monica <monraaf>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Rafael Monica 2011-02-08 12:17:10 UTC
Mesa git master causes an assertion failure on r600g with the following piglit tests.

bugs/fdo23670-drawpix_stencil
general/stencil-drawpixels

stencil-drawpixels: program/program.c:452: _mesa_reference_program: Assertion `(*ptr)->RefCount > 0' failed
Aborted


git bisect says:

5cbff0932e498f49b57cbb71037b93416bfe30e0 is the first bad commit
commit 5cbff0932e498f49b57cbb71037b93416bfe30e0
Author: Brian Paul <brianp@vmware.com>
Date:   Tue Feb 8 08:05:14 2011 -0700

    st/mesa: free the temporary bitmap/drawpix shader code
    
    Fixes a per-shader memory leak when drawing glBitmaps, glDrawPixels
    or glCopyPixels.
    
    NOTE: This is a candidate for the 7.9 and 7.10 branches.
Comment 1 Brian Paul 2011-02-08 17:25:01 UTC
This should be fixed with commit 7230e1a22822ce91f2d2555da53404f195fa9aaf.
Can you retest and close if fixed?  I tested w/ softpipe and llvmpipe here but not r600g.
Comment 2 Rafael Monica 2011-02-08 23:17:36 UTC
yeah, that commit fixed it here also on r600g

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.