hedecai/fog

Crash in Painter::flush() after SVG rendering

Closed this issue · 9 comments

Fog's SVG render test application crashes in Painter::flush() call after
rendering
http://svn.berlios.de/svnroot/repos/haiku/haiku/trunk/data/artwork/HAIKU%20logo%
20-%20black.svg
with SvgDocument::onRender().

Original issue reported on code.google.com by jardas...@gmail.com on 16 Sep 2009 at 8:53

[deleted comment]
There is no crash when I comment block "case SvgPatternUri" of block "case
SvgStyleFill" in for loop in SvgElement::onRender().

Original comment by jardas...@gmail.com on 16 Sep 2009 at 9:27

Ok, I think I found that. That calls onApplyPattern which is not implemented, it
returns Error::InvalidFunction and then it dies somewhere, perhaps because the
pattern is not applied.

Original comment by jardas...@gmail.com on 16 Sep 2009 at 9:30

Looking at it now

Original comment by kobalicek.petr on 15 Nov 2009 at 10:17

In my working copy this should be fixed. I will set status to fixed when I 
commit
these changes

Original comment by kobalicek.petr on 24 Nov 2009 at 3:13

This bug were related to gradient pattern generator, should be fixed, please 
verify

Original comment by kobalicek.petr on 12 Dec 2009 at 2:10

  • Changed state: Fixed
Nope. Still crashing with that linked SVG image (at least on Windows x64). I 
will test 
it on Linux.

Original comment by jardas...@gmail.com on 12 Dec 2009 at 3:22

  • Changed state: Started
Sorry,

I missed an attached image, this is related to something else, reopening. 
Increasing
priority.

Original comment by kobalicek.petr on 12 Dec 2009 at 3:25

  • Added labels: Priority-High
  • Removed labels: Priority-Medium
Fixed in trunk.

Unfortunately image is not rendered correctly, this will be improved in short 
time.

Original comment by kobalicek.petr on 13 Dec 2009 at 12:37

  • Changed state: Fixed