stardict经常使CPU飙到100%
一直觉得风扇转的厉害,top一下看到凶手stardict不是一次两次了,打开stardict一段时间就会这样top - 10:08:48 up1:37,6 users,load average: 1.53, 1.55, 1.30
Tasks: 153 total, 2 running, 151 sleeping, 0 stopped, 0 zombie
Cpu(s): 18.9%us, 20.2%sy,0.0%ni, 59.4%id,1.5%wa,0.0%hi,0.0%si,0.0%st
Mem: 2032216k total,1456124k used, 576092k free, 739100k buffers
Swap:2104472k total, 0k used,2104472k free, 348236k cached
PID USER PRNIVIRTRESSHR S %CPU %MEM TIME+COMMAND
4046 sunshine20 0 8010819m12m R1011.065:46.98 stardict
3934 sunshine20 0360m88m33m S 24.4 3:41.70 firefox
1 root 20 01880632564 S 00.0 0:01.48 init
2 root 15-5 0 0 0 S 00.0 0:00.00 kthreadd
3 root RT-5 0 0 0 S 00.0 0:00.00 migration/0
4 root 15-5 0 0 0 S 00.0 0:00.21 ksoftirqd/0
5 root RT-5 0 0 0 S 00.0 0:00.00 migration/1
6 root 15-5 0 0 0 S 00.0 0:00.02 ksoftirqd/1
7 root 15-5 0 0 0 S 00.0 0:00.06 events/0
8 root 15-5 0 0 0 S 00.0 0:00.15 events/1
9 root 15-5 0 0 0 S 00.0 0:00.00 khelper
[ 本帖最后由 zy_sunshine 于 2010-3-27 13:06 编辑 ] 随机 还是 总是这样子
如何重现 :shock: $ stardict
Dict.cn网络词典插件加载成功。
用户词典插件加载成功。
PowerWord数据解析插件加载成功。
HTML数据解析插件加载成功。
Man虚拟词典插件加载成功。
更新信息插件加载成功。
QQWry插件加载成功。
WordNet数据解析插件加载成功。
Wiki数据解析插件加载成功。
WordNet词典渲染插件加载成功。
XDXF数据解析插件加载成功。
bookname: 朗道汉英字典5.0 , wordcount 405719
bookname: 朗道英汉字典5.0 , wordcount 435468
/usr/share/stardict/sounds/buttonactive.wav:
File Size: 1.51k Bit Rate: 199k
Encoding: Unsigned PCM
Channels: 1 @ 8-bit
Samplerate: 22050Hz
Replaygain: off
Duration: 00:00:00.06
In:100%00:00:00.06 Out:2.92k [ -|- ] Clip:0
Done.
/usr/share/stardict/sounds/buttonactive.wav:
File Size: 1.51k Bit Rate: 199k
Encoding: Unsigned PCM
Channels: 1 @ 8-bit
Samplerate: 22050Hz
Replaygain: off
Duration: 00:00:00.06
.........................
.........................
In:100%00:00:00.06 Out:2.92k [ -|- ] Clip:0
Done.
/usr/share/stardict/sounds/buttonactive.wav:
File Size: 1.51k Bit Rate: 199k
Encoding: Unsigned PCM
Channels: 1 @ 8-bit
Samplerate: 22050Hz
Replaygain: off
Duration: 00:00:00.06
In:100%00:00:00.06 Out:2.92k [ -|- ] Clip:0
Done.
(stardict:13206): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
看到错误了 (stardict:13206): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
之后cpu就飙了 (stardict:13206): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
(stardict:13206): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: 第35行第9个字符出错:无效的 UTF-8 编码的文本名称 - “ (using Motif/LessTif) was originally written by MaSu\xa1\xafan
<[email protected]> in 1999.
”无效
(stardict:13206): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: 第35行第9个字符出错:无效的 UTF-8 编码的文本名称 - “ (using Motif/LessTif) was originally written by MaSu\xa1\xafan
<[email protected]> in 1999.
”无效 每次打开stardict不长时间就这样了 从来没有遇上星际译王的CPU占用率会飙得很高的问题,“ Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()”这个问题我也有,但只是在没有连接到网络词典的时候出现,而且只限于第一次。 重装不同版本的stardict试一试。确实不行wine一个有道字典3.0也不错: http://forum.ubuntu.com.cn/viewtopic.php?f=121&t=255071&sid=849f7efa08f214dfa0185280ebd55f4d 支持鼠标即指即译。
页:
[1]