After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 150888 - crash while thumbnailing svg w/ gradient in text
crash while thumbnailing svg w/ gradient in text
Status: RESOLVED DUPLICATE of bug 145426
Product: nautilus
Classification: Core
Component: Thumbnails
2.6.x
Other Linux
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-08-23 22:17 UTC by Jan Kümmel
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Jan Kümmel 2004-08-23 22:17:58 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>
Comment 1 Martin Wehner 2004-08-24 18:49:05 UTC
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 ***