Bug 34049 - r600g: assertion failure (regression)
r600g: assertion failure (regression)
Status: RESOLVED FIXED
Product: Mesa
Classification: Unclassified
Component: Mesa core
git
Other All
: medium normal
Assigned To: mesa-dev
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-08 12:17 UTC by Rafael Monica
Modified: 2011-02-08 23:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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