已开启
pcp-atop -j 概率性发生coredump #20
AtomGit-Bot创建于  2023年5月23日
AtomGit-Bot
2023年5月23日 创建

【标题描述】
pcp-atop -j 概率性发生coredump

【环境信息】
cat /etc/os-release
NAME="openEuler"
VERSION="22.03 (LTS-SP1)"
ID="openEuler"
VERSION_ID="22.03"
PRETTY_NAME="openEuler 22.03 (LTS-SP1)"
ANSI_COLOR="0;31"

rpm -qa |grep pcp
pcp-5.3.7-3.oe2203sp1.x86_64
pcp-system-tools-5.3.7-3.oe2203sp1.x86_64

【问题复现步骤】
yum install -y pcp-system-tools
/usr/libexec/pcp/bin/pcp-atop -j (多执行几次,概率性发生coredump)

【预期结果】
测试结果正常。

【实际结果】
概率性发生coredump

【附件信息】
Core was generated by `/usr/libexec/pcp/bin/pcp-atop -j'.
Program terminated with signal SIGABRT, Aborted.
#0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
(gdb) bt
#0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007face7798e63 in __pthread_kill_internal (signo=6, threadid=) at pthread_kill.c:78
#2 0x00007face774ce26 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007face7738457 in __GI_abort () at abort.c:79
#4 0x00007face778cf87 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7face78c6ebe "*** %s ***: terminated\n")
at ../sysdeps/posix/libc_fatal.c:155
#5 0x00007face78289aa in __GI___fortify_fail (msg=msg@entry=0x7face78c6e64 "buffer overflow detected") at fortify_fail.c:26
#6 0x00007face78272c6 in __GI___chk_fail () at chk_fail.c:28
#7 0x00007face7826bb6 in __strcpy_chk (dest=dest@entry=0x555edbc587f0 "", src=src@entry=0x555edbc24ab0 "t4-rsv-conver)",
destlen=destlen@entry=13) at strcpy_chk.c:30
#8 0x0000555edb0e6d49 in strcpy (__src=0x555edbc24ab0 "t4-rsv-conver)", __dest=0x555edbc587f0 "")
at /usr/include/bits/string_fortified.h:79
#9 cumconts (numprocs=, curconts=0x555edbc58680, curprocs=0x555edbc40200) at showgeneric.c:2251
#10 generic_samp (sampletime=, nsecs=, devtstat=, sstat=,
nexit=, noverflow=, flag=) at showgeneric.c:560
#11 0x0000555edb0d54af in engine () at atop.c:664
#12 0x0000555edb0d4ac4 in main (argc=2, argv=) at atop.c:479
(gdb)

likedislike
AAtomGit-Bot
2023年5月23日 创建了缺陷
openeuler-ci-bot
openeuler-ci-bot成员
2023年5月23日 评论:

Hi wen429, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Application, and any of the maintainers: @small_leek , @jimmy_hero , @zhuchunyi , @AlexZ11 , @caodongxia

likedislike
openeuler-ci-botopeneuler-ci-bot成员
2023年5月23日 添加了   sig/Application 标签
AAtomGit-Bot
2023年5月23日 修改了描述