LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1211|回复: 5

firefox自动退出,error:The program 'gecko' received an X Window System error.

[复制链接]
发表于 2008-2-17 16:52:13 | 显示全部楼层 |阅读模式
我用的firefox版本是2.0.12,每次浏览finance.sina.com.cn时就会自动退出,用命令行启动,错误提示如下:
  1. The program 'gecko' received an X Window System error.
  2. This probably reflects a bug in the program.
  3. The error was 'BadAlloc (insufficient resources for operation)'.
  4.   (Details: serial 27972 error_code 11 request_code 53 minor_code 0)
  5.   (Note to programmers: normally, X errors are reported asynchronously;
  6.    that is, you will receive the error a while after causing it.
  7.    To debug your program, run it with the --sync command line
  8.    option to change this behavior. You can then get a meaningful
  9.    backtrace from your debugger if you break on the gdk_x_error() function.)
  10. firefox-bin exited with non-zero status (1)
复制代码
怎么解决?

另外,firefox打开有flash的页面就会出现CPU占用100%的问题,怎么解决呢?
谢谢!
发表于 2008-2-17 17:01:10 | 显示全部楼层
是这个吗?http://www.linuxsir.cn/bbs/thread240966.html
还可以看看:https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/23392
flash的话,好像没什么办法,用adblock弄掉flash吧
回复 支持 反对

使用道具 举报

发表于 2008-2-17 17:28:42 | 显示全部楼层
如果是 net-www/netscape-flash-9.0.115.0,建议你先降到9.0.48.0-r1试试看。
firefox打开有flash的页面就会出现CPU占用100%的问题,怎么解决呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-17 17:47:30 | 显示全部楼层
XLIB_SKIP_ARGB_VISUALS=1系统参数添加在哪里?
我在命令行中export XLIB_SKIP_ARGB_VISUALS=1后运行firefox还是没能解决问题。
回复 支持 反对

使用道具 举报

发表于 2008-2-17 20:00:42 | 显示全部楼层
用这样运行firefox:

# XLIB_SKIP_ARGB_VISUALS=1 firefox
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-17 22:29:15 | 显示全部楼层
我这样运行过firefox
还是不行。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表