I believe this is the same bug as a similar long-standing Debian amaya bug. They seem to have narrowed it down to the way amaya calls glXMakeCurrent() through libgl1-mesa-glx.
** Bug watch added: Debian Bug tracker #357439 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357439 ** Also affects: amaya (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357439 Importance: Unknown Status: Unknown -- amaya crashes: Gdk-ERROR **: BadMatch https://launchpad.net/bugs/50113 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs