Created attachment 100512 [details]
full testcase
Sorry for the delay. Attached is a new test case that actually uses the
shaders. When it calls glDrawElements(), everything goes to hell, triggering
random segfault, graphics memory corruption, and kernel panics.