查看问题详情

编号项目分类查看权限最后更新
0000116Anolis OS 8qt5-qttoolspublic2021-06-08 10:53
报告员yinyongchen 分派给ZhangBinChen  
优先级low严重性minor出现频率always
状态 resolved处理状况fixed 
标题0000116: [Anolis 8.2-4.19-x86/aarch64][AppStream]安装qt5-assistant、qt5-designer等7个包后测试二进制文件发生core dump
描述安装
qt5-assistant-5.12.5-1.el8.x86_64
qt5-designer-5.12.5-1.el8.x86_64
qt5-doctools-5.12.5-1.el8.x86_64
qt5-linguist-5.12.5-1.el8.x86_64
qt5-qdbusviewer-5.12.5-1.el8.x86_64
qt5-qtdeclarative-devel-5.12.5-1.el8.x86_64
qt5-qttools-devel-5.12.5-1.el8.x86_64
这7个包后测试其中二进制文件发生core dump ,x86/arm均涉及

[环境信息]:
内核信息:
[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

[实际结果]:
执行多个二进制文件发生core dump
---------- qt5-assistant:
# /usr/bin/assistant-qt5 --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)

---------- qt5-designer:
# /usr/bin/designer-qt5 --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)

---------- qt5-doctools:
# /usr/bin/qdistancefieldgenerator --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)

---------- qt5-linguist:
# /usr/bin/linguist-qt5 --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)

---------- qt5-qdbusviewer:
# /usr/bin/qdbusviewer-qt5 --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)

---------- qt5-qtdeclarative-devel:
# /usr/bin/qml --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/qml-qt5 --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/qmleasing --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/qmlscene --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/qmlscene-qt5 --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/qmltestrunner --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)

---------- qt5-qttools-devel:
# /usr/bin/pixeltool-qt5 --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/qtdiag --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 qt5-assistant
/usr/bin/assistant-qt5 --help

yum install -y qt5-designer
/usr/bin/designer-qt5 --help

yum install -y qt5-doctools
/usr/bin/qdistancefieldgenerator --help

yum install -y qt5-linguist
/usr/bin/linguist-qt5 --help

yum install -y qt5-qdbusviewer
/usr/bin/qdbusviewer-qt5 --help

yum install -y qt5-qtdeclarative-devel
/usr/bin/qml --help
/usr/bin/qml-qt5 --help
/usr/bin/qmleasing --help
/usr/bin/qmlscene --help
/usr/bin/qmlscene-qt5 --help
/usr/bin/qmltestrunner --help

yum install -y qt5-qttools-devel
/usr/bin/pixeltool-qt5 --help
/usr/bin/qtdiag --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

活动

ZhangBinChen

2021-06-08 10:52

开发人员   ~0000256

我在带有gnome 桌面的图形环境中没有复现问题,但因应该与图形服务、图形组件有关
解决办法参考 https://bugs.openanolis.cn/view.php?id=114
qt-f.png (139,046 字节)   
qt-f.png (139,046 字节)   
qt10.png (107,973 字节)   
qt10.png (107,973 字节)   
qt8.png (90,597 字节)   
qt8.png (90,597 字节)   
qt7.png (55,075 字节)   
qt7.png (55,075 字节)   
qt6.png (65,289 字节)   
qt6.png (65,289 字节)   
qt4.png (81,885 字节)   
qt4.png (81,885 字节)   
qt3.png (43,019 字节)   
qt3.png (43,019 字节)   
qt2.png (80,444 字节)   
qt2.png (80,444 字节)   
qt1.png (87,720 字节)   
qt1.png (87,720 字节)   

问题历史

日期 用户名 字段 更改
2021-05-08 14:15 yinyongchen 新建问题
2021-05-09 16:31 jacobwang 分派给 => ZhangBinChen
2021-05-09 16:31 jacobwang 优先级 中 => 低
2021-05-09 16:31 jacobwang 状态 新建 => 已分配
2021-06-04 15:59 cherryliyumei 添加标签: 8.2GA-210611
2021-06-08 10:52 ZhangBinChen 注释已添加: 0000256
2021-06-08 10:52 ZhangBinChen 添加了以下文件:: qt-f.png
2021-06-08 10:52 ZhangBinChen 添加了以下文件:: qt10.png
2021-06-08 10:52 ZhangBinChen 添加了以下文件:: qt8.png
2021-06-08 10:52 ZhangBinChen 添加了以下文件:: qt7.png
2021-06-08 10:52 ZhangBinChen 添加了以下文件:: qt6.png
2021-06-08 10:52 ZhangBinChen 添加了以下文件:: qt4.png
2021-06-08 10:52 ZhangBinChen 添加了以下文件:: qt3.png
2021-06-08 10:52 ZhangBinChen 添加了以下文件:: qt2.png
2021-06-08 10:52 ZhangBinChen 添加了以下文件:: qt1.png
2021-06-08 10:53 ZhangBinChen 状态 已分配 => 已解决
2021-06-08 10:53 ZhangBinChen 处理状况 未处理 => 已修正