Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522264 - x11-themes/greybird-1.2.2 Selecting Terminus font makes almost all Xfce applications crash
Summary: x11-themes/greybird-1.2.2 Selecting Terminus font makes almost all Xfce appli...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-06 16:23 UTC by Sergey S. Starikoff
Modified: 2019-11-24 17:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2014-09-06 16:23:17 UTC
Error message:
$ xfce4-display-settings 
	xfce4-display-settings: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed.

[I] media-fonts/terminus-font
     Installed versions:  4.38(21:37:10 30.08.2013)(X center-tilde pcf psf ru-g -a-like-o -distinct-l -quote -raw-font-data -ru-dv -ru-i -ru-k)

Cairo build:
 * Found these USE flags for x11-libs/cairo-1.12.16:
 U I
 + + X              : Add support for X11
 - - debug          : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful
                      backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - directfb       : Add support for DirectFB layer (library for FB devices)
 - - doc            : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package
                      instead of globally
 + + glib           : Compile with GLib Object System support
 - - legacy-drivers : Include the buggy gradients patch (for legacy drivers, such as nvidia-drivers older than
                      304.30)
 + + opengl         : (Restricted to >=x11-libs/cairo-1.10.0)
                      Use Mesa backend for acceleration
 - - openvg         : Use OpenVG for backend acceleration
 - - static-libs    : Build static versions of dynamic libraries as well
 + + svg            : Add support for SVG (Scalable Vector Graphics)
 - - valgrind       : Built-in support to mark memory regions
 - - xcb            : Support the X C-language Binding, a replacement for Xlib
 - - xlib-xcb       : Use XCB renderer backend for acceleration over xlib
ftn@tux ~/dvdrip-data/samoylov $ eix -I greybird
[I] x11-themes/greybird
     Available versions:  1.2.2^bs ~1.3.4^bs {ayatana gnome}
     Installed versions:  1.2.2^bs(19:15:48 06.09.2014)(-ayatana -gnome)
     Homepage:            http://shimmerproject.org/project/greybird/ http://github.com/shimmerproject/Greybird
     Description:         The default theme from Xubuntu

All USEs of x11-themes/greybird are disabled.

All applications are killed by SIGABRT.
For now I see core dumps for:
core_mousepad-6.25937
core_xfce4-display-s-6.25901
core_xfce4-panel-6.25611
core_xfce4-settings--6.25672
core_xfdesktop-6.25612

For mousepad gdb output of core sump shows:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `mousepad'.
Program terminated with signal 6, Aborted.
#0  0x00007f3034179765 in raise () from /lib64/libc.so.6

For xfce4-display-settings message is similiar:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `xfce4-display-settings'.
Program terminated with signal 6, Aborted.
#0  0x00007f6ccd5de765 in raise () from /lib64/libc.so.6

$ einfo 
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.19-r1, 3.12.21-aufs-r1 x86_64)
=================================================================
System uname: Linux-3.12.21-aufs-r1-x86_64-Intel-R-_Core-TM-_i5_CPU_661_@_3.33GHz-with-gentoo-2.2
KiB Mem:     7977808 total,   5039156 free
KiB Swap:    4024240 total,   4024240 free
Timestamp of tree: Fri, 05 Sep 2014 15:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo rion zugaina local_home
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA GPL*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/conf.d/clock /etc/rc.conf /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles/"
EMERGE_DEFAULT_OPTS="--ask=y --verbose --autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://xeon.gentoo.ru/mirrors/gentoo/distfiles/ 		ftp://mirror2.corbina.ru/gentoo-distfiles/ 		http://mirror2.corbina.ru/gentoo-distfiles/ 		http://mirror.yandex.ru/gentoo-distfiles/ 		ftp://mirror.yandex.ru/gentoo-distfiles/ 		http://gentoo.bloodhost.ru/ 		ftp://gentoo.bloodhost.ru/ 		distfiles.gentoo.org"
LANG="ru_RU.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/gentoo"
PORTDIR_OVERLAY="/usr/portage/layman/rion /usr/portage/layman/zugaina /usr/portage/local"
SYNC="rsync://mirror.yandex.ru/gentoo-portage/"
USE="X a52 acl alsa amd64 berkdb bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus djvu dri dv dvd ffmpeg flac fortran gdbm gif gtk iconv icu jpeg jpeg2k kpathsea mac mmx modules mp3 mpeg multilib ncurses nls nptl ogg openmp pam pcre pdf png policykit qt3support readline session sse sse2 ssl tcpd tiff truetype unicode utf8 v4l v4l2 vorbis zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1018" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jason Zaman gentoo-dev 2015-09-13 13:16:55 UTC
well, i can definitely reproduce this, that was not fun.

https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1476736
this seems related. It appears to be any bitmap font not just terminus. 

The checks were introduced in cairo with this commit:
http://cgit.freedesktop.org/cairo/commit/src/cairo-scaled-font.c?id=b5dcc8ce4450de1e48fd0586fddb5ed658719b28

I have x11-libs/cairo-1.14.2 installed.

Adding the x11 team since this seems more like a cairo problem.
Comment 2 Matt Turner gentoo-dev 2019-11-24 17:28:42 UTC
Since we're 4~5 years past this bug being confirmed without any new sightings I'm going to speculatively mark as OBSOLETE.

If anyone can reproduce the issue today, please reopen.