https://bugs.winehq.org/show_bug.cgi?id=45946
--- Comment #9 from Andrew Wesie awesie@gmail.com --- I can happily report that I found the bug in Mesa. I will file a bug report upstream at some point, but honestly right now I never want to see the Mesa source code again in my life.
The bug only affects r600 driver + query buffer objects.