Package: libcairo2
Version: 1.10.2-6.2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Recently I upgraded libcairo2 on my system, and found that pidgin (the program
I use most that uses libcairo2) was misbehaving.  It rendered text incorrectly
and crashed often.  I did search for information about what might be the
problem, and now most of the time it does not crash - since having removed
duplicate fonts from my system - but it still behaves as described - initial
text is rendered correctly, but before it has finished loading, the text is
progressively replaced with rectangles of appropriate size, unless I run it as
root, in which case it runs correctly.  It appears to replace the text when it
is redrawn for whatever reason - so running through the menus causes the text
to be replaced with rectangles as you run through.

Pidgin prints these messages:  (example where it crashed)
aer97@amos:~$ pidgin
WARNING: gnome-keyring:: no socket to connect to

(Pidgin:19158): Pango-CRITICAL **: pango_font_description_set_size: assertion
`size >= 0' failed

(Pidgin:19158): Pango-CRITICAL **: pango_font_description_set_size: assertion
`size >= 0' failed

(Pidgin:19158): Pango-CRITICAL **: pango_font_description_set_size: assertion
`size >= 0' failed

(Pidgin:19158): Pango-WARNING **: failed to create cairo scaled font, expect
ugly output. the offending font is 'Bitstream Vera Sans Bold 12.9990234375'

(Pidgin:19158): Pango-WARNING **: font_face status is: no error has occurred

(Pidgin:19158): Pango-WARNING **: scaled_font status is: invalid matrix (not
invertible)

(Pidgin:19158): Pango-WARNING **: shaping failure, expect ugly output. shape-
engine='BasicEngineFc', font='Bitstream Vera Sans Bold 12.9990234375',
text='Favorites'

(Pidgin:19158): Pango-CRITICAL **: pango_font_description_set_size: assertion
`size >= 0' failed

(Pidgin:19158): Pango-CRITICAL **: pango_font_description_set_size: assertion
`size >= 0' failed
The program 'Pidgin' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 9670 error_code 11 request_code 53 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
aer97@amos:~$
(example where it replaced text for rectangles):
aer97@amos:~$ pidgin
WARNING: gnome-keyring:: no socket to connect to

(Pidgin:19166): Pango-CRITICAL **: pango_font_description_set_size: assertion
`size >= 0' failed

(Pidgin:19166): Pango-CRITICAL **: pango_font_description_set_size: assertion
`size >= 0' failed

(Pidgin:19166): Pango-CRITICAL **: pango_font_description_set_size: assertion
`size >= 0' failed

(Pidgin:19166): Pango-WARNING **: failed to create cairo scaled font, expect
ugly output. the offending font is 'Bitstream Vera Sans Bold 12.9990234375'

(Pidgin:19166): Pango-WARNING **: font_face status is: no error has occurred

(Pidgin:19166): Pango-WARNING **: scaled_font status is: invalid matrix (not
invertible)

(Pidgin:19166): Pango-WARNING **: shaping failure, expect ugly output. shape-
engine='BasicEngineFc', font='Bitstream Vera Sans Bold 12.9990234375',
text='Favorites'

(Pidgin:19166): Pango-CRITICAL **: pango_font_description_set_size: assertion
`size >= 0' failed

(Pidgin:19166): Pango-WARNING **: shaping failure, expect ugly output. shape-
engine='BasicEngineFc', font='Bitstream Vera Sans 12.9990234375', text=' '
aer97@amos:~$

I did try building cairo from source, but it behaved exactly the same.

I do build pidgin from source, rather than use the package, so possibly this
should be filed against the dev package.  However, it didn't appear after I
rebuilt pidgin against the new cairo, but before.  I have tried rebuilding
pidgin but with exactly the same result.

Gimp, which also uses libcairo2, has no obvious problems.  Abiword also uses
cairo, and it doesn't crash but is rather slow.

The packaged version of pidgin does not have the same problem.  Both package
and source of pidgin are 2.10.1.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.1 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libcairo2 depends on:
ii  libc6           2.13-24
ii  libfontconfig1  2.8.0-3
ii  libfreetype6    2.4.8-1
ii  libpixman-1-0   0.24.2-1
ii  libpng12-0      1.2.46-4
ii  libx11-6        2:1.4.4-4
ii  libxcb-render0  1.7-4
ii  libxcb-shm0     1.7-4
ii  libxcb1         1.7-4
ii  libxrender1     1:0.9.6-2
ii  zlib1g          1:1.2.3.4.dfsg-3

libcairo2 recommends no packages.

libcairo2 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to