Created attachment 111311 [details]
Makefile for demo program
I have found a crash in the i965 gen6 code path on trunk.
The crash occurs if you attempt to perform transform feedback after
you have rendered using a geometry shader.
The work around is to draw something without a geometry shader
before attempting to do any transform feedback.
The attached files contains a simplified demonstration program
Will hopefully generate 'will_crash' and 'workaround' executables.
I ran 'will_crash' in gdb with debug versions of mesa trunk @b3057f8
installed on my system. I have attached the backtrace and other info
gleaned from gdb. They are in the attached CRASH.txt file.
Created attachment 111312 [details]
Created attachment 111313 [details]
Details about crash from GDB
This seems to be a gen6 specific crash, updated summary to reflect that. I'll look into it later this week when I am back in the office where I have gen6 hardware available.
Sent a patch for review to the mailing list:
Fixed in master with:
6367ca8b41 i965/gen6: Fix crash with VS+TF after rendering with GS