GNOME Bugzilla – Bug 402336
Importing lots of RAWs leaks file handles
Last modified: 2007-01-30 07:09:10 UTC
Steps to reproduce: 1. Import thousands of RAW files 2. Wait until F-Spot crashes. 3. Repeat. Stack trace: Gnome.Vfs.VfsException: Too many open files at Gnome.Vfs.Vfs.ThrowException (System.String uri, Result result) [0x00000] at Gnome.Vfs.Vfs.ThrowException (Gnome.Vfs.Uri uri, Result result) [0x00000] at Gnome.Vfs.Sync.Open (Gnome.Vfs.Uri uri, OpenMode mode) [0x00000] at Gnome.Vfs.VfsStream..ctor (System.String text_uri, FileMode mode, Boolean async) [0x00000] at Gnome.Vfs.VfsStream..ctor (System.String uri, FileMode mode) [0x00000] at (wrapper remoting-invoke-with-check) Gnome.Vfs.VfsStream:.ctor (string,System.IO.FileMode) at FSpot.ImageFile.Open () [0x00000] at FSpot.Ciff.CiffFile.get_Root () [0x00000] at FSpot.Ciff.CiffFile.get_Date () [0x00000] at FileImportBackend.ChooseLocation (System.String path, System.Collections.Stack created_directories) [0x00000] at FileImportBackend.Step (.Photo& photo, Gdk.Pixbuf& thumbnail, System.Int32& count) [0x00000] Could not import file Stopping Other information: My hard disk recently crashed so I'm trying to re-import my photographs into F-Spot. I have an existing F-Spot photograph hierarchy on a backup drive that I'm trying to copy into my new RAID array. After importing a few hundred RAWs, F-Spot logs the above exceptions. Depending on how many files are attempted to be imported, F-Spot will report the error however it may or may not segfault. Also with too many file handles leaked, icons and thumbnails may render as the default error or ? icon.
Hi, Thanks for this bug report. The 'too many open files' issue is already reported in our bugzilla as bug #375365. Can we continue the discussion over there ? Also let us know how much is too much... *** This bug has been marked as a duplicate of 375365 ***