Bug 34049 - r600g: assertion failure (regression)
Summary: r600g: assertion failure (regression)
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
Depends on:
Reported: 2011-02-08 12:17 UTC by Rafael Monica
Modified: 2011-02-08 23:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


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.


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

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.