Nautilus crash if a zero-sized video or graphic file exists in the folder

Bug #1247507 reported by Romano Giannetti on 2013-11-03
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nautilus-python (Ubuntu)

Bug Description

Open nautilus on a director, and then from a shell in the same directory create a 0-lenght file with a video extension, like .avi or .MTS. Nautilus immediately crash trying to render the preview.

(0)samsung-romano:~/tmp% touch 00000.MTS
(0)samsung-romano:~/tmp% totem-video-thumbnailer couldn't open file 'file:///home/romano/tmp/00000.MTS'

(nautilus:11002): GdkPixbuf-CRITICAL **: gdk_pixbuf_loader_close: assertion 'GDK_IS_PIXBUF_LOADER (loader)' failed

(nautilus:11002): GdkPixbuf-CRITICAL **: gdk_pixbuf_loader_get_pixbuf: assertion 'GDK_IS_PIXBUF_LOADER (loader)' failed
sys:1: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

[1] + 11002 segmentation fault (core dumped) nautilus .

This is clearly a crash in the thumbnailer; I remember a similar problem with malformed SVG files. I think that nautilus should be protected by crashing thumbnailers...

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: nautilus 1:3.8.2-0ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-31.46-generic
Uname: Linux 3.8.0-31-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Sat Nov 2 19:11:30 2013
GsettingsChanges: b'org.gnome.nautilus.window-state' b'geometry' b"'1193x738+0+27'"
InstallationDate: Installed on 2013-09-30 (33 days ago)
InstallationMedia: Ubuntu-GNOME 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: nautilus
UpgradeStatus: Upgraded to saucy on 2013-10-18 (15 days ago)

Sebastien Bacher (seb128) wrote :

Thank you for your bug report, could you try to uninstall python-nautilus and see if that's still an issue?

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: New → Incomplete

Sebastian: got it, if I uninstall python-nautilus (and with it gir1.2-nautilus-3.0) the bug disappears.
I am not sure which functions I am losing with it...

affects: nautilus (Ubuntu) → nautilus-python (Ubuntu)

Ok --- marked as new again. I am available for testing.

Changed in nautilus-python (Ubuntu):
status: Incomplete → New
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus-python (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers