为什么在slackware9.0下窗口很容易crash
时间:2004-02-14
来源:互联网
其他的一些软件有时也会突然crash。
我用的是PIII的本本,128M内存。我老怀疑是因为申请不到内存导致窗口crash,不知各位大侠有没有碰到我这种情况:(
作者: barbie2pig 发布时间: 2004-02-14
作者: nbxmedia 发布时间: 2004-02-14
作者: LiEn 发布时间: 2004-02-16
作者: zhanggy_zju 发布时间: 2004-02-17
export LC_CTYPE=zh_CN
然后拷入simsun和tahoma, fc-cache就可以正常使用中文了.
当然, 我用的是KDE, 这样速度也比较快
其实窗口容易crash的问题没有汉化就存在了. 比较明显的例子, 当你在console窗口编译一个比较大的工程, 象xine, mplayer之类, mozilla就肯定会crash, 甚至无法打开.
以前我用的redhat 7.3就没有这样的问题, 所以比较怀疑是KDE3.1的问题. 但现在又懒得升级, 只好求助各位大侠
作者: barbie2pig 发布时间: 2004-02-17
尤其是喜欢一边用xine看网上直播,一边用firefox的时候,总是会莫名其妙的有窗口crash,只好在看视频的时候少开几个窗口了。
每次crash的时候总是显示出一个killed就完了,真是受不了了!

作者: barbie2pig 发布时间: 2004-02-29
作者: lushan 发布时间: 2004-02-29
作者: lushan 发布时间: 2004-02-29
最初由 lushan 发表 呵呵,找找原因嘛 |
作者: barbie2pig 发布时间: 2004-03-01
作者: hgty123456789 发布时间: 2004-03-01
最初由 hgty123456789 发表 开了20多个窗口都有没有问题!! |
试一下在一个terminal编译一个比教大的project,比如mplayer或xine之类,同时用mozilla或firefox上网。一般这种情况下我的浏览器很快就crash了。如果编译的的东西更大,比如qt,桌面上的图标和任务条都有可能消失,这是kde出现crash的表现。:(
我很希望找到原因。因为以前安装得的slackware的版本和redhat的版本都没有这个问题。
作者: barbie2pig 发布时间: 2004-03-01
作者: zonzi 发布时间: 2004-03-01
作者: terminator 发布时间: 2004-03-01
最初由 terminator 发表 check memory usage (top or free), if you are about using up the memory, the kernel OOM killer may be the reason to kill some processes to save memory |
希望大侠再伸援手
作者: barbie2pig 发布时间: 2004-03-02
最初由 barbie2pig 发表 感觉很有道理,其实我也觉得是内存申请不到之类的错误,可是如何解决这个问题呢?我记得win2000会把内存中的东西暂时缓存到硬盘上。而且好的操作系统应该可以处理这种情况而不杀掉进程。 希望大侠再伸援手 |
作者: barbie2pig 发布时间: 2004-03-02
root@cactux:/home/frenzy# dd if=/dev/zero of=/tmp/swapfile bs=1024 count
=65536
65536+0 records in
65536+0 records out
root@cactux:/home/frenzy# ls -l /tmp/swapfile
-rw-r--r-- 1 root root 67108864 Mar 2 09:43 /tmp/swapfile
root@cactux:/home/frenzy# mkswap /tmp/swapfile
Setting up swapspace version 1, size = 67104 kB
root@cactux:/home/frenzy# swapon /tmp/swapfile
root@cactux:/home/frenzy#
作者: frenzy 发布时间: 2004-03-02
to enable swapfile during boot, you can simply change /etc/fstab and add the swap file entry into it.
if you are using kernel 2.6, you will need to change /etc/rc.d/rc.S, and move the line 'swapon -a' after line '/sbin/mount -w -o remount /'. This is because at the position of the original 'swapon -a', / file system is still read-only, but you need read-write for swap file. so kernel 2.6 will refuse to turn on swap. I've reported it to Patrick, but he is reluctant to make the change. :-)
作者: terminator 发布时间: 2004-03-02
最初由 barbie2pig 发表 最近想了很多办法还是无法解决这个窗口crash的问题。还试了最简单的fvwm,仍然是会在load比较重的时候崩溃,真是受不了了。 尤其是喜欢一边用xine看网上直播,一边用firefox的时候,总是会莫名其妙的有窗口crash,只好在看视频的时候少开几个窗口了。 每次crash的时候总是显示出一个killed就完了,真是受不了了! ![]() |
作者: gnwd 发布时间: 2004-03-02
最初由 terminator 发表 yes, swapfile is a good solution - actually I always use it. btw, I created my swap file in /boot instead of /tmp since files in /tmp may be deleted by cron jobs. to enable swapfile during boot, you can simply change /etc/fstab and add the swap file entry into it. if you are using kernel 2.6, you will need to change /etc/rc.d/rc.S, and move the line 'swapon -a' after line '/sbin/mount -w -o remount /'. This is because at the position of the original 'swapon -a', / file system is still read-only, but you need read-write for swap file. so kernel 2.6 will refuse to turn on swap. I've reported it to Patrick, but he is reluctant to make the change. :-) |
作者: barbie2pig 发布时间: 2004-03-03
最初由 frenzy 发表 建一个swap file. root@cactux:/home/frenzy# dd if=/dev/zero of=/tmp/swapfile bs=1024 count =65536 65536+0 records in 65536+0 records out root@cactux:/home/frenzy# ls -l /tmp/swapfile -rw-r--r-- 1 root root 67108864 Mar 2 09:43 /tmp/swapfile root@cactux:/home/frenzy# mkswap /tmp/swapfile Setting up swapspace version 1, size = 67104 kB root@cactux:/home/frenzy# swapon /tmp/swapfile root@cactux:/home/frenzy# |
作者: barbie2pig 发布时间: 2004-03-03
但是firefox装了flash插件和flash viewer 扩展之后,浏览一些网页还是会crash,比如sohu,而浏览任何网页,都可能会出现死掉的问题。
还有qt程序,比如psi,有时候打开一个新的聊天窗口后也会停止相应,并且连累其他所有运行中的qt程序都停止相应。难道真是firefly的问题?
作者: Xoo 发布时间: 2004-03-04
作者: terminator 发布时间: 2004-03-04
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28