LinuxSir.cn,穿越时空的Linuxsir!

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

有关 "Random crashes" with glibc 2.10 and 2.11

[复制链接]
发表于 2009-11-18 22:00:43 | 显示全部楼层 |阅读模式
引用自 gentoo planet
As documented in this bug (which mirrors an upstream bug here there's a bug in glibc 2.10 and 2.11, and this one seems to be easy to hit. Multithreaded apps "randomly" crash with "Invalid free" and other confusing errors. A hackaround is to unset or empty the environment variable "MALLOC_CHECK_". For me setting MALLOC_CHECK_="" before starting some of the affected packages seems to completely hide the error, now we can only hope that the gentoo glibc gets this patch soon.
困扰了十来天,莫名重启的问题看来解决了!
打上游的补丁就可以: Restore locking in free_check
发表于 2009-11-19 00:02:54 | 显示全部楼层
需要自己打补丁么?还是直接更新portage,reemerge就好?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-19 01:08:16 | 显示全部楼层
portage里目前还没有。
如果系统没什么大问题可以忽略。但是我这里在更新了glibc-2.11之后,在某些时候特别是使用firefox时电脑会无征兆地硬起动,打上这个patch重编译glibc后怎么折腾没事。
回复 支持 反对

使用道具 举报

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

本版积分规则

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