我当前的系统:
Ubuntu7.10(gutsy)
KernelLinux2.6.22-14-generic
GNOME2.20.1
2008-01-18日系统更新xserver-xorg-core后,运行eclispe得到下面的错误:
"Theprogram''Eclipse''receivedanXWindowSystemerror.
Thisprobablyreflectsabugintheprogram.
Theerrorwas''BadAlloc(insufficientresourcesforoperation)''.
(Details:serial436error_code11request_code147minor_code5)
(Notetoprogrammers:normally,Xerrorsarereportedasynchronously;
thatis,youwillreceivetheerrorawhileaftercausingit.
Todebugyourprogram,runitwiththe--synccommandline
optiontochangethisbehavior.Youcanthengetameaningful
backtracefromyourdebuggerifyoubreakonthegdk_x_error()function.)"
解决方法一:
编辑gedit/etc/X11/xorg.conf
添加下面的部分,然后重启gdm
Section"Extensions"
Option"MIT-SHM""no"
EndSection
解决方法二:
使用新立得,查找xserver-xorg-core,然后将其版本从
2:1.3.0.0.dfsg-12ubuntu8.1
强制降到
2:1.3.0.0.dfsg-12ubuntu8
然后重启X
下载本文示例代码
阅读(235) | 评论(0) | 转发(0) |