The program 'client' 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 834 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.)
Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
资源不可用问题,导致这个问题的根源可能有:
1、一个程序中的2个线程互相抢占GUI资源。
2、一个线程中连续次数访问资源,以致cpu响应繁忙。