Maybe the crash actually happens because of glamor rendering - setting R600_DEBUG won't do anything in that case. Does this patch to Mesa make any difference? https://bugs.freedesktop.org/attachment.cgi?id=105745