I think that the logic for freeing GL contexts introduced by "Fix AIGLX VT switching." is inverted. As it is now, GL context destruction is deferred for glxDRIEnterVT().
Created attachment 7800 [details] [review] trivial patch
committed (f17e3c34dfd1f1418440bdebf45764e4dbf550f0)
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.