GNOME Bugzilla – Bug 317871
error about 'art_render_gradient.c' when opening some files
Last modified: 2005-10-10 15:34:11 UTC
This bug has been opened here: "rsvg-view trashcan_empty.svg rsvg-view: art_render_gradient.c:334: art_render_gradient_linear_render_8: Assertion `ix > 0' failed. Aborted Attaching the file - the lib should not hang anyway ... http://bugzilla.ubuntu.com/attachment.cgi?id=4304 This file produces this message This file seems to break libsvg.
+ Trace 63344
that doesn't happen with librsvg 2.9.5 but with 2.12.0/2.12.4 according to the submitter. Debug backtrace from nautilus crashing:
+ Trace 63345
Works fine with CVS HEAD
No, actually, only works fine in HEAD if rendered without specifying width and height.
ok, found the problem, there were <text> tags in the gradients and Rsvg wasn't handling it gracefully. All fixed now.
Caleb, would you please backport this to the 2.12.x branch if possible? Thanks.
Created attachment 53119 [details] [review] CVS changes applied to 2.12.4 tarball That's the CVS changed applied to 2.12.4. I'm going to push that for Ubuntu 5.10, could anybody knowing the code let me know if that's correct? That fixes the issue here...
patch applied to the gnome-2-12 branch. thanks seb!
Yay, I didn't have to do it!
Created attachment 53298 [details] This icon makes librsvg locks up hard.