[Bug 2707] crash in glReadBuffer with nvidia-glx