GNOME Bugzilla – Bug 318483
Bug 317871: error about 'art_render_gradient.c' when opening some files strikes again
Last modified: 2009-02-21 23:20:30 UTC
Steps to reproduce: This bug has been opened here: rsvg-view button_apply.svg rsvg-view: art_render_gradient.c:338: art_render_gradient_linear_render_8: Assertion `offset_fraction <= stops[ix].offset' failed. Aborted It is issue present at http://bugzilla.gnome.org/show_bug.cgi?id=317871 Attaching more svg files. Stack trace: Other information:
Created attachment 53300 [details] This one produces the effect.
Created attachment 53301 [details] This one too.
I'm pretty sure the fix for that has been backported to the 2.12 branch. Try getting the latest version.
Caleb, the backport fix was done. The previous bug presented a issue with a specific file, which now shows up ok. But those two I've put here are still with problems.
Ah, I see, it's a different problem... in cases like these it's best not to link to an old bug that has been fixed because it's confusing. Ok, well, those work really well with CVS librsvg-cairo, but I'll check them out with the libart backend.
Ok, I found the problem, it is with libart. Currently, it's not possible to fix this in librsvg, but if you want to hack your file so it doesn't make libart crash you can. Change line 332 of the question mark one to: x1="24757" And you should be right. Basically by subtracting one from the number you stop it from crashing. The same thing happens if you add one to it, or change any of the other numbers in that gradient by one. Does it make sense? No of course not. This sort of crap is exactly why we are using cairo now. I hate libart. I'm reassigning to libart, but I wouldn't hold your breath for a fix.
Is this still an issue nowadays or can this be closed as OBSOLETE?
I assume it's OBSOLETE by now. If not, please reopen!