Public bug reported: Symptoms:
Nautilus crashes when trying to form preview of malformed SVG image e.g. when opening the containing folder. If the image is placed on the Desktop, Nautilus will go into crash-restart loop. Culprit: Malformed SVG file that has style attribute containing zero length property value. Few examples below: First perfectly OK svg file. ----- example.svg - WORKING -------->8 (file cutline) <svg> <circle style="fill:red" cx="100" cy="100" r="100"/> </svg> ------------------------------------>8 Removed the "red" to make zero length fill-value. Will crash nautilus. ----- example.svg - NONWORKING ----->8 <svg> <circle style="fill:" cx="100" cy="100" r="100"/> </svg> ------------------------------------>8 Added whitespace to make fill-value non zero length. This works again, although the circle will be completely black. ----- example.svg - WORKING -------->8 <svg> <circle style="fill: " cx="100" cy="100" r="100"/> </svg> ------------------------------------>8 Added standard delimiter right after the :. Fill-value is again zero- length and causes Nautilus to crash. ----- example.svg - NONWORKING ----->8 <svg> <circle style="fill:; " cx="100" cy="100" r="100"/> </svg> ------------------------------------>8 So it is pretty clear that style attribute containing zero length property value will cause troubles. Hopefully this will help to find and fix the bug. ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: librsvg2-2 2.26.3-0ubuntu1 ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5 Uname: Linux 2.6.32-23-generic x86_64 NonfreeKernelModules: fglrx Architecture: amd64 Date: Wed Jul 28 19:01:47 2010 InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429) ProcEnviron: LANGUAGE=en LANG=en_GB.utf8 SHELL=/bin/bash SourcePackage: librsvg ** Affects: librsvg (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug lucid -- Nautilus crashes when trying to form preview of malformed SVG image. https://bugs.launchpad.net/bugs/610930 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to librsvg in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs