nautilus hangs on preview of SVG with embedded TIF

Bug #409409 reported by Andy Pascall
94
This bug affects 17 people
Affects Status Importance Assigned to Milestone
Nautilus
Invalid
Undecided
Unassigned
librsvg
Invalid
Critical
librsvg (Ubuntu)
Confirmed
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

Release: Ubuntu 9.04 x86_64

Nautilus version: 1:2.26.2-0ubuntu2

Nautilus hangs when generating a preview for SVG files that contain embedded TIFs with an absolute path.

To reproduce:
1. edit line 17 of the attached SVG to point to the absolute path of the included TIF.
2. browse to the folder containing the SVG in nautilus with previews turned on.
3. Try to open another window like places->home.
4. Nautilus has hung.

Workaround:
Turn off file previews: Edit->Preferences->Preview->Show thumbnails->never

Revision history for this message
Andy Pascall (apascall) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

reassigning to librsvg.

affects: nautilus (Ubuntu) → librsvg (Ubuntu)
Changed in librsvg (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Medium
status: New → Triaged
Changed in nautilus:
importance: Unknown → Undecided
status: Unknown → New
status: New → Invalid
Changed in librsvg:
status: Unknown → New
Revision history for this message
James McGuire (jimmi-mcg) wrote :

Hi, I also have same issue running Ubuntu Karmic 9.10 64bit

Nautilus becomes unresponsive when navigating to a folder containing SVG's - I also believe they have embedded TIF images.
A workaround is to set "Preview Thumbnails" to "Never" in the preferences, however obviously not acceptable.

Please find a gdb backtrace attached:
Process while running backtrace: run a new instance of nautilus after previously becoming unresponsive and killed, navigating to problem folder containing SVG's, watching nautilus again become unresponsive and sending SIGINT via gdb in console (ctrl C)

I think (and hope) I have all or enough debugging symbols installed.

Let me know if anything further is required.

Revision history for this message
nico (romano-nicola) wrote :

I can confirm this bug is also present on Fedora FC12, kernel 2.6.32.12-115.fc12.i686.PAE , libtiff-3.9.2-3, librsvg2-2.26.0-3

PS: The workaround is just silly, I do want file previews, but I also want to be able to navigate folders with .svg files in them.
Unless there is some way to specifically avoid preview of svg files, that is

Revision history for this message
Matthew Newton (matthew-ubuntu) wrote :

I have this problem too (fully up-to-date Lucid 10.04), although it doesn't matter whether the TIFF file has an absolute or a relative path in the SVG.

Steps to reproduce:
1. Create a TIFF: $ import test.tiff
2. Open Inkscape, drag the new test.tiff in.
3. Save as SVG.
4. Browse to the containing folder with Nautilus, or $ eog test-svg-file

The SVG can be modified to make the TIFF file path absolute, and the issue still occurs. Does not happen with, say, JPEG files.

I use a lot of TIFF files in SVG, and this bug has been around quite a while now (not sure when it started, as Nautilus used to crash because of gradients in SVG files, so the cause is now different but the effect is the same!)

librsvg2-2 2.26.3-0ubuntu1

Changed in librsvg:
importance: Unknown → Critical
Revision history for this message
Ian Lynch (ian-lynch-theingots) wrote :

Its not just Tiffs. I have a file with no tiffs in it that does it. These are .pngs but the version without embedding does it too so I'm not even convinced that embedding is relevant.

Duplicate of bug #305546?

Revision history for this message
Michele Pittoni (mpitt79) wrote :

Happened to me also. Disabling thumbnails is a workaround.
I resolved the situation by converting the .tif in a .png with Gimp and editing the .svg file in Inkscape to embed the .png.
Not sure if the type of file is the only thing that matters, I wonder if size has an importance. (Tif was 392KiB, Png 121KiB).

Revision history for this message
Cacophrene (cacophrene) wrote :

This long-standing bug is still not solved in the latest Ubuntu release (oneiric) and this is really annoying. Nautilus still constantly crashes when trying to display SVG previews which contain TIFF files with absolute paths.

Cacophrene (cacophrene)
Changed in librsvg (Ubuntu):
status: Triaged → Confirmed
Changed in librsvg:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.