FS#7754 - F-Spot crashes while importing pictures

Attached to Project: Arch Linux
Opened by Alexander Rink (freigeist) - Monday, 06 August 2007, 20:27 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 11 December 2007, 20:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08 Don't Panic
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: While importing pictures (JPG, PNG) from hard disk for the first time the import crashes with the following error (.xsession-errors):

open uri = file:///data/Documents/graphic/photos/2003/12/20031222110802.jpg
open uri = file:///data/Documents/graphic/photos/2003/12/20031222110802.jpg
Error importing /data/Documents/graphic/photos/2003/12/20031222110802.jpg
System.NullReferenceException: Object reference not set to an instance of an object
at FSpot.Xmp.XmpTagsImporter.ProcessStore (FSpot.MetadataStore store, .Photo photo) [0x00000]
at FSpot.Xmp.XmpTagsImporter.Import (.Photo photo, System.String path, System.String orig_path) [0x00000]
at FileImportBackend.Step (.Photo& photo, Gdk.Pixbuf& thumbnail, System.Int32& count) [0x00000]
Syncing metadata to file...

It DOES NOT always happen at the same file! If I restart f-spot it is possible that this file will be imported and another on crashes.

Steps to reproduce:
Import a large collection of JPG, PNG without copying the images to the f-spot folder.
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 11 December 2007, 20:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 0.4.1.
Comment by Marcelo Cohen (mflash) - Thursday, 16 August 2007, 13:25 GMT
I can confirm the same behavior. F-Spot was also initially crashing upon upgrade to 0.4.0. I reinstalled it, mono and all dependencies (gtk-sharp-2, gnome-sharp, etc) and it managed to start.
Comment by Alexander Rink (freigeist) - Sunday, 16 September 2007, 05:46 GMT
Nothing new? This seems to be an bug while reading the exif tags. Photos I just copied from my eos 400d are working, but when they are modified (and the exif tags too) there seems to be a null pointer exception while reading the tags.

Loading...