Lucid 下Eclipse会经常莫名其妙的挂掉问题

在使用Eclipse进行编程时,遇到在输入Alt+/提示后选择某条后程序挂掉的问题,通过使用特定脚本可以解决此问题。文章详细介绍了问题原因及解决方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在 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/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值