免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2428 | 回复: 0
打印 上一主题 下一主题

[系统管理] 【求助帖】 pidof 命令在 ubuntu 9.04 下随机 core [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-05-18 11:41 |只看该作者 |倒序浏览
最近发现很奇怪的问题, 在cron 中调用脚本,脚本中有一个 pidof 命令,但通过 core 监控,发现 pidof 随机 core ,收到 signal 11


root@kickseed:/data/core_files# grep pidof /var/log/messages
May 15 20:46:01 kickseed kernel: [2151198.348184] pidof[22239]: segfault at 7fff0e21d000 ip 0000000000401c9c sp 00007fff0e21a9a0 error 4 in killall5[400000+3000]
May 18 03:34:01 kickseed kernel: [2348478.379997] pidof[8831]: segfault at 7fff134cb000 ip 0000000000401c9c sp 00007fff134c9cc0 error 4 in killall5[400000+3000]
May 18 10:26:01 kickseed kernel: [2373198.795335] pidof[2190]: segfault at 7fff33b51000 ip 0000000000401c9c sp 00007fff33b50300 error 4 in killall5[400000+3000]
root@kickseed:/data/core_files#


root@kickseed:/data/core_files# gdb -c core-pidof-2190-1337307961
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
(no debugging symbols found)
Core was generated by `pidof attack_checking_V1.0'.
Program terminated with signal 11, Segmentation fault.
[New process 2190]
#0  0x0000000000401c9c in ?? ()
(gdb) bt full
#0  0x0000000000401c9c in ?? ()
No symbol table info available.
#1  0x000000012bb4dc40 in ?? ()
No symbol table info available.
#2  0x00000000012d1010 in ?? ()
No symbol table info available.
#3  0x0000000000000801 in ?? ()
No symbol table info available.
#4  0x0000000000094009 in ?? ()
No symbol table info available.
#5  0x0000000000000001 in ?? ()
No symbol table info available.
#6  0x00000000000081ed in ?? ()
No symbol table info available.
#7  0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) quit
root@kickseed:/data/core_files#
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP