[cairo-bugs] [Bug 13303] _cairo_pen_find_active_cw_vertex_index failed assertion

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 21 15:14:22 PST 2007


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





------- Comment #6 from cworth at cworth.org  2007-11-21 15:21 PST -------
(In reply to comment #2)
> Uhm, can't get the crash playing the file locally too. Playing from the
> website makes a difference. Btw upgraded to latest git of swfdec.

Thanks. I've tried that now and I have succesfully replicated the bug.
And the bug seems to exist with even the latest cairo from git, so this
definitely looks new compared to other bugs we've seen, (even those
that crashed on the same assertion failure).

And thanks for the report from libcairowrap. That tool's output is definitely
looking really good. For anyone hacking on it, (and yes, Benjamin might not be
on the CC list so someone might have to chase him down and point him at this
walled-off discussion), here are a couple of things that would be nice to fix:

   1. The numbers need to be printed as valid C literals, (that is, a
locale-independent printing of floating-point numbers). The current -45,6667
where C wants -45.6667 is not too useful. :-)

   2. Instead of cr_0xdeadbeef it would be nice to just have the tool identify
matching pointers and map them to small integers. So "cr", "cr2", "cr3" or so.

Anyway, as nice as it looks, the output you gave doesn't look sufficient to
replicate the bug. I'm assuming that's because there's a particular
transformation matrix necessary to trigger the bug, (so using that snippet with
an identity transform doesn't exercise the bug).

Maybe libcairowrap should periodically emit something to explicitly set
relevant cairo state such as the CTM? That would let reporters quote output
back to the last such snapshot and ensure that all state was captured.

-Carl


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


More information about the cairo-bugs mailing list