Package: libcairo2
Version: 1.12.2-3
Severity: normal
Cairo crashes with a bus error when generating PDFs that use the font Source
Sans Pro and variants (available freely from
http://store1.adobe.com/cfusion/store/html/index.cfm?event=displayFontPackage&code=1959).
It doesn't crash with any other fonts that I have tried (although I have only
tried Liberation and Luxi), and it doesn't crash with any other output formats
(although I have only tried PNG, SVG and PostScript).
A simple test case for this is to cat the following into "dot -Tpdf":
$ dot -Tpdf
graph test {
node1 [fontname="Source Sans Pro"]
node1 -- node2
}
%PDF-1.5
...
7 0 obj
<< /Type /Page
/Parent 1 0 R
/MediaBox [ 0 0 162 190 ]
/Contents 3 0 R
/Group <<
/Type /Group
/S /Transparency
/I true
/CS /DeviceRGB
>>
/Resources 2 0 R
>>
endobj
Bus error (core dumped)
$ echo $?
138
$ gdb dot core
GNU gdb (GDB) 7.4.1-debian
...
Reading symbols from /usr/bin/dot...(no debugging symbols found)...done.
[New LWP 32651]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/sparc-linux-gnu/libthread_db.so.1".
Core was generated by `dot -Tpdf eg.dot'.
Program terminated with signal 10, Bus error.
#0 cff_index_read (index=0x110000, ptr=<optimized out>,
end_ptr=<optimized out>)
at
/build/buildd-cairo_1.12.2-3-sparc-aliS5z/cairo-1.12.2/src/cairo-cff-subset.c:438
438
/build/buildd-cairo_1.12.2-3-sparc-aliS5z/cairo-1.12.2/src/cairo-cff-subset.c:
No such file or directory.
(gdb) bt
#0 cff_index_read (index=0x110000, ptr=<optimized out>,
end_ptr=<optimized out>)
at
/build/buildd-cairo_1.12.2-3-sparc-aliS5z/cairo-1.12.2/src/cairo-cff-subset.c:438
#1 0xf7f0fcf0 in ?? () from /lib/sparc-linux-gnu/libc.so.6
#2 0xf7f0fcf4 in ?? () from /lib/sparc-linux-gnu/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thanks.
-- System Information:
Debian Release: 7.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: sparc (sparc64)
Kernel: Linux 2.6.32-5-sparc64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libcairo2 depends on:
ii libc6 2.13-38
ii libfontconfig1 2.9.0-7.1
ii libfreetype6 2.4.9-1.1
ii libpixman-1-0 0.26.0-4
ii libpng12-0 1.2.49-1
ii libx11-6 2:1.5.0-1+deb7u1
ii libxcb-render0 1.8.1-2+deb7u1
ii libxcb-shm0 1.8.1-2+deb7u1
ii libxcb1 1.8.1-2+deb7u1
ii libxrender1 1:0.9.7-1+deb7u1
ii multiarch-support 2.13-38
ii zlib1g 1:1.2.7.dfsg-13
libcairo2 recommends no packages.
libcairo2 suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]