View Issue Details

IDProjectCategoryView StatusLast Update
0015543CentOS-7gnome-abrtpublic2019-10-21 12:28
Reportercvoltz 
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015543: [abrt] gnome-abrt: __init__.py:18:<module>:ImportError: /lib64/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates
DescriptionVersion-Release number of selected component:
gnome-abrt-0.3.4-8.el7

Truncated backtrace:
#1 <module> in /usr/lib64/python2.7/site-packages/gnome_abrt/wrappers/__init__.py:18
#2 <module> in /usr/bin/gnome-abrt:26
Additional Informationreporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/bin/gnome-abrt -p /var/spool/abrt/ccpp-2018-12-05-13:07:05-177675
executable: /usr/bin/gnome-abrt
kernel: 3.10.0-957.1.3.el7.x86_64
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reproducible: Not sure how to reproduce the problem
runlevel: 3 5
type: Python
uid: 1000
TagsNo tags attached.
abrt_hashb9f6df93a8e30be5c56b0ed761e3fc6b089d024d
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/50a84474c2a039f3fad0ad1c8473f9ffd918027e

Activities

cvoltz

cvoltz

2018-12-06 18:57

reporter  

backtrace (6,820 bytes)
__init__.py:18:<module>:ImportError: /lib64/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates

Traceback (most recent call last):
  File "/usr/bin/gnome-abrt", line 26, in <module>
    from gnome_abrt.wrappers import (show_events_list_dialog,
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/wrappers/__init__.py", line 18, in <module>
    from gnome_abrt.wrappers._wrappers import (show_events_list_dialog,
ImportError: /lib64/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates

Local variables in innermost frame:
__builtins__: {'bytearray': <type 'bytearray'>, 'IndexError': <type 'exceptions.IndexError'>, 'all': <built-in function all>, 'help': Type help() for interactive help, or help(object) for help about object., 'vars': <built-in function vars>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'unicode': <type 'unicode'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'memoryview': <type 'memoryview'>, 'isinstance': <built-in function isinstance>, 'copyright': Copyright (c) 2001-2013 Python Software Foundation.
All Rights Reserved.

Copyright (c) 2000 BeOpen.com.
All Rights Reserved.

Copyright (c) 1995-2001 Corporation for National Research Initiatives.
All Rights Reserved.

Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved., 'NameError': <type 'exceptions.NameError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'dict': <type 'dict'>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type 'exceptions.SystemExit'>, 'StandardError': <type 'exceptions.StandardError'>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'list': <type 'list'>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type 'exceptions.Warning'>, '__package__': None, 'round': <built-in function round>, 'dir': <built-in function dir>, 'cmp': <built-in function cmp>, 'set': <type 'set'>, 'bytes': <type 'str'>, 'reduce': <built-in function reduce>, 'intern': <built-in function intern>, 'issubclass': <built-in function issubclass>, 'Ellipsis': Ellipsis, 'EOFError': <type 'exceptions.EOFError'>, 'locals': <built-in function locals>, 'BufferError': <type 'exceptions.BufferError'>, 'slice': <type 'slice'>, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'sum': <built-in function sum>, 'getattr': <built-in function getattr>, 'abs': <built-in function abs>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'print': <built-in function print>, 'True': True, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'None': None, 'hash': <built-in function hash>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'len': <built-in function len>, 'credits':     Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
    for supporting Python development.  See www.python.org for more information., 'frozenset': <type 'frozenset'>, '__name__': '__builtin__', 'ord': <built-in function ord>, 'super': <type 'super'>, 'TypeError': <type 'exceptions.TypeError'>, 'license': See http://www.python.org/2.7/license.html, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in function filter>, 'range': <built-in function range>, 'staticmethod': <type 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>, 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'float': <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'globals': <built-in function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'basestring': <type 'basestring'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in function zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next': <built-in function next>, 'ImportError': <type 'exceptions.ImportError'>, 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type': <type 'type'>, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type 'tuple'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'IOError': <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>, 'delattr': <built-in function delattr>, 'setattr': <built-in function setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function compile>, 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__': <built-in function __import__>, 'KeyError': <type 'exceptions.KeyError'>, 'coerce': <built-in function coerce>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr': <built-in function unichr>, 'id': <built-in function id>, 'OSError': <type 'exceptions.OSError'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'min': <built-in function min>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile': <built-in function execfile>, 'any': <built-in function any>, 'complex': <type 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map': <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in function max>, 'object': <type 'object'>, 'TabError': <type 'exceptions.TabError'>, 'callable': <built-in function callable>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval': <built-in function eval>, '__debug__': True, 'IndentationError': <type 'exceptions.IndentationError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError': <type 'exceptions.OverflowError'>}
__file__: None
__package__: None
__path__: None
__name__: None
__doc__: None
backtrace (6,820 bytes)
environ (4,988 bytes)
rvm_version=1.29.3 (master)
GEM_ROOT=/opt/chefdk/embedded/lib/ruby/gems/2.4.0

XDG_SESSION_TYPE=x11
ANDROID_HOME=/home/cvoltz/android-sdk-linux
VIRTUALENVWRAPPER_SCRIPT=/usr/bin/virtualenvwrapper.sh
XCURSOR_THEME=Adwaita
KDE_FULL_SESSION=true
SHELL=/bin/bash
XDG_DATA_DIRS=/home/cvoltz/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/
GS_LIB=
HISTSIZE=1000
NO_PROXY=localhost,127.0.0.1,192.168.0.0/16,10.10.0.0/16,.dev.net
MANPATH=/usr/share/man/mpich:/usr/share/man:/usr/local/share/man:/home/cvoltz/.local/share/man:/usr/share/bcc/man
XMODIFIERS=@im=none
_VIRTUALENVWRAPPER_API= mkvirtualenv rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv wipeenv allvirtualenv
VAGRANT_DEFAULT_PROVIDER=virtualbox

PYTHONPATH=/usr/lib64/python2.7/site-packages/mpich
_system_type=Linux
MY_RUBY_HOME=/home/cvoltz/.rvm/rubies/ruby-2.5.0
XDG_SESSION_ID=335
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-WiLEs3WoF4,guid=d945a94adb53709103dfd5145c082197
DESKTOP_SESSION=1-kde-plasma-standard
RUBY_VERSION=ruby-2.5.0
HOSTNAME=cvoltz.us.rdlabs.hpecorp.net
MODULESHOME=/usr/share/Modules
MPI_PYTHON_SITEARCH=/usr/lib64/python2.7/site-packages/mpich
_system_version=7
MAIL=/var/spool/mail/cvoltz
MPI_INCLUDE=/usr/include/mpich-x86_64
BASH_FUNC_module()=() {  eval `/usr/bin/modulecmd bash $*`
}
SSH_ASKPASS=/usr/bin/ksshaskpass
GOPATH=/home/cvoltz/Dropbox/projects
GOROOT=/home/cvoltz/go
rvm_path=/home/cvoltz/.rvm

LESSOPEN=||/usr/bin/lesspipe.sh %s
CVS_RSH=ssh
USER=cvoltz
HOME=/home/cvoltz
XDG_VTNR=1
rvm_ruby_string=ruby-2.5.0
QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins:/home/cvoltz/.kde/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/
XAUTHORITY=/tmp/kde-cvoltz/xauth-1000-_0
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/176880,unix/unix:/tmp/.ICE-unix/176880
SHLVL=2
GUESTFISH_INIT=\e[1;34m
EDITOR=/usr/bin/vimx
uReport_SSLVerify=yes
GEM_PATH=/home/cvoltz/.rvm/gems/ruby-2.5.0:/home/cvoltz/.rvm/gems/ruby-2.5.0@global
XDG_SESSION_DESKTOP=1-kde-plasma-standard
SSH_AUTH_SOCK=/tmp/ssh-FiGZr8QKC9ld/agent.176199
rvm_delete_flag=0
GDMSESSION=1-kde-plasma-standard
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/cvoltz/.gtkrc-2.0:/home/cvoltz/.gtkrc-2.0-kde4:/home/cvoltz/.kde/share/config/gtkrc-2.0
XDG_MENU_PREFIX=kde4-
PKG_CONFIG_PATH=/usr/lib64/mpich/lib/pkgconfig:/usr/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig

_=/usr/libexec/kde4/start_kdeinit_wrapper
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles
PERL5LIB=~/perl5/lib/perl5:/home/cvoltz/perl5/lib/perl5:
GUESTFISH_OUTPUT=\e[0m

MPI_BIN=/usr/lib64/mpich/bin
ABRT_VERBOSE=0
_system_name=CentOS
MPI_FORTRAN_MOD_DIR=/usr/lib64/gfortran/modules/mpich-x86_64
GTK_RC_FILES=/etc/gtk/gtkrc:/home/cvoltz/.gtkrc:/home/cvoltz/.kde/share/config/gtkrc
MPI_SUFFIX=_mpich
_LMFILES_=/etc/modulefiles/mpi/mpich-x86_64
KDE_MULTIHEAD=false
PERL_LOCAL_LIB_ROOT=~/perl5::/home/cvoltz/perl5
QTDIR=/usr/lib64/qt-3.3
LD_LIBRARY_PATH=/usr/lib64/mpich/lib
MPI_LIB=/usr/lib64/mpich/lib
LANG=en_US.utf8
QTLIB=/usr/lib64/qt-3.3/lib
QTINC=/usr/lib64/qt-3.3/include

_system_arch=x86_64
USERNAME=cvoltz
MPI_SYSCONFIG=/etc/mpich-x86_64
rvm_prefix=/home/cvoltz
GTK_IM_MODULE=gtk-im-context-simple
IRBRC=/home/cvoltz/.rvm/rubies/ruby-2.5.0/.irbrc

VISUAL=/usr/bin/vimx
QT_GRAPHICSSYSTEM_CHECKED=1
uReport_URL=https://retrace.fedoraproject.org/faf
XDG_CURRENT_DESKTOP=KDE
KDEDIRS=/usr

PERL_MB_OPT=--install_base "~/perl5"
GEM_HOME=/home/cvoltz/.rvm/gems/ruby-2.5.0
PERL_MM_OPT=INSTALL_BASE=~/perl5
IMSETTINGS_MODULE=none
XDG_RUNTIME_DIR=/run/user/1000
QT_IM_MODULE=xim
LOGNAME=cvoltz
XDG_SEAT=seat0
PATH=/home/cvoltz/.rvm/gems/ruby-2.5.0/bin:/home/cvoltz/.rvm/gems/ruby-2.5.0@global/bin:/home/cvoltz/.rvm/rubies/ruby-2.5.0/bin:/home/cvoltz/.rvm/bin::/opt/chefdk/bin:/home/cvoltz/.local/bin:/home/cvoltz/bin:/usr/java/latest/bin:/usr/share/bcc/tools:/usr/lib64/qt-3.3/bin:/home/cvoltz/perl5/bin:/usr/lib64/mpich/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/cvoltz/.cabal/bin:/home/cvoltz/.composer/vendor/bin:/opt/linuxki:/home/cvoltz/android-sdk-linux/tools:/home/cvoltz/android-sdk-linux/build-tools:/home/cvoltz/android-sdk-linux/platform-tools:/home/cvoltz/go/bin:/opt/libreoffice/program:/home/cvoltz/cov-platform/bin:/home/cvoltz/cov-analysis/bin:/home/cvoltz/bullseye/bin:~/perl5/bin:/opt/chefdk/gitbin

GUESTFISH_RESTORE=\e[0m
KDE_SESSION_VERSION=4
SSH_AGENT_PID=176346
TERM=dumb


WINDOWPATH=1:1:1:1:1:1:1:1:1:1:1:1:1
IMSETTINGS_INTEGRATE_DESKTOP=yes
rvm_bin_path=/home/cvoltz/.rvm/bin
GUESTFISH_PS1=\[\e[1;32m\]><fs>\[\e[0;31m\] 
KDE_SESSION_UID=1000
MPI_COMPILER=mpich-x86_64
MPI_HOME=/usr/lib64/mpich
DISPLAY=:0
LOADEDMODULES=mpi/mpich-x86_64
GDM_LANG=en_US.utf8
HISTCONTROL=ignoredups:ignorespace
PWD=/home/cvoltz
MPI_MAN=/usr/share/man/mpich
rvm_pretty_print_flag=auto
ANDROID_SDK_HOME=/home/cvoltz/android-sdk-linux
environ (4,988 bytes)
machineid (135 bytes)
systemd=26202a0abbf0437b9548e9e37cbb8900
sosreport_uploader-dmidecode=e3339f4602f9e09ee73befc885a88a62d0fe9f87d6a8b6f8d7316096fb73f3de
machineid (135 bytes)
oxmon

oxmon

2019-03-04 06:33

reporter   ~0033936

Another user experienced a similar problem:

after hibernate

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/bin/gnome-abrt -p /var/spool/abrt/oops-2019-03-04-07:27:40-12659-0
executable: /usr/bin/gnome-abrt
kernel: 3.10.0-957.5.1.el7.x86_64
package: gnome-abrt-0.3.4-8.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: __init__.py:18:<module>:ImportError: /lib64/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 1000
lead2gold

lead2gold

2019-03-11 15:55

reporter   ~0033978

Can confirm this is an issue.

It's reproducible by just doing the following:
- A clean install of CentOS 7.6 (x86_64)

Now in python:
>>> import gtk

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
    from gtk import _gtk
ImportError: /lib64/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates

# The impacted RPM
rpm -q --whatprovides /lib64/libcairo.so.2
cairo-1.15.12-3.el7.x86_64

Forcing the install of an old cairo is a work-around.

This is impacting virtually any python tool that wraps the GTK bindings. So terminator (which is an awesome Terminal Emulator is broken for example too); this is where i noticed it since my last 'yum update' broke my system. :)
pgreco

pgreco

2019-03-11 17:31

developer   ~0033979

We've been trying to replicate this for a while using base packages and we couldn't, the only similar thing was using an old freetype-freeworld from nux. Can you provide us a list of all your installed packages (rpm -qa)?
Maybe that will help find the culprit.

Pablo.
lead2gold

lead2gold

2019-03-11 18:30

reporter   ~0033980

You are amazing, that was indeed one of the packages i added; removing it fixed my specific problem.

yum remove freetype-freeworld
# yum.log entry: Mar 11 14:15:24 Erased: freetype-freeworld-2.5.5-1.el7.x86_64

python
>>> import gtk
# <works - no crash>

I'm definitely a red-herring to your issue at play here; I apologize for misguiding this tickets direction. :(

To remain transparent though, i did JUST install a fresh CentOS 7.6 DVD and had performed a 'yum update'. I attached to EPEL and nuxref. But this included a 'yum install of freetype-freeworld', but it's one i was hosting; not nux; but nuxref (name is similar). I'm the owner of that repository. I just permanently removed this file from my repository to avoid causing any more conflicts for others possibly using it.

yum.log.gz (3,493 bytes)
JohnnyHughes

JohnnyHughes

2019-03-11 20:33

administrator   ~0033981

The issue with that specific rpm was it was built using the older cairo .. if you rebuild it with the latest cairo it should work OK.
cvoltz

cvoltz

2019-07-08 19:40

reporter   ~0034786

I don't have freetype-freeworld installed but I do have a bunch of other packages from nux (268 of them) and can still reproduce the problem on my machine:

# python
Python 2.7.5 (default, Jun 20 2019, 20:27:34)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module>
    _init()
  File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
    _gtk.init_check()
RuntimeError: could not open display
>

I have attached a list of all the installed RPMs.

cvoltz.rpms (276,514 bytes)
splang

splang

2019-08-30 19:08

reporter   ~0035046

Another user experienced a similar problem:

Trying to use dnf ?

reporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/bin/gnome-abrt -p /var/spool/abrt/Python-2019-08-30-13:04:27-24210
executable: /usr/bin/gnome-abrt
kernel: 5.2.11-1.el7.elrepo.x86_64
package: gnome-abrt-0.3.4-8.el7
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reason: __init__.py:18:<module>:ImportError: /lib64/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates
reproducible: Not sure how to reproduce the problem
runlevel: N 5
type: Python
uid: 1000
cvoltz

cvoltz

2019-10-21 12:28

reporter   ~0035537

I have since uninstalled freetype-freeworld and updated to cario-1.15.12-4.el7.x86_64. I don't know which change resolved it but I no longer have this issue.

Issue History

Date Modified Username Field Change
2018-12-06 18:57 cvoltz New Issue
2018-12-06 18:57 cvoltz File Added: backtrace
2018-12-06 18:57 cvoltz File Added: environ
2018-12-06 18:57 cvoltz File Added: machineid
2019-03-04 06:33 oxmon Note Added: 0033936
2019-03-11 15:55 lead2gold Note Added: 0033978
2019-03-11 17:31 pgreco Note Added: 0033979
2019-03-11 17:57 JohnnyHughes Status new => feedback
2019-03-11 18:30 lead2gold File Added: yum.log.gz
2019-03-11 18:30 lead2gold Note Added: 0033980
2019-03-11 20:33 JohnnyHughes Note Added: 0033981
2019-07-08 19:40 cvoltz File Added: cvoltz.rpms
2019-07-08 19:40 cvoltz Note Added: 0034786
2019-07-08 19:40 cvoltz Status feedback => assigned
2019-08-30 19:08 splang Note Added: 0035046
2019-10-21 12:28 cvoltz Note Added: 0035537