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

Bug #1476736 reported by jpka
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cairo (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On newly installed system, can't run Gimp:
[code]
$ gimp
gimp: /build/buildd/cairo-1.13.0~20140204/src/cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed.
gimp: terminated: Aborted

(script-fu:3113): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
$
[/code]
It was working on Ubuntu 12.04.5 LTS.
Other people reports same bug, but for different OS and software:
[1] http://superuser.com/questions/889067/programs-crash-upon-opening-in-linux-mint-17-1
[2] (in Russian) http://linuxforum.ru/topic/35264
[3] http://pastebin.com/BBTdXzvK (unknown OS)

$ lsb_release -rd
Description: Ubuntu 14.04.2 LTS
Release: 14.04

$ apt-cache policy gimp
gimp:
  Installed: 2.8.10-0ubuntu1
  Candidate: 2.8.10-0ubuntu1
  Version table:
 *** 2.8.10-0ubuntu1 0
        500 http://ru.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
        100 /var/lib/dpkg/status

$ apt-cache policy libcairo2
libcairo2:
  Installed: 1.13.0~20140204-0ubuntu1.1
  Candidate: 1.13.0~20140204-0ubuntu1.1
  Version table:
 *** 1.13.0~20140204-0ubuntu1.1 0
        500 http://ru.archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1.13.0~20140204-0ubuntu1 0
        500 http://ru.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages

Revision history for this message
Sebastien Bacher (seb128) wrote :

what theme do you use? https://ask.fedoraproject.org/en/question/34864/fedora-20-gimp-constantly-shuts-down/ hints that it could be an issue with that (or with the fonts installed)

Revision history for this message
jpka (jopka) wrote :

Yes, it is fonts related issue, as i can see now: i found a way to reproduce it.
1. Boot from live flash drive (i use 14.04.2 LTS 32-bit version for that)
2. Install 'gimp'
3. Enable Universe repos
4. Install 'gnome-tweak-tool'
5. Install 'xfonts-terminus'
(at this point, gimp will still run)
6. Run 'gnome-tweak-tool', select Fonts, and in 2nd selector from top, select 'Terminus 14'
Wait a bit when new font will apply.
Now, starting gimp, it will crash with error shown above.
Looks like it is not related with this particular font, because other mentioned reports rarely related with this font.
It is not looks like problem with font package itself (possible bugs, etc), because other software runs with it and looks properly.
On Ubuntu 12.04.5 LTS, this bug does not exist.
Thanks.

Revision history for this message
xtrip (xtrip) wrote :

Hello,

I can confirm cairo "scale-font" problem does'nt occur anymore after switching from terminus to another font. (ubuntu semi-light)

Programs affected before :

ubuntu tweak
xcfa
mintupdate

Revision history for this message
xtrip (xtrip) wrote :

Grrrrr, sorry : Linux Mint Rebecca 17.1 / Ubuntu Trusty

Revision history for this message
xyzdragon (xyzdragon) wrote :

I have this bug with FreeFileSync v7.2 Debian 8.1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cairo (Ubuntu):
status: New → Confirmed
Revision history for this message
Stephen Boddy (stephen-j-boddy) wrote :

See https://bugs.launchpad.net/ubuntu/+source/terminator/+bug/1294699 for an earlier instance of this same issue, and details of an upstream (cairo) bug report that is getting no attention for now.

Revision history for this message
jpka (jopka) wrote :

Yes, that looks to be same problem. And no progress with that Bug #1294699 is bad news, gimp and precision fonts are both essential for me, so i am stuck with Ubuntu 12.04 LTS, for a while...

Revision history for this message
jpka (jopka) wrote :

Let me comment here, instead of commenting on duplicate bug, due to it more related to XFCE and other apps (themes). So, looking at good news on bug #1294699, i test my previously reported apps and found that some was fortunately fixed so far.
Looks like fixed and no show this bug any more:
$ libreoffice --version
LibreOffice 4.2.8.2 420m0(Build:2)

$ gimp --version
GNU Image Manipulation Program version 2.8.10

$ firefox --version
Mozilla Firefox 47.0

and still not fixed:
$ thunderbird --version
(process:10726): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
 Thunderbird 38.8.0

My current OS
$ uname -a
Linux test-ssd 3.19.0-64-generic #72~14.04.1-Ubuntu SMP Fri Jun 24 18:00:49 UTC 2016 i686 i686 i686 GNU/Linux
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"

THANKS!

Revision history for this message
jpka (jopka) wrote :

Oops, unfortunately GIMP was NOT fixed.
Also not fixed are:
Eclipse;
B-Label.

Fixed are:
$ /usr/bin/inkscape --version
Inkscape 0.48.4 r9939 (Jan 22 2014)

Looking at date, one may note that something at system level may be fixed, instead of particular app fixing; so we may expect other affected apps going to be "fixed".
Thanks.

Revision history for this message
Boumali Abdelmalek (quantumfields) wrote :

Hi everybody
I vave installed Mathematica in Ubuntu-19.10, and I have the following problem

Mathematica: cairo-scaled-font.c :459 : _cairo_scaled_glyph_page_destroy: l'assertion « !scaled_font->cache_frozen » a échoué.
Aborted (core dumped)

LinkConnect::linkc: -- Message text not found -- (LinkObject[i4d7w_shm, 3, 1])

How can I fixed this problem
Regards
Abdelmalek Boumali

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.