Red Hat Bugzilla – Bug 76972
Fatal crash with SVG thumbnails
Last modified: 2015-01-07 19:01:29 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020830
Description of problem:
Nautilus crashs when it's reading a directory with SVG files
Version-Release number of selected component (if applicable): 2.0.6
Steps to Reproduce:
1.Create a SVG file with Sodipodi
2.Save it into a directory
3.Open this directory with Nautilus
Actual Results: Fatal crash
Expected Results: A thumbnailed image or a type mime icon
Troubles with librSVG ? I get the same problem when i tried Ximian preview of
Gnome 2 this summer, but it was fixed about 4/5 september. If you could correct
it, it's irritant for me and my daily job.
Many thanks in advance
We need a copy of the SVG file that causes the problem.
Created attachment 82905 [details]
problematic SVG file received via email
There are strings in that svg that are not valid utf8, and the xml doesn't
specify any encoding. Thus it's invalid, but we still shouldn't crash.
I've fixed librsvg in cvs HEAD to not crash, but sodipodi should really be fixed
to add an encoding to the file.
Changing the first line in the file to:
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
makes it work.
hp: How are we supposed to handle bugs that are resolved in gnome cvs?
If you want to errata the bug, keep it open, otherwise ->DEFERRED and we'll get
the fix on next upgrade.