← Back to team overview

touch-packages team mailing list archive

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

 

Terminator maintainer here. We also get hit with this if a user selects a bitmap font in the preferences. You can select it no problem. You can even reopen the prefs. The problem comes when you restart the program. If you /then/ try to open the Prefs, we get the same error as above. This seems to be an issue when the cache has not yet been created maybe, and is a common problem affecting multiple applications. See:
https://bugs.freedesktop.org/show_bug.cgi?id=78787
and appears to be caused by this line:
http://cgit.freedesktop.org/cairo/tree/src/cairo-scaled-font.c#n459
where the asserts were added here:
http://cgit.freedesktop.org/cairo/commit/src/cairo-scaled-font.c?id=b5dcc8ce4450de1e48fd0586fddb5ed658719b28
and seem to somehow be related to working around threading/locking issues.

For info this does NOT happen on Precise (10.04) but DOES happen on
Trusty (12.04).

Unfortunately looking at the age of the cairo bug (2014-05-16), and the
lack of response (it's still marked NEW) we may not get any kind of
progress.

** Bug watch added: freedesktop.org Bugzilla #78787
   https://bugs.freedesktop.org/show_bug.cgi?id=78787

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded 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:
  New
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