Chinaunix首页 | 论坛 | 博客
  • 博客访问: 92506488
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类: LINUX

2008-05-02 15:12:11

文章分类:

系统环境:

Ubuntu 7.10(gutsy)

Kernel Linux 2.6.22-14-generic

GNOME 2.20.1

系统更新xserver-xorg-core后,运行eclispe得到下面的错误:

" The program 'Eclipse' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 436 error_code 11 request_code 147 minor_code 5)
(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.)"

解决方法一:

编辑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。

阅读(350) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~