[ubuntu-mono] [Bug 597720] Re: Max CPU and memory grows on photo import

Bug Watch Updater 597720 at bugs.launchpad.net
Fri Jul 9 06:25:29 BST 2010

** Changed in: f-spot
       Status: New => Confirmed

Max CPU and memory grows on photo import
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to f-spot in ubuntu.

Status in Personal photo management for the GNOME desktop: Confirmed
Status in “f-spot” package in Ubuntu: Triaged

Bug description:
Binary package hint: f-spot

See attached jpg file. When I import this the CPU maxes out and memory grows and grows until i kill the process.

I see the following in standard out after the import is kicked off:

item ImportCommand+SourceItem
cleanup context
cleanup context
FSpot.Tiff.ShortReadException: Short Read
  at FSpot.Tiff.DirectoryEntry.LoadExternal (System.IO.Stream stream) [0x00000] 
  at FSpot.Tiff.ImageDirectory.LoadEntries (System.IO.Stream stream) [0x00000] 
  at FSpot.Tiff.ImageDirectory.Load (System.IO.Stream stream) [0x00000] 
  at FSpot.Tiff.ImageDirectory..ctor (System.IO.Stream stream, UInt32 start_position, Endian endian) [0x00000] 
  at FSpot.Tiff.Header..ctor (System.IO.Stream stream) [0x00000] 
  at JpegHeader.GetExifHeader () [0x00000] 
  at FSpot.JpegFile.get_ExifHeader () [0x00000] 
  at FSpot.JpegFile.get_Date () [0x00000] 

The image file raises a dialog when opened in GIMP also. See attached. Something about embedded color profile. If I say yes to this dialog, save the file and then try the import again it works fine. So something in the file is causing this max out in f-spot.

ProblemType: Bug
Architecture: amd64
Date: Wed Jun 23 23:09:26 2010
DistroRelease: Ubuntu 9.10
Package: f-spot
ProcVersionSignature: Ubuntu 2.6.31-22.60-generic
SourcePackage: f-spot
Uname: Linux 2.6.31-22-generic x86_64

More information about the Ubuntu-mono mailing list