If the R200_NO_VTXFMT env var is set, the r200 driver will segfault during context destruction. The problem is that the env var isn't tested to determine if r200VtxfmtDestroy should be called. I suspect that the radeon and r300 drivers will have a similar problem, but I have not verified that yet. I believe we should do the following two things: 1. Add a flag that is set when r200VtxfmtInit is called. Use this flag, and *only* this flag to determine if r200VtxfmtDestroy should be called. 2. Mark all the env vars that are replaced by dri conf as deprecated. Remove them in the next release (i.e., X.org 7.1).
Created attachment 3242 [details] [review] mesa-6.3.2-freebsd.patch This implements item #1 in the original bug description.
as far as this env var, I'd say skip directly to the end of #2. It's not something that normal users are using.
I removed support for R200_NO_VTXFMT. Closing as fixed. We can go through and gut all the env variables from all the drivers later.
*** Bug 4872 has been marked as a duplicate of this bug. ***
*** Bug 6029 has been marked as a duplicate of this bug. ***
Mass version move, cvs -> git
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.