[cairo-bugs] [Bug 105746] SIGABRT in _cairo_ft_unscaled_font_create_internal

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 21 07:46:32 UTC 2018


Uli Schlachter <psychon at znc.in> changed:

           What    |Removed                     |Added
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #8 from Uli Schlachter <psychon at znc.in> ---
> Is there anything I can do to move this forward so it gets fixed?

Writing a comment on this bug and asking for just that seems to be a good idea.

Pushed the patch from comment 4.

commit 7554822dd0b52d33ec7898e81b59e97164b00142
Author: Uli Schlachter <psychon at znc.in>
Date:   Sat Apr 21 09:37:06 2018 +0200

    Fix assertion failure in the freetype backend

    Fonts are kept in a hash table, so when creating a new font, the code
    first checks the hash table for an already-existing entry and only then
    is a new instance really created. There is an assert that checks that
    the key used for the hash table lookup is the same as the instance that
    is created later has, because otherwise the hash table was checked

    This assert failed in some conditions.

    Fix this by fixing some places that initialised ft hash keys in a wrong

    Patch by Behdad Esfahbod and submitted via bugzilla.

    Source: https://bugs.freedesktop.org/show_bug.cgi?id=105746#c4
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=105746
    Signed-off-by: Uli Schlachter <psychon at znc.in>

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

More information about the cairo-bugs mailing list