<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - segmentation fault when using cairo_show_text inside evince backend"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66871#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - segmentation fault when using cairo_show_text inside evince backend"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66871">bug 66871</a>
from <span class="vcard"><a class="email" href="mailto:psychon@znc.in" title="Uli Schlachter <psychon@znc.in>"> <span class="fn">Uli Schlachter</span></a>
</span></b>
<pre>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)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>