GNOME Bugzilla – Bug 150888
crash while thumbnailing svg w/ gradient in text
Last modified: 2004-12-22 21:47:04 UTC
Description of Problem: Nautilus crashes while thumbnailing an svg file containing gradients in text (example svg see below) nautilus: art_render_gradient.c:337: art_render_gradient_linear_render_8: Assertion `(stops[ix-1].offset <= offset_fraction + 1e-6) || ((stops[ix].offset > (1.0 - 1e-6)) && (offset_fraction < 1e-6 ))' failed. Steps to reproduce the problem: 1. put such an svg file into your home 2. try to run nautilus 3. happy crashing Actual Results: nautilus crashes shortly after startup Expected Results: it should render at least something instead of crashing How often does this happen? every time Additional Information: program and lib versions: nautilus 2.6.3 librsvg 2.6.5 Sample svg: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg xmlns="http://www.w3.org/2000/svg" width="210mm" height="297mm"> <defs> <linearGradient id="grad"> <stop style="stop-color:#ff0000;stop-opacity:1;" offset="0"/> <stop style="stop-color:#0000ff;stop-opacity:1;" offset="1"/> </linearGradient> </defs> <text style="fill:url(#grad);" x="300" y="300">Nautilus, don't die!</text> </svg>
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 145426 ***