Add a SyscallObserver to an active process like firefox-bin let it run for a while and eventually: The program 'Frysk' received an X Window System error. This probably reflects a bug in the program. The error was 'BadRequest (invalid request code or no such operation)'. (Details: serial 8998295 error_code 1 request_code 0 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)
Looks very similar to: http://sourceware.org/bugzilla/show_bug.cgi?id=3179 Dupe?
*** This bug has been marked as a duplicate of 3179 ***