Bug 900 - [Anolis7.9-iso][rhck][x86_64/aarch_64]安装fonts-tweak-tool软件包后执行fonts-tweak-tool 二进制发生core dump
Summary: [Anolis7.9-iso][rhck][x86_64/aarch_64]安装fonts-tweak-tool软件包后执行fonts-tweak-too...
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 15:49 UTC by yunmeng365524
Modified: 2022-05-07 18:03 UTC (History)
3 users (show)

See Also:


Attachments
centos7.9 test pic (3.94 MB, image/jpeg)
2022-04-29 17:51 UTC, 刘小平
Details
centos7.9 test pic (608.48 KB, image/jpeg)
2022-05-05 17:47 UTC, 刘小平
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yunmeng365524 2022-04-24 15:49:22 UTC
Description of problem:
执行/usr/bin/fonts-tweak-tool --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、安装fonts-tweak-tool软件包
2、执行/usr/bin/fonts-tweak-tool --help命令

Steps to Reproduce:
# /usr/bin/fonts-tweak-tool --help
/usr/lib64/python2.7/site-packages/fontstweak/util.py:30: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk
/usr/lib64/python2.7/site-packages/fontstweak/aliasui.py:36: PyGIWarning: Easyfc was imported without specifying a version first. Use gi.require_version('Easyfc', '0.12') before import to ensure that the right version gets loaded.
  from gi.repository import Easyfc
/usr/bin/fonts-tweak-tool:35: PyGIWarning: FontsTweak was imported without specifying a version first. Use gi.require_version('FontsTweak', '0') before import to ensure that the right version gets loaded.
  from gi.repository import FontsTweak
段错误(吐核)
# gdb /usr/bin/fonts-tweak-tool -c core-fonts-tweak-too-566
core-fonts-tweak-too-56608  core-fonts-tweak-too-56610  core-fonts-tweak-too-56612
[root@iZbp15h429qqsd6tfe3wpqZ coredump]# gdb /usr/bin/fonts-tweak-tool -c core-fonts-tweak-too-56608
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/>...
"/usr/bin/fonts-tweak-tool": not in executable format: 不可识别的文件格式
[New LWP 56608]
Missing separate debuginfo for the main executable file
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/a6/83eaaea4f615fd3e657beee92abe81f89bb1a9
Core was generated by `/usr/bin/python /usr/bin/fonts-tweak-tool --help'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000ffff9ee8de78 in ?? ()
(gdb) bt
#0  0x0000ffff9ee8de78 in ?? ()
#1  0x0000ffff9ee8de74 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) quit

Actual results:
产生coredump

Expected results:
不应该coredmp

Additional info:
软件包信息:
# yum info fonts-tweak-tool
已加载插件: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
已安装的软件包
名称    :fonts-tweak-tool
架构    :aarch64
版本    :0.3.2
发布    :5.an7
大小    :287 k
源    :installed
来自源:os
简介    : Tool for customizing fonts per language
网址    :https://bitbucket.org/tagoh/fonts-tweak-tool/
协议    : LGPLv3+
描述    : fonts-tweak-tool is a GUI tool for customizing fonts per language on desktops
         : using fontconfig.

x86 也有相同问题
Comment 1 刘小平 alibaba_cloud_group 2022-04-29 17:51:53 UTC
Created attachment 205 [details]
centos7.9 test pic

centos7.9 x86_64/aarch64存在相同问题 暂时降低优先级
Comment 2 刘小平 alibaba_cloud_group 2022-05-05 17:47:45 UTC
Created attachment 227 [details]
centos7.9 test pic

centos7.9 x86_64/aarch64存在相同问题 暂时降低优先级
Comment 3 pq12345 uniontech_group 2022-05-07 18:03:23 UTC
问题未复现