[cairo-bugs] [Bug 66871] segmentation fault when using cairo_show_text inside evince backend

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 13 02:24:02 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=66871

--- Comment #2 from Uli Schlachter <psychon at znc.in> ---
First of, urgh. Secondly, not much problems with the attached .tar.gz. However,
during compilation I got a compiler warning:

example-page.c:36:1: warning: 'draw_text' defined but not used
[-Wunused-function]

The call to this function was commented out. Re-adding it causes crashes.
However, my crash backtraces look different than Kim's (and I hit a deadlock
once where two threads concurrently called FT_Render_Glyph_Internal() and
apparently didn't get out of FT_Outline_Decompose()...).

My crashes always go through this path:

sample_document_render -> ... -> pango_renderer_draw_{layout,glyphs} -> ... ->
cairo_show_glpyhs on an image surface -> ...  -> _cairo_scaled_glyph_lookup ->
_cairo_ft_scaled_glyph_init -> FT_Load_Glyph -> some missing symbols ->
TT_RunIns

At the same time, another thread does the same through
gtk_widget_get_preferred_size() and lots of missing symbols:

pango_shape_full -> cairo_scaled_font_glyph_extents ->
_cairo_scaled_glyph_lookup -> [same path as above]

(However, there are also runs where this second thread is in
pango_itemize_with_base_dir -> FcConfigSubstituteWithPat or in
cairo_image_surface_create()...)


Anyone got some ideas?

Debian sid here,
evince          3.4.0-3.1+b1
libfreetype6    2.4.9-1.1
libpango1.0-0   1.32.5-5+b1
libcairo2       1.12.14-96-g2cc353c, built with --enable-xcb (also happens with
1.12.14-4, but I don't have debug symbols from debian installed)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20130713/37ca0125/attachment.html>


More information about the cairo-bugs mailing list