touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #122700
[Bug 1294699] Re: Xubuntu desktop crashes in call to cairo after setting fixed-width bitmap (pcf) GTK font
During further investigation, i found that apps subjected to this bug, starts to work when i downgrade cairo library to one from Ubuntu 12.04 LTS, which version is known to be free from this bug. This is cairo 1.10, libcairo2_1.10.2-6.1ubuntu2_i386.deb. Using it with 'dpkg -i' solves these problems. But adds many other problems: nautilus, synaptic, gedit, and even mc, refuses to work anymore.
So i try to have both libs, and feed only apps subjected to cairo bug, with old library (i extract .deb package as archived file to get old library binary 'libcairo.so.2').
To obtain this, i try LD_PRELOAD.
For gimp and eclipse, i use simple method that works from command line only:
[code]
echo "alias gimp=LD_PRELOAD=/home/test/Downloads/libcairo2_1.10.2-6.1ubuntu2_i386/usr/lib/i386-linux-gnu/libcairo.so.2 gimp" >> ~/.bash_aliases
echo "alias eclipse=LD_PRELOAD=/home/test/Downloads/libcairo2_1.10.2-6.1ubuntu2_i386/usr/lib/i386-linux-gnu/libcairo.so.2 /opt/eclipse/eclipse" >> ~/.bash_aliases
[/code]
For LO, i try to make fully transparent setup which will work also from
GUI, Ubuntu Main Menu, etc. NOTE: Using this way, it is NOT possible to
open documents with spaces in file name. It is don't care for me; i
can't find any possibility to replace '$@' to something supporting
spaces.
[code]
sudo rm /usr/bin/soffice # this is just a link
sudo rm /usr/bin/libreoffice # this is just a link
sudo touch /usr/bin/soffice
sudo chmod a+rwx /usr/bin/soffice
sudo echo "LD_PRELOAD=/home/test/Downloads/libcairo2_1.10.2-6.1ubuntu2_i386/usr/lib/i386-linux-gnu/libcairo.so.2 /usr/lib/libreoffice/program/soffice \$@" > /usr/bin/soffice
sudo cp /usr/bin/soffice /usr/bin/libreoffice
[/code]
This all is probably ugly and dirty, but finally let me really switch to
Ubuntu 14.04.3 LTS from 12.04 LTS for everyday production use. Thanks.
--
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:
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