← Back to team overview

desktop-packages team mailing list archive

[Bug 1294699] Re: Xubuntu desktop crashes in call to cairo after setting fixed-width bitmap (pcf) GTK font

 

Other apps affected by cairo bug, and can be fixed with LD_PRELOAD, as in #6: 
firefox, chromium-browser, thunderbird (Save as... and File selection dialogs);
paprefs;
gimp's PDF import filter.

To make gimp's PDF import work again, a bit more complex command and more library regression need:
alias gimp='LD_PRELOAD="/home/test/Downloads/libcairo2_1.10.2-6.1ubuntu2_i386/usr/lib/i386-linux-gnu/libcairo.so.2 /home/test/Downloads/libpoppler-glib8_0.18.4-1ubuntu3.1_i386/usr/lib/i386-linux-gnu/libpoppler-glib.so.8 /home/test/Downloads/libpoppler19_0.18.4-1ubuntu3.1_i386/usr/lib/i386-linux-gnu/libpoppler.so.19 /home/test/Downloads/libtiff4_3.9.5-2ubuntu1.8_i386/usr/lib/i386-linux-gnu/libtiff.so.4" gimp'

The required libraries are here http://packages.ubuntu.com/precise/libs/
. I test on i386 OS only.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1294699

Title:
  Xubuntu desktop crashes in call to cairo after setting fixed-width
  bitmap (pcf) GTK font

Status in xfdesktop:
  New
Status in gtk+2.0 package in Ubuntu:
  Confirmed
Status in terminator package in Ubuntu:
  Confirmed
Status in gtk+2.0 package in Arch Linux:
  New

Bug description:
  Reproduce: In Xubuntu (xfce), go to Settings Manager -> Appearance ->
  Fonts -> Default Font, select an installed fixed-width, bitmapped .pcf
  font (e.g. ProFont).  Desktop crashes; the new font does appear in the
  apport dialogs, but attempting to log back into the session, xfdesktop
  crashes with an assert in cairo, with gtk up the stacktrace:

  cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion
  `!scaled_font->cache_frozen' failed.

  To undo the change and be able to log in, I had to remove the GTK Font
  property in xfce4's xsettings.xml config file.  It would be a fair
  limitation if certain bitmap fonts failed over gracefully or were
  disallowed for selection, however, allowing an the interface to select
  the font without error, and then crashing and hanging the session on
  every login, leaving the config in a bad state should be fixed.

  uname:
  3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

  lsb_release:
  Distributor ID:	Ubuntu
  Description:	Ubuntu 13.10
  Release:	13.10
  Codename:	saucy

  Similar report seen in archlinux/xfce4:
  https://bbs.archlinux.org/viewtopic.php?id=169433

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: libgtk2.0-0 2.24.20-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-18.32-generic 3.11.10.4
  Uname: Linux 3.11.0-18-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: amd64
  Date: Wed Mar 19 10:41:54 2014
  InstallationDate: Installed on 2013-11-01 (138 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MarkForUpload: True
  SourcePackage: gtk+2.0
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfdesktop/+bug/1294699/+subscriptions