GNOME Bugzilla – Bug 620771
crash on import
Last modified: 2010-06-14 20:43:13 UTC
Created attachment 162886 [details] complete log created with `f-spot --debug 2>&1 > bt.log` Trying to import from an SD card crashes f-spot. This is the last error message, attaching full log of warnings. (f-spot:6921): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference. Unhandled Exception: GLib.GException: Error stating file '/media/A5F8-A1AC/private/avchd/nikon co.rpo': Input/output error at GLib.FileEnumerator.NextFile (GLib.Cancellable cancellable) [0x00000] at GLib.FileEnumerator.NextFile () [0x00000] at GLib.FileEnumerator+Enumerator.MoveNext () [0x00000] at FSpot.Utils.RecursiveFileEnumerator+<ScanDirectoryForFiles>c__Iterator1.MoveNext () [0x001b4] in /home/jimmac/src/cvs/gnome/f-spot/src/Utils/RecursiveFileEnumerator.cs:62 at FSpot.Utils.RecursiveFileEnumerator+<ScanDirectoryForFiles>c__Iterator1.MoveNext () [0x0017b] in /home/jimmac/src/cvs/gnome/f-spot/src/Utils/RecursiveFileEnumerator.cs:71 at FSpot.Utils.RecursiveFileEnumerator+<ScanDirectoryForFiles>c__Iterator1.MoveNext () [0x0017b] in /home/jimmac/src/cvs/gnome/f-spot/src/Utils/RecursiveFileEnumerator.cs:71 at FSpot.Utils.RecursiveFileEnumerator+<ScanForFiles>c__Iterator0.MoveNext () [0x0012f] in /home/jimmac/src/cvs/gnome/f-spot/src/Utils/RecursiveFileEnumerator.cs:44 at FSpot.Import.FileImportSource.ScanPhotoDirectory (FSpot.Import.ImportController controller, Hyena.SafeUri uri) [0x000c9] in /home/jimmac/src/cvs/gnome/f-spot/src/Import/FileImportSource.cs:55 at FSpot.Import.FileImportSource.ScanPhotos (FSpot.Import.ImportController controller) [0x0000d] in /home/jimmac/src/cvs/gnome/f-spot/src/Import/FileImportSource.cs:47 at FSpot.Import.FileImportSource+<StartPhotoScan>c__AnonStorey7.<>m__F () [0x00000] in /home/jimmac/src/cvs/gnome/f-spot/src/Import/FileImportSource.cs:42
Could you do an "ls -l" on that file? Is it a normal file or a symlink / device / ...?
It is a normal SD card, used by two cameras (Nikon D90 and Panasonic GF1). Attaching content listing.
Created attachment 162941 [details] SD card contents
Created attachment 162943 [details] contents with basic info per file.
Created attachment 163405 [details] [review] Catch more errors in RecursiveFileEnumerator.
Comment on attachment 163405 [details] [review] Catch more errors in RecursiveFileEnumerator. Attachment 163405 [details] pushed as db8c0bf - Catch more errors in RecursiveFileEnumerator. I have pushed a possible fix for this, which ignores errors. It should no longer crash now. Could you try to gvfs-info the file on which it crashed? (/media/A5F8-A1AC/private/avchd/nikon co.rpo)