<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Toy font face causes cairo_debug_reset_static_data crash."
href="https://bugs.freedesktop.org/show_bug.cgi?id=87567#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Toy font face causes cairo_debug_reset_static_data crash."
href="https://bugs.freedesktop.org/show_bug.cgi?id=87567">bug 87567</a>
from <span class="vcard"><a class="email" href="mailto:sixtysix@inwind.it" title="Massimo <sixtysix@inwind.it>"> <span class="fn">Massimo</span></a>
</span></b>
<pre>git bisect ends with
337ab1f8d9e29086bfb4001508b28835b41c6390 is the first bad commit
commit 337ab1f8d9e29086bfb4001508b28835b41c6390
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date: Tue Sep 17 16:28:19 2013 +0100
and that commit introduced in cairo/src/cairo-font-face.c a
function __put () that hardly returns 0, it returns the ref
count before decreasing it (unless it is 1) and is called in
2 places like this:
assert (CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&font_face->ref_count));
...
if (__put (&font_face->ref_count))
return;
if (! font_face->backend->destroy (font_face))
return;
...
and the second if is not executed even in a single threaded
program</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>