在 Lucid下Eclipse会经常莫名其妙的挂掉
控制台信息
The program 'Eclipse' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
(Details: serial 57177 error_code 158 request_code 148 minor_code 7)
(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.)
就是在键入Alt+/提示的 时候,回车选择某条后就挂掉了。
google看了貌似是新版GTK的问 题。
我用如下脚本启动即可解决:
#!/bin/sh export GDK_NATIVE_WINDOWS=true export GRE_HOME=/tmp /home/forrest/Programs/eclipse/eclipse
转自:http://lipeiyue.com/2010/4/3/Lucid-Eclipse-crash/