Can you get a backtrace with GALLIUM_THREAD=0 ? I'd like to know where indexbuf == NULL is coming from.