Xubuntu desktop crashes in call to cairo after setting fixed-width bitmap (pcf) GTK font
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtk2-engines-murrine (Debian) |
Fix Released
|
Unknown
|
|||
gtk2-engines-murrine (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Triaged
|
Medium
|
Unassigned |
Bug Description
[Impact]
Due to a problem in the Murrine engine, using bitmap fonts and Murrine-based
themes at the same time might lead to crash of various GTK+2 apps. This issue
was around for about 3-4 years, or maybe even more.
It affects a lot of Xfce and MATE users who choose to use bitmap fonts, and
it's present in two current LTS releases, so it would be really nice to apply
the fix there.
The patch which is posted below fixes the crashes for good and allows people
to use bitmap fonts and Murrine-based themes together again.
[Test Case]
Steps to reproduce:
1. Have Xubuntu (or Xfce in any other Ubuntu edition) installed. It can be
any release from 14.04 to 16.10.
2. Install gtk2-engines-
if they're not installed.
3. Install some package with bitmap fonts, for example, xfonts-terminus.
4. Run xfce4-appearanc
example, Greybird or Murrine-Light.
5. Switch to the Fonts tab and select some bitmap font, for example, Terminus.
6. Exit xfce4-appearanc
Now some GTK+2 apps will crash right on start with the following error message:
../../.
It's reproducible with mousepad, gimp, geany. With some Murrine-based themes,
like Greybird, it's also reproducible with xfce4-panel and Xfce configuration
apps: xfce4-appearanc
etc.
It also affects some MATE apps, like mate-panel or mate-control-
[Regression Potential]
After several months of testing the fix in Debian Jessie and a few Ubuntu
releases, I hadn't found any regressions. Since the patch is very small and
it fixes all the crashes for good, I don't think there's much space for the
regressions.
[Other Info]
Appearance settings being affected is a nasty thing. However, you can reset
the font to default via the console tool:
$ xfconf-query -c xsettings -p /Gtk/FontName -r
The patch was made following the proposed solution at:
https:/
Similar report seen in archlinux/xfce4:
https:/
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: libgtk2.0-0 2.24.20-1ubuntu1
ProcVersionSign
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)
description: | updated |
description: | updated |
affects: | gtk+2.0 (Ubuntu) → ubuntu |
affects: | ubuntu → gtk2-engines-murrine (Ubuntu) |
affects: | gtk+2.0 (Arch Linux) → archlinux |
Changed in gtk2-engines-murrine (Debian): | |
status: | Unknown → Fix Released |
affects: | archlinux → ubuntu-translations |
no longer affects: | ubuntu-translations |
no longer affects: | terminator (Ubuntu) |
Changed in gtk2-engines-murrine (Ubuntu): | |
importance: | Undecided → Medium |
affects: | xfdesktop → ubuntu-translations |
no longer affects: | ubuntu-translations |
Changed in gtk2-engines-murrine (Ubuntu Xenial): | |
importance: | Undecided → Medium |
description: | updated |
tags: | removed: trusty wily yakkety |
Status changed to 'Confirmed' because the bug affects multiple users.