查看问题详情

编号项目分类查看权限最后更新
0000114Anolis OS 8pcppublic2021-06-08 09:51
报告员yinyongchen 分派给ZhangBinChen  
优先级low严重性minor出现频率always
状态 resolved处理状况fixed 
标题0000114: [Anolis 8.2-4.19-x86/aarch64][AppStream]安装pcp-gui包后执行多个二进制文件发生core dump
描述安装pcp-gui-5.0.2-5.el8.x86_64包后执行多个二进制文件发生core dump
/usr/bin/pmchart
/usr/bin/pmconfirm
/usr/bin/pmmessage
/usr/bin/pmquery
/usr/bin/pmtime

[环境信息]:
内核信息:
[root@VM20210305-8]# uname -r
4.19.91-23.1.an8.x86_64

操作系统信息:
# cat /etc/os-release
NAME="Anolis OS"
VERSION="8.2"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.2"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.2"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

[期望结果]:
执行包中全部二进制文件不会发生core dump

[实际结果]:
执行二进制文件pmchart、pmconfirm、pmmessage、pmquery、pmtime 时发生core dump
# /usr/bin/pmchart --help
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)
# /usr/bin/pmconfirm --help
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)
# /usr/bin/pmmessage --help
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)
# /usr/bin/pmquery --help
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)
/usr/bin/pmtime --help
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)

[原因定位]:
感觉依赖库缺失后发生了core dump

[修复建议]:
建议修复
问题重现步骤yum install -y pcp-gui
/usr/bin/pmchart --help
/usr/bin/pmconfirm --help
/usr/bin/pmmessage --help
/usr/bin/pmquery --help
/usr/bin/pmtime --help
附注yum repolist:
Repo-id : AppStream
Repo-baseurl : http://mirrors.openanolis.org/anolis/8/AppStream/x86_64/os
-----
Repo-id : BaseOS
Repo-baseurl : http://mirrors.openanolis.org/anolis/8/BaseOS/x86_64/os
-----
Repo-id : PowerTools
Repo-baseurl : http://mirrors.openanolis.org/anolis/8/PowerTools/x86_64/os
-----
Repo-id : epel
Repo-baseurl : http://yum.tbsite.net/epel/8/Everything/x86_64
-----
Repo-id : epel-modular
Repo-baseurl : http://yum.tbsite.net/epel/8/Modular/x86_64/
标签8.2GA-210611

活动

jacobwang

2021-05-10 17:09

经理   ~0000177

Same issue as centos 8.2

Low priority . Not affect Anolis OS 8.2 GA.

ZhangBinChen

2021-06-08 09:50

开发人员   ~0000255

简要分析:最小安装情况下,安装pcp相关包并不能将图形依赖全部安装,依赖缺失的推断基本正确,当系统中没有图形服务、或者图形服务没有启动的情况下转储问题就会出现。这个应用属于图形桌面类应用,依附图形显示。
解决办法:安装带图形的服务器(勾选GUI组件),进行测试
pcp5.png (148,414 字节)   
pcp5.png (148,414 字节)   
pcp4.png (138,148 字节)   
pcp4.png (138,148 字节)   
pcp3.png (135,748 字节)   
pcp3.png (135,748 字节)   
pcp2.png (134,474 字节)   
pcp2.png (134,474 字节)   
pcp.png (153,347 字节)   
pcp.png (153,347 字节)   

问题历史

日期 用户名 字段 更改
2021-05-08 11:35 yinyongchen 新建问题
2021-05-10 17:09 jacobwang 注释已添加: 0000177
2021-05-10 17:20 jacobwang 分派给 => ZhangBinChen
2021-05-10 17:20 jacobwang 优先级 中 => 低
2021-05-10 17:20 jacobwang 状态 新建 => 已分配
2021-06-04 15:59 cherryliyumei 添加标签: 8.2GA-210611
2021-06-08 09:50 ZhangBinChen 注释已添加: 0000255
2021-06-08 09:50 ZhangBinChen 添加了以下文件:: pcp5.png
2021-06-08 09:50 ZhangBinChen 添加了以下文件:: pcp4.png
2021-06-08 09:50 ZhangBinChen 添加了以下文件:: pcp3.png
2021-06-08 09:50 ZhangBinChen 添加了以下文件:: pcp2.png
2021-06-08 09:50 ZhangBinChen 添加了以下文件:: pcp.png
2021-06-08 09:51 ZhangBinChen 状态 已分配 => 已解决
2021-06-08 09:51 ZhangBinChen 处理状况 未处理 => 已修正