星期一, 十月 16, 2006

色深导致firefox崩溃

不仅是FF,就连flock也崩溃了,只要打开带有flash的网页,就会自动关闭,令人意想不到,实在有点后怕。
查了好多的东东,总算找到了答案,呵呵,由于升级了sever-xorg,才导致了此类问题吧,因为在系统没有升级完毕之前,flock的flash插件是没有任何问题的。
找到的关于FF的crash问题解决方法。
If you display a webpage with a flash animation in it (for example
http://www.stadtplandienst.de) Firefox will crash.

This crash only appears when the following things are true:
XServer uses the composite extension und has the color-depth set to 16 bit.
If the composite extension is switched off or the color-depth is set to 24 bit,
the problem doesn't occour.

If the flash-plugin itself is renamed or deleted, everything works only the
flash is not shown any more ("Click here to download the plugin").

Reproducible: Always

Steps to Reproduce:
1. Set x-server to use the composite extension and set the color depth to 16
bit
2. Start firefox, goto a webpage with flash e.g. www.stadtplandienst.de
3. Crash
Actual Results:
In the console, the following message is shown and the programm will die with
all remaining processes.

解决方法很简单,修改xorg.conf将默认的色深改为24位,如果你原来默认的就是24为,那肯定是加载了composite extension这一项,将
Section "Extensions"
Option "Composite" "Enable"
EndSection

删除就ok了。

没有评论: