Bug 891 - [Anolis7.9-iso][rhck][x86_64/aarch_64]安装compat-openmpi16软件包后执行/usr/lib64/compat-openmpi16/bin/orted二进制发生core dump
Summary: [Anolis7.9-iso][rhck][x86_64/aarch_64]安装compat-openmpi16软件包后执行/usr/lib64/comp...
Status: CONFIRMED
Alias: None
Product: Anolis OS 7
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 7.9
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: layne-yang
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-24 11:55 UTC by yunmeng365524
Modified: 2022-05-05 17:44 UTC (History)
2 users (show)

See Also:


Attachments
centos7.9 test pic (2.97 MB, image/jpeg)
2022-04-29 16:53 UTC, 刘小平
Details
centos7.9 test pic (541.87 KB, image/jpeg)
2022-05-05 17:44 UTC, 刘小平
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yunmeng365524 2022-04-24 11:55:14 UTC
Description of problem:
执行/usr/lib64/compat-openmpi16/bin/orted help命令会产生coredump

Version-Release number of selected component (if applicable):

uname -r
4.18.0-193.28.1.an7.aarch64

cat /etc/anolis-release
Anolis OS release 7.9

cat /etc/os-release
NAME="Anolis OS"
VERSION="7.9"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="7.9"
PRETTY_NAME="Anolis OS 7.9"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugs.openanolis.cn/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

问题发生概率:必现

How reproducible:
1、安装compat-openmpi16软件包
2、执行/usr/lib64/compat-openmpi16/bin/orted help命令

Steps to Reproduce:
# /usr/lib64/compat-openmpi16/bin/orted help
[iZbp15h429qqsd6tfe3wpqZ:23511] Error: unknown option "help"
段错误(吐核)
# gdb /usr/lib64/compat-openmpi16/bin/orted -c core-orted-23511
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.an7
Copyright (C) 2013 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 "aarch64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib64/compat-openmpi16/bin/orted...Reading symbols from /usr/lib64/compat-openmpi16/bin/orted...(no debugging symbols found)...done.
(no debugging symbols found)...done.
[New LWP 23511]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/lib64/compat-openmpi16/bin/orted help'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000ffffb51316b8 in opal_show_help_vstring () from /usr/lib64/compat-openmpi16/lib/libopen-rte.so.4
Missing separate debuginfos, use: debuginfo-install compat-openmpi16-1.6.4-10.7.2.an7.aarch64
(gdb) bt
#0  0x0000ffffb51316b8 in opal_show_help_vstring () from /usr/lib64/compat-openmpi16/lib/libopen-rte.so.4
#1  0x0000ffffb50d52e0 in orte_show_help () from /usr/lib64/compat-openmpi16/lib/libopen-rte.so.4
#2  0x0000ffffb50e1770 in orte_daemon () from /usr/lib64/compat-openmpi16/lib/libopen-rte.so.4
#3  0x0000000000400a00 in main ()
(gdb) quit

Actual results:
产生coredump

Expected results:
不应该coredmp

Additional info:
软件包信息:
# yum info compat-openmpi16
已加载插件:fastestmirror, langpacks, product-id, search-disabled-repos, subscription-manager

This system is not registered with an entitlement server. You can use subscription-manager to register.

Loading mirror speeds from cached hostfile
已安装的软件包
名称    :compat-openmpi16
架构    :aarch64
版本    :1.6.4
发布    :10.7.2.an7
大小    :15 M
源    :installed
来自源:os
简介    : Open MPI 1.6 compat library
网址    :http://www.open-mpi.org/
协议    : BSD and MIT and Romio
描述    : Open MPI is an open source, freely available implementation of both the
         : MPI-1 and MPI-2 standards, combining technologies and resources from
         : several other projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in
         : order to build the best MPI library available.  A completely new MPI-2
         : compliant implementation, Open MPI offers advantages for system and
         : software vendors, application developers, and computer science
         : researchers. For more information, see http://www.open-mpi.org/ .
         :
         : This package provides compatibility for applications compiled with Open MPI
         : version 1.6.

x86有同样的问题
Comment 1 刘小平 alibaba_cloud_group 2022-04-29 16:53:00 UTC
Created attachment 198 [details]
centos7.9 test pic

验证该命令没有问题,请将/usr/lib64/compat-openmpi16/bin/orted help替换为/usr/lib64/compat-openmpi16/bin/orted --help命令
Comment 2 刘小平 alibaba_cloud_group 2022-05-05 17:44:36 UTC
Created attachment 220 [details]
centos7.9 test pic

centos7.9 x86_64/aarch64存在相同问题 暂时降低优先级