Bug 5440 - [Anolis23 GA][aarch64]Anolis23-pkg-nightly-test glusterfs-server软件包执行产生coredump
Summary: [Anolis23 GA][aarch64]Anolis23-pkg-nightly-test glusterfs-server软件包执行产生coredump
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-07 14:54 UTC by gitpush
Modified: 2023-06-12 19:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gitpush alibaba_cloud_group 2023-06-07 14:54:27 UTC
问题描述]:
glusterfs-server软件包执行产生coredump

具体执行过程:
[root@iZbp18zpeh3mcx8x8tilxdZ ~]# yum reinstall glusterfs-server
Last metadata expiration check: 1:59:14 ago on Wed 07 Jun 2023 12:48:14 PM CST.
Dependencies resolved.
=========================================================================================================================================================================================================================
 Package                                                  Architecture                                    Version                                              Repository                                           Size
=========================================================================================================================================================================================================================
Reinstalling:
 glusterfs-server                                         aarch64                                         11.0-1.an23                                          BaseOS-Test                                         1.2 M

Transaction Summary
=========================================================================================================================================================================================================================

Total download size: 1.2 M
Installed size: 8.1 M
Is this ok [y/N]: y
Downloading Packages:
glusterfs-server-11.0-1.an23.aarch64.rpm                                                                                                                                                  12 MB/s | 1.2 MB     00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                     11 MB/s | 1.2 MB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                 1/1
  Reinstalling     : glusterfs-server-11.0-1.an23.aarch64                                                                                                                                                            1/2
  Running scriptlet: glusterfs-server-11.0-1.an23.aarch64                                                                                                                                                            1/2
Fatal glibc error: malloc assertion failure in sysmalloc: (old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)
/var/tmp/rpm-tmp.pUaPSE: line 60: 2204948 Aborted                 (core dumped) glusterd --xlator-option *.upgrade=on -N

  Running scriptlet: glusterfs-server-11.0-1.an23.aarch64                                                                                                                                                            2/2
  Cleanup          : glusterfs-server-11.0-1.an23.aarch64                                                                                                                                                            2/2
  Running scriptlet: glusterfs-server-11.0-1.an23.aarch64                                                                                                                                                            2/2
  Verifying        : glusterfs-server-11.0-1.an23.aarch64                                                                                                                                                            1/2
  Verifying        : glusterfs-server-11.0-1.an23.aarch64                                                                                                                                                            2/2

Reinstalled:
  glusterfs-server-11.0-1.an23.aarch64

Complete!
[root@iZbp18zpeh3mcx8x8tilxdZ ~]# echo $?
0
[root@iZbp18zpeh3mcx8x8tilxdZ ~]# systemctl  status gluster
Unit gluster.service could not be found.
[root@iZbp18zpeh3mcx8x8tilxdZ ~]# systemctl  status glusterd
× glusterd.service - GlusterFS, a clustered file-system server
     Loaded: loaded (/usr/lib/systemd/system/glusterd.service; disabled; preset: disabled)
     Active: failed (Result: core-dump) since Wed 2023-06-07 00:27:03 CST; 14h ago
       Docs: man:glusterd(8)
        CPU: 0

Jun 07 03:31:41 iZbp18zpeh3mcx8x8tilxdZ systemd[1]: /usr/lib/systemd/system/glusterd.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/glusterd.pid → /run/glusterd.pid; please>
Jun 07 03:31:45 iZbp18zpeh3mcx8x8tilxdZ systemd[1]: /usr/lib/systemd/system/glusterd.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/glusterd.pid → /run/glusterd.pid; please>
Jun 07 03:31:50 iZbp18zpeh3mcx8x8tilxdZ systemd[1]: /usr/lib/systemd/system/glusterd.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/glusterd.pid → /run/glusterd.pid; please>
Jun 07 03:32:06 iZbp18zpeh3mcx8x8tilxdZ systemd[1]: /usr/lib/systemd/system/glusterd.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/glusterd.pid → /run/glusterd.pid; please>
Jun 07 03:32:37 iZbp18zpeh3mcx8x8tilxdZ systemd[1]: /usr/lib/systemd/system/glusterd.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/glusterd.pid → /run/glusterd.pid; please>
Jun 07 03:33:04 iZbp18zpeh3mcx8x8tilxdZ systemd[1]: /usr/lib/systemd/system/glusterd.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/glusterd.pid → /run/glusterd.pid; please>
Jun 07 14:41:53 iZbp18zpeh3mcx8x8tilxdZ systemd[1]: /usr/lib/systemd/system/glusterd.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/glusterd.pid → /run/glusterd.pid; please>
Jun 07 14:44:32 iZbp18zpeh3mcx8x8tilxdZ systemd[1]: /usr/lib/systemd/system/glusterd.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/glusterd.pid → /run/glusterd.pid; please>
Jun 07 14:46:45 iZbp18zpeh3mcx8x8tilxdZ systemd[1]: /usr/lib/systemd/system/glusterd.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/glusterd.pid → /run/glusterd.pid; please>
Jun 07 14:47:30 iZbp18zpeh3mcx8x8tilxdZ systemd[1]: /usr/lib/systemd/system/glusterd.service:11: PIDFile= references a path below legacy directory /var/run/, updating /var/run/glusterd.pid → /run/glusterd.pid; please>
[root@iZbp18zpeh3mcx8x8tilxdZ ~]#







[环境信息]:
内核信息:
# uname -r
5.10.134-14.an23.x86_64

操作系统信息:
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"




[问题发生概率]:必现

[期望结果]:
正常安装执行


[实际结果]:
执行失败


[复现步骤]:	
1、yum reinstall glusterfs-server
2、systemctl  status glusterd
Comment 1 happy_orange alibaba_cloud_group 2023-06-12 19:20:26 UTC
x86 环境上执行成功,arm 环境上服务确实启动失败。
Jun 12 19:19:25 iZbp18q6gac7xc31yrwadnZ systemd[1]: Failed to start glusterd.service - GlusterFS, a clustered file-system server.
░░ Subject: A start job for unit glusterd.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit glusterd.service has finished with a failure.
░░
░░ The job identifier is 7235 and the job result is failed.
Comment 2 happy_orange alibaba_cloud_group 2023-06-12 19:28:34 UTC
/usr/sbin/glusterd 的二进制运行会发生 Aborted (core dumped)。

[root@iZbp18q6gac7xc31yrwadnZ ~]# rpm -qa glusterfs-server
glusterfs-server-11.0-1.an23.aarch64
[root@iZbp18q6gac7xc31yrwadnZ ~]#/usr/sbin/glusterdr
malloc(): invalid size (unsorted)
Aborted (core dumped)