Bug 28522 - [ANCK-6.6.102-5.2.1_rc1][riscv64]xfstests xfs文件系统,执行generic/650用例fail,报错*** stack smashing detected ***: terminated
Summary: [ANCK-6.6.102-5.2.1_rc1][riscv64]xfstests xfs文件系统,执行generic/650用例fail,报错*** s...
Status: NEW
Alias: None
Product: Antest
Classification: Infrastructures
Component: 测试用例 (show other bugs) 测试用例
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: yuki_syq
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-25 16:19 UTC by qq178635604
Modified: 2025-12-25 16:39 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qq178635604 2025-12-25 16:19:59 UTC
[问题描述]:
xfstests xfs文件系统,执行generic/650用例fail,报错*** stack smashing detected ***: terminated
[重现步骤]:
export TEST_DIR=/fs/nvme0n1p5
export TEST_DEV=/dev/nvme0n1p5
export FSTYP=xfs
./check generic/650
[执行日志]:
QA output created by 650
Silence is golden.
/var/tmp/tone/run/xfstests/tests/generic/650: line 30: 2416418 Segmentation fault      (core dumped) sleep 0.5
/var/tmp/tone/run/xfstests/tests/generic/650: xmalloc: cannot allocate 32 bytes
/var/tmp/tone/run/xfstests/tests/generic/650: line 37: 0.5: No such file or directory
/var/tmp/tone/run/xfstests/tests/generic/650: line 30: 2416507 Segmentation fault      (core dumped) sleep 0.5
*** stack smashing detected ***: terminated
/var/tmp/tone/run/xfstests/tests/generic/650: line 30: 2416519 Aborted                 (core dumped) sleep 0.5
/var/tmp/tone/run/xfstests/tests/generic/650: line 30: 2416528 Segmentation fault      (core dumped) sleep 0.5
/var/tmp/tone/run/xfstests/tests/generic/650: line 30: 2416532 Segmentation fault      (core dumped) sleep 0.5
/var/tmp/tone/run/xfstests/tests/generic/650: line 30: 2416536 Segmentation fault      (core dumped) sleep 0.5
double free or corruption (!prev)
/var/tmp/tone/run/xfstests/tests/generic/650: line 83: 2416239 Segmentation fault      (core dumped) exercise_cpu_hotplug
*** stack smashing detected ***: terminated
./common/rc: line 130: 2417035 Aborted                 (core dumped) $MOUNT_PROG $*
*** stack smashing detected ***: terminated
/var/tmp/tone/run/xfstests/tests/generic/650: line 83: 2417037 Aborted                 (core dumped) $FSSTRESS_PROG $FSSTRESS_AVOID -w "${fsstress_args[@]}" >> $seqres.full
*** stack smashing detected ***: terminated
./common/rc: line 467: 2417039 Aborted                 (core dumped) $UMOUNT_PROG $TEST_DEV
*** stack smashing detected ***: terminated
./common/rc: line 130: 2417041 Aborted                 (core dumped) $MOUNT_PROG $*
*** stack smashing detected ***: terminated
/var/tmp/tone/run/xfstests/tests/generic/650: line 83: 2417043 Aborted                 (core dumped) $FSSTRESS_PROG $FSSTRESS_AVOID -w "${fsstress_args[@]}" >> $seqres.full
*** stack smashing detected ***: terminated
./common/rc: line 467: 2417045 Aborted                 (core dumped) $UMOUNT_PROG $TEST_DEV
*** stack smashing detected ***: terminated
./common/rc: line 130: 2417047 Aborted                 (core dumped) $MOUNT_PROG $*
*** stack smashing detected ***: terminated
./common/rc: line 467: 2417117 Aborted                 (core dumped) $UMOUNT_PROG $TEST_DEV
./common/rc: line 130: 2417119 Segmentation fault      (core dumped) $MOUNT_PROG $*
umount: /dev/nvme0n1p5: not mounted.

[环境信息]:
[root@localhost xfstests]# uname -r
6.6.102-5.2.1_rc1.an23.riscv64
[root@localhost xfstests]# cat /boot/config-6.6.102-5.2.1_rc1.an23.riscv64 |grep -i dma|grep -i heap
# CONFIG_DMABUF_HEAPS is not set
[root@localhost xfstests]# lscpu
Architecture:          riscv64
  Byte Order:          Little Endian
CPU(s):                64
  On-line CPU(s) list: 0-63
NUMA:
  NUMA node(s):        4
  NUMA node0 CPU(s):   0-7,16-23
  NUMA node1 CPU(s):   8-15,24-31
  NUMA node2 CPU(s):   32-39,48-55
  NUMA node3 CPU(s):   40-47,56-63
[root@localhost xfstests]# lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
nvme0n1     259:0    0 953.9G  0 disk
├─nvme0n1p1 259:1    0 121.9M  0 part /boot/efi
├─nvme0n1p2 259:2    0   488M  0 part /boot
├─nvme0n1p3 259:3    0 143.1G  0 part /
├─nvme0n1p4 259:4    0     1K  0 part
├─nvme0n1p5 259:5    0 286.1G  0 part /fs/nvme0n1p5
└─nvme0n1p6 259:6    0 286.1G  0 part
[root@localhost xfstests]# free -g
               total        used        free      shared  buff/cache   available
Mem:              61           2           0           0          59          59
Swap:              0           0           0
[root@localhost xfstests]# cat /proc/cmdline
root=UUID=e297bfa3-2c55-44f8-90cb-ae8eb642d188 ro console=ttyS0,115200 root=LABEL=ROOT rootfstype=ext4 rootwait rw earlycon selinux=0 LANG=en_US.UTF-8 nvme.use_threaded_interrupts=1 nvme_core.io_timeout=3000 audit=0 per_numa_node_futex=disabl

[实际结果]
测试fail
[期望结果]
测试pass