[cairo-bugs] [Bug 19655] Cairo asserts on font-face destroy (SIGABRT)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 11 08:08:55 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=19655


Patrick Boenzli <boenzlip at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boenzlip at gmail.com
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |




--- Comment #2 from Patrick Boenzli <boenzlip at gmail.com>  2009-02-11 08:08:52 PST ---

Hi, 
I hope I'm not doing something wrong by reopening this bug. On my system and on
all other systems we have in our company (Mac OSX 10.5.6) we have the same
problem.

cairo @1.8.6_3+macosx

code:
ctx.set_source_rgb(color[1][0], color[1][1], color[1][2])
ctx.select_font_face("Arial",
cairo.FONT_SLANT_NORMAL, cairo.FONT_WEIGHT_NORMAL)
ctx.set_font_size(int(min(self.icon_width_, self.icon_height_) / 1.5))
        x_bearing, y_bearing, width, height =
ctx.text_extents(str(line_number))[:4] # this is where the problem happens


unfortunately alone, the bug doesn't show up. only after executing this code in
a loop for several 1000 times, always using a new ctx.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list