After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 555340 - crash when importing a particular photo
crash when importing a particular photo
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: Import
0.4.x
Other Linux
: Normal normal
: 0.7.1
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-07 04:10 UTC by Greg Grossmeier
Modified: 2010-07-13 16:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Greg Grossmeier 2008-10-07 04:10:56 UTC
Originally opened on Launchpad: https://launchpad.net/bugs/279440
-----

Using Ubuntu Intrepid (devel branch). Using F-Spot 0.4.4.

When I import the attached photo to f-spot it shows up briefly then F-Spot crashes. When I re-open f-spot, it immediately crashes. I have to manually delete the photo that was imported into my f-spot Photo directory (along with a some other random 0 byte file) for it to work. Also attached a transcript of the session with --debug when F-Spot crashes.

Photo: http://launchpadlibrarian.net/18282711/PA040011.JPG

--debug Log:

** Running f-spot in Debug Mode **
** Running Mono with --debug   **
[Info  19:51:50.633] Initializing DBus
[Debug 19:51:50.802] DBusInitialization took 0.13712s
[Info  19:51:50.802] Initializing Mono.Addins
[Debug 19:51:51.027] Mono.Addins Initialization took 0.22503s
[Info  19:51:51.035] Starting new FSpot server
[Debug 19:51:51.235] Db Initialization took 0.14247s
[Debug 19:51:51.498] Query: SELECT photos.id, photos.time, photos.uri, photos.description, photos.roll_id, photos.default_version_i
d, photos.rating FROM photos  WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY photos.time
[Debug 19:51:51.587] Query took 0.088464s
[Debug 19:51:51.607] Query: SELECT photos.id, photos.time, photos.uri, photos.description, photos.roll_id, photos.default_version_i
d, photos.rating FROM photos  WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY photos.time
[Debug 19:51:51.631] Query took 0.023869s
[Debug 19:51:52.389] open uri = file:///home/cecile/Photos/2008/08/27/img_8786.jpg
[Debug 19:51:52.396] open uri = file:///home/cecile/Photos/2008/08/27/img_8786.jpg
Syncing metadata to file...
[Debug 19:51:52.499] open uri = file:///home/cecile/Photos/2008/10/05/cute.jpg
Error syncing metadata to file
System.IO.FileNotFoundException: Could not find uri "file:///home/cecile/Photos/2008/10/05/cute.jpg".
  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.JpegFile.get_Header () [0x00000] 
  at FSpot.JpegFile.get_ExifData () [0x00000] 
  at FSpot.JpegFile.SetDescription (System.String value) [0x00000] 
  at FSpot.Jobs.SyncMetadataJob.WriteMetadataToImage (FSpot.Photo photo) [0x00000] 
  at FSpot.Jobs.SyncMetadataJob.Execute () [0x00000] 
[Debug 19:51:52.689] open uri = file:///home/cecile/Photos/2008/08/27/img_8789.jpg
[Debug 19:51:52.697] open uri = file:///home/cecile/Photos/2008/08/27/img_8789.jpg
[Debug 19:51:53.032] open uri = file:///home/cecile/Photos/2008/08/28/img_8804.jpg
[Debug 19:51:53.032] open uri = file:///home/cecile/Photos/2008/08/28/img_8804.jpg
[Debug 19:51:53.522] open uri = file:///home/cecile/Photos/2008/09/05/img_8816.jpg
[Debug 19:51:53.522] open uri = file:///home/cecile/Photos/2008/09/05/img_8816.jpg
[Debug 19:51:53.761] open uri = file:///home/cecile/Photos/2008/09/05/img_8820.jpg
[Debug 19:51:53.762] open uri = file:///home/cecile/Photos/2008/09/05/img_8820.jpg
[Debug 19:51:53.996] open uri = file:///home/cecile/Photos/2008/09/05/img_8827.jpg
[Debug 19:51:53.996] open uri = file:///home/cecile/Photos/2008/09/05/img_8827.jpg
[Debug 19:51:54.197] open uri = file:///home/cecile/Photos/2008/09/05/img_8832.jpg
[Debug 19:51:54.197] open uri = file:///home/cecile/Photos/2008/09/05/img_8832.jpg
[Debug 19:51:54.405] open uri = file:///home/cecile/Photos/2008/09/05/img_8833.jpg
[Debug 19:51:54.405] open uri = file:///home/cecile/Photos/2008/09/05/img_8833.jpg
[Debug 19:51:54.601] open uri = file:///home/cecile/Photos/2008/09/05/img_8836.jpg
[Debug 19:51:54.602] open uri = file:///home/cecile/Photos/2008/09/05/img_8836.jpg
[Debug 19:51:54.818] open uri = file:///home/cecile/Photos/2008/09/05/img_8830.jpg
[Debug 19:51:54.818] open uri = file:///home/cecile/Photos/2008/09/05/img_8830.jpg
[Debug 19:51:55.053] open uri = file:///home/cecile/Photos/2008/09/05/img_8825.jpg
[Debug 19:51:55.054] open uri = file:///home/cecile/Photos/2008/09/05/img_8825.jpg
[Debug 19:51:55.358] open uri = file:///home/cecile/Photos/2008/09/05/img_8823.jpg
[Debug 19:51:55.358] open uri = file:///home/cecile/Photos/2008/09/05/img_8823.jpg
[Debug 19:51:55.653] open uri = file:///home/cecile/Photos/2008/09/05/img_8818.jpg
[Debug 19:51:55.654] open uri = file:///home/cecile/Photos/2008/09/05/img_8818.jpg
[Debug 19:51:55.907] open uri = file:///home/cecile/Photos/2008/09/05/img_8819.jpg
[Debug 19:51:55.908] open uri = file:///home/cecile/Photos/2008/09/05/img_8819.jpg
[Debug 19:51:56.447] open uri = file:///home/cecile/Photos/2008/09/05/img_8817.jpg
[Debug 19:51:56.447] open uri = file:///home/cecile/Photos/2008/09/05/img_8817.jpg
[Debug 19:51:56.703] open uri = file:///home/cecile/Photos/2008/09/05/img_8814.jpg
[Debug 19:51:56.703] open uri = file:///home/cecile/Photos/2008/09/05/img_8814.jpg
[Debug 19:51:57.106] open uri = file:///home/cecile/Photos/2008/08/28/img_8806.jpg
[Debug 19:51:57.106] open uri = file:///home/cecile/Photos/2008/08/28/img_8806.jpg
[Debug 19:51:57.356] open uri = file:///home/cecile/Photos/2008/08/28/img_8805.jpg
[Debug 19:51:57.356] open uri = file:///home/cecile/Photos/2008/08/28/img_8805.jpg
[Debug 19:51:57.545] open uri = file:///home/cecile/Photos/2008/08/27/img_8790.jpg
[Debug 19:51:57.545] open uri = file:///home/cecile/Photos/2008/08/27/img_8790.jpg
[Debug 19:51:57.778] open uri = file:///home/cecile/Photos/2008/08/28/img_8803.jpg
[Debug 19:51:57.779] open uri = file:///home/cecile/Photos/2008/08/28/img_8803.jpg
[Debug 19:51:58.227] open uri = file:///home/cecile/Photos/2008/08/27/img_8791.jpg
[Debug 19:51:58.228] open uri = file:///home/cecile/Photos/2008/08/27/img_8791.jpg
[Debug 19:51:58.472] open uri = file:///home/cecile/Photos/2008/08/27/img_8785.jpg
[Debug 19:51:58.472] open uri = file:///home/cecile/Photos/2008/08/27/img_8785.jpg
[Debug 19:51:58.657] open uri = file:///home/cecile/Photos/2008/08/27/img_8783.jpg
[Debug 19:51:58.657] open uri = file:///home/cecile/Photos/2008/08/27/img_8783.jpg
[Debug 19:51:58.820] open uri = file:///home/cecile/Photos/2008/08/27/img_8788.jpg
[Debug 19:51:58.820] open uri = file:///home/cecile/Photos/2008/08/27/img_8788.jpg
[Debug 19:51:59.193] open uri = file:///home/cecile/Photos/2008/08/27/img_8787.jpg
[Debug 19:51:59.194] open uri = file:///home/cecile/Photos/2008/08/27/img_8787.jpg
uri = file:///home/cecile/Desktop/cute.jpg
Scanning /home/cecile/Desktop
[Debug 19:52:14.090] Query: SELECT photos.id, photos.time, photos.uri, photos.description, photos.roll_id, photos.default_version_id, photos.rating FROM photos WHERE uri LIKE "file:///home/cecile/Desktop%" AND uri NOT LIKE "file:///home/cecile/Desktop/%/%"
[Debug 19:52:14.094] Query took 0.003838s
[Debug 19:52:14.105] open uri = file:///home/cecile/Desktop/cute.jpg
[Debug 19:52:14.112] open uri = file:///home/cecile/Desktop/cute.jpg
Comment 1 Greg Grossmeier 2008-10-07 04:11:26 UTC
I can confirm this using f-spot 0.4.4-1ubuntu4. I did not experience a true "crash" though. For me, F-Spot immediately started to slow down the whole machine by taking all available RAM (res: 1.5 of 2gig, virt: 3.874gig). This went on for more than 2 minutes until I just killed it.

The pertinent part of the log seems to be:
open uri = file:///home/greg/Photos/2008/10/04/PA040011.JPG
old = "" new = "" heading = "ASCII"
value = 2008:10:04 22:33:50 len = 19
<uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b> <http://ns.adobe.com/xap/1.0/creatortool> "Microsoft Windows Photo Gallery 6.0.6000.16386" .
<uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b> <http://ns.adobe.com/tiff/1.0/software> "Microsoft Windows Photo Gallery 6.0.6000.16386" .
<uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b> <http://ns.adobe.com/tiff/1.0/Orientation> "1" .
value = f-spot version 0.4.4 len = 20
value = 2008:10:06 23:47:41 len = 19
value = f-spot version 0.4.4 len = 20
value = 2008:10:06 23:47:41 len = 19
Comment 2 Greg Grossmeier 2008-10-07 04:14:21 UTC
Sorry for the bug spam: I failed to copy over the complete log from the original reporter.  This should be at the end of what is above:

[Debug 19:52:14.105] open uri = file:///home/cecile/Desktop/cute.jpg
[Debug 19:52:14.112] open uri = file:///home/cecile/Desktop/cute.jpg
[Debug 19:52:14.172] open uri = file:///home/cecile/Photos/2008/10/05/cute.jpg
Stopping
[Debug 19:52:14.375] open uri = file:///home/cecile/Photos/2008/10/05/cute.jpg
[Debug 19:52:14.375] open uri = file:///home/cecile/Photos/2008/10/05/cute.jpg
[Debug 19:52:14.441] Query: SELECT photos.id, photos.time, photos.uri, photos.description, photos.roll_id, photos.default_version_id, photos.rating FROM photos  WHERE  photos.roll_id IN (129)  AND photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY photos.time
[Debug 19:52:14.444] Query took 0.002336s
[Debug 19:52:14.444] GroupAdaptor::Reloading
[Debug 19:52:14.444] Query: SELECT photos.id, photos.time, photos.uri, photos.description, photos.roll_id, photos.default_version_id, photos.rating FROM photos  WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY photos.time
[Debug 19:52:14.465] Query took 0.020782s
[Debug 19:52:14.505] PhotoImageView::item changed
[Debug 19:52:14.507] open uri = file:///home/cecile/Photos/2008/10/05/cute.jpg
[Debug 19:52:14.512] open uri = file:///home/cecile/Photos/2008/10/05/cute.jpg
[Debug 19:52:14.528] Query: SELECT photos.id, photos.time, photos.uri, photos.description, photos.roll_id, photos.default_version_id, photos.rating FROM photos  WHERE  photos.roll_id IN (129)  AND photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY photos.time
[Debug 19:52:14.530] Query took 0.002084s
[Debug 19:52:14.531] GroupAdaptor::Reloading
[Debug 19:52:14.531] Query: SELECT photos.id, photos.time, photos.uri, photos.description, photos.roll_id, photos.default_version_id, photos.rating FROM photos  WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY photos.time
[Debug 19:52:14.553] Query took 0.022531s
Syncing metadata to file...
[Debug 19:52:14.876] open uri = file:///home/cecile/Photos/2008/10/05/cute.jpg
old = "" new = "" heading = "ASCII^@^@^@"
value = 2008:10:05 01:33:50 len = 19
<uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b> <http://ns.adobe.com/xap/1.0/creatortool> "Microsoft Windows Photo Gallery 6.0.6000.16386" .
<uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b> <http://ns.adobe.com/tiff/1.0/software> "Microsoft Windows Photo Gallery 6.0.6000.16386" .
<uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b> <http://ns.adobe.com/tiff/1.0/Orientation> "1" .
value = f-spot version 0.4.4 len = 20
value = 2008:10:06 19:52:14 len = 19
value = f-spot version 0.4.4 len = 20
value = 2008:10:06 19:52:14 len = 19
Comment 3 Greg Grossmeier 2008-10-07 04:43:00 UTC
Additional --debug log from a self-built deb for 0.5.0.2 using the debdiff from this PPA: https://edge.launchpad.net/~chrisccoulson/+archive

Pertinent information starts around [Debug 00:37:13.351].

greg@alexandria:~$f-spot --debug
** Running f-spot in Debug Mode **
** Running Mono with --debug   **
[Info  00:36:51.474] Initializing DBus
[Debug 00:36:51.659] DBusInitialization took 0.16642s
[Info  00:36:51.659] Initializing Mono.Addins
WARNING: The add-in 'FSpot.SyncMetaData,0.4.4.0' is trying to extend '/FSpot/Menus/Tools', but there isn't any compatible add-in defining this extension point
WARNING: The add-in 'FSpot.SyncMetaData,0.4.4.0' is trying to extend '/FSpot/Menus/Tools/SyncMetaData', but there isn't any compatible add-in defining this extension point
[Info  00:36:52.709] Unregistering http://addins.f-spot.org/0.4.4/main.mrep
[Debug 00:36:52.807] Mono.Addins Initialization took 1.147687s
[Info  00:36:52.831] Starting new FSpot server
Updating F-Spot Database
Updated database from version 14 to 15
photos_temp - photo_versions_temp
Updated database from version 15 to 16
Updated database from version 16 to 16.1
Updated database from version 16.1 to 16.2
Updated database from version 16.2 to 16.3
Database updates completed successfully.
[Debug 00:36:53.255] Db Initialization took 0.260832s
[Debug 00:36:53.692] QueryToTemp took 0.03798s : SELECT photos.id, photos.time, photos.uri, photos.description, photos.roll_id, photos.default_version_id, photos.rating FROM photos  WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC
[Debug 00:36:53.869] Query took 0.010925s : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[Debug 00:36:53.979] PhotosPerMonth took 0.041976s
[Debug 00:36:53.981] TimeAdaptor REAL Reload took 0.258736s
[Info  00:36:54.025] Starting BeagleService
[Debug 00:36:54.027] BeagleService startup took 4E-05s
[Info  00:36:54.027] Hack for gnome-settings-daemon engaged
[Debug 00:36:54.167] IndexOf took 0.004109s : SELECT ROWID FROM photoquery_temp_0 WHERE "photos.time" <= 1225515599 ORDER BY "photos.time" DESC LIMIT 1
[Debug 00:36:54.169] IndexOf took 0.001208s : SELECT ROWID FROM photoquery_temp_0 WHERE "photos.id" = 2879

(f-spot:16444): 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.
[Debug 00:36:56.909] open uri = file:///home/greg/Photos/2008/10/04/PA040011.JPG
[Debug 00:36:56.921]   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.JpegFile.get_Header () [0x00000] 
  at FSpot.JpegFile.Select (StatementSink sink) [0x00000] 
  at FSpot.Widgets.InfoBox+ImageInfo..ctor (FSpot.ImageFile img) [0x00000] 
  at FSpot.Widgets.InfoBox.UpdateSingle () [0x00000] 
[Debug 00:36:56.944] open uri = file:///home/greg/Photos/2008/10/04/PA040011.JPG
[Debug 00:36:56.945]   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.ImageFile.PixbufStream () [0x00000] 
  at FSpot.ImageFile.Load (Int32 max_width, Int32 max_height) [0x00000] 
  at FSpot.Widgets.InfoBox.DelayedUpdateHistogram () [0x00000] 
[Debug 00:37:12.442] QueryToTemp took 0.07147s : SELECT photos.id, photos.time, photos.uri, photos.description, photos.roll_id, photos.default_version_id, photos.rating FROM photos  WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC
[Debug 00:37:12.458] IndexOf took 0.001209s : SELECT ROWID FROM photoquery_temp_0 WHERE "photos.id" = 2891
[Debug 00:37:12.463] Query took 0.001273s : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[Debug 00:37:12.472] open uri = file:///home/greg/Photos/2008/10/06/IMG_4846.JPG
[Debug 00:37:12.532] open uri = file:///home/greg/Photos/2008/10/06/IMG_4846.JPG
[Debug 00:37:12.579] Reloading the query took 0.209069s
[Debug 00:37:12.579] HandleDeleteCommand took 0.239368s
[Debug 00:37:12.702] PhotosPerMonth took 0.053757s
[Debug 00:37:12.703] TimeAdaptor REAL Reload took 0.257643s
[Debug 00:37:13.351] open uri = file:///home/greg/Photos/2008/10/04/PA040011.JPG
[Debug 00:37:13.352]   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.JpegFile.get_Header () [0x00000] 
  at FSpot.JpegFile.Select (StatementSink sink) [0x00000] 
  at FSpot.Widgets.InfoBox+ImageInfo..ctor (FSpot.ImageFile img) [0x00000] 
  at FSpot.Widgets.InfoBox.UpdateSingle () [0x00000] 
[Debug 00:37:13.369] open uri = file:///home/greg/Photos/2008/10/04/PA040011.JPG
[Debug 00:37:13.371]   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.ImageFile.PixbufStream () [0x00000] 
  at FSpot.ImageFile.Load (Int32 max_width, Int32 max_height) [0x00000] 
  at FSpot.Widgets.InfoBox.DelayedUpdateHistogram () [0x00000] 
[Debug 00:37:16.191] QueryToTemp took 0.088642s : SELECT photos.id, photos.time, photos.uri, photos.description, photos.roll_id, photos.default_version_id, photos.rating FROM photos  WHERE photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC
[Debug 00:37:16.199] IndexOf took 0.000826s : SELECT ROWID FROM photoquery_temp_0 WHERE "photos.id" = 2892
[Debug 00:37:16.204] IndexOf took 0.000883s : SELECT ROWID FROM photoquery_temp_0 WHERE "photos.id" = 2879
[Debug 00:37:16.204] Reloading the query took 0.101868s
[Debug 00:37:16.205] HandleDeleteCommand took 0.108904s
[Debug 00:37:16.209] Query took 0.002552s : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[Debug 00:37:16.436] PhotosPerMonth took 0.044177s
[Debug 00:37:16.441] TimeAdaptor REAL Reload took 0.249324s
item ImportCommand+SourceItem

(f-spot:16444): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
[Debug 00:37:31.840] Scanning /home/greg/Desktop/temp2 for new photos
[Debug 00:37:31.841] Query Uri file:///home/greg/Desktop/temp2
[Debug 00:37:31.849] Query took 0.006942s : SELECT photos.id, photos.time, photos.uri, photos.description, photos.roll_id, photos.default_version_id, photos.rating, photos.md5_sum FROM photos WHERE uri LIKE :uri AND uri NOT LIKE :uri_
[Debug 00:37:31.913] open uri = file:///home/greg/Desktop/temp2/PA040011.JPG
[Debug 00:37:31.994] GetByUri query took 0.003508s
[Debug 00:37:31.996] open uri = file:///home/greg/Photos/2008/10/04/PA040011.JPG
[Debug 00:37:31.998] open uri = file:///home/greg/Photos/2008/10/04/PA040011.JPG
[Debug 00:37:32.132] open uri = file:///home/greg/Desktop/temp2/PA040011.JPG
[Debug 00:37:32.211] open uri = file:///home/greg/Photos/2008/10/04/PA040011.JPG
cleanup context
[Debug 00:37:32.400] IndicesOf took 0.007196s : SELECT ROWID FROM photoquery_temp_0 WHERE "photos.id" IN (2893)
[Debug 00:37:32.401] IndicesOf took 0.009062s
[Debug 00:37:32.420] Commit took 0.034843s
[Debug 00:37:32.421] open uri = file:///home/greg/Photos/2008/10/04/PA040011.JPG
[Debug 00:37:32.437] open uri = file:///home/greg/Photos/2008/10/04/PA040011.JPG
Stopping
Syncing metadata to file...
[Debug 00:37:32.926] open uri = file:///home/greg/Photos/2008/10/04/PA040011.JPG
old = "" new = "" heading = "ASCII"
value = 2008:10:04 22:33:50 len = 19
<uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b> <http://ns.adobe.com/xap/1.0/creatortool> "Microsoft Windows Photo Gallery 6.0.6000.16386" .
<uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b> <http://ns.adobe.com/tiff/1.0/software> "Microsoft Windows Photo Gallery 6.0.6000.16386" .
<uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b> <http://ns.adobe.com/tiff/1.0/Orientation> "1" .
value = f-spot version 0.5.0.2 len = 22
value = 2008:10:07 00:37:32 len = 19
value = f-spot version 0.5.0.2 len = 22
value = 2008:10:07 00:37:32 len = 19
[Debug 00:37:35.434] QueryToTemp took 0.19858s : SELECT photos.id, photos.time, photos.uri, photos.description, photos.roll_id, photos.default_version_id, photos.rating FROM photos  WHERE  photos.roll_id IN (9)  AND photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC
[Debug 00:37:36.023] IndexOf took 0.000262s : SELECT ROWID FROM photoquery_temp_0 WHERE "photos.id" = 2892
[Debug 00:37:36.025] IndexOf took 0.000245s : SELECT ROWID FROM photoquery_temp_0 WHERE "photos.id" = 2879
[Debug 00:37:36.026] Query took 0.000242s : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[Debug 00:37:36.026] open uri = file:///home/greg/Photos/2008/10/04/PA040011.JPG
[Debug 00:37:37.138] open uri = file:///home/greg/Photos/2008/10/04/PA040011.JPG
[Debug 00:37:40.819] PhotosPerMonth took 4.600347s
[Debug 00:37:41.666] TimeAdaptor REAL Reload took 6.002271s
[Debug 00:37:43.908] Reloading the query took 8.672294s
[Debug 00:37:46.467] QueryToTemp took 1.770058s : SELECT photos.id, photos.time, photos.uri, photos.description, photos.roll_id, photos.default_version_id, photos.rating FROM photos  WHERE  photos.roll_id IN (9)  AND photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC
[Debug 00:37:46.724] IndexOf took 0.012996s : SELECT ROWID FROM photoquery_temp_0 WHERE "photos.id" = 2892
[Debug 00:37:48.369] PhotosPerMonth took 1.658355s PhotosPerMonth took 1.658355s

[Debug 00:37:48.369] IndexOf took 0.000187s : SELECT ROWID FROM photoquery_temp_0 WHERE "photos.id" = 2893
[Debug 00:37:48.369] Reloading the query took 3.672216s
[Debug 00:37:48.371] Query took 0.000188s : SELECT * FROM photoquery_temp_0 LIMIT 100 OFFSET 0
[Debug 00:37:48.498] TimeAdaptor REAL Reload took 1.987734s
Killed
Comment 4 Maxxer 2008-10-07 06:06:52 UTC
0.5 crashes when trying to write metadata to file. another libexif problem?

Syncing metadata to file...
[Debug 07:54:28.054] open uri = file:///home/maxxer/work/fspot/bin/Photos-p/2008/10/04/PA040011.JPG
old = "" new = "" heading = "ASCII"
value = 2008:10:04 16:33:50 len = 19
<uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b> <http://ns.adobe.com/xap/1.0/creatortool> "Microsoft Windows Photo Gallery 6.0.6000.16386" .
<uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b> <http://ns.adobe.com/tiff/1.0/software> "Microsoft Windows Photo Gallery 6.0.6000.16386" .
<uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b> <http://ns.adobe.com/tiff/1.0/Orientation> "1" .
value = f-spot version 0.5.0.1 len = 22
value = 2008:10:07 07:54:28 len = 19
value = f-spot version 0.5.0.1 len = 22
value = 2008:10:07 07:54:28 len = 19
Stacktrace:

  at (wrapper managed-to-native) Exif.ExifData.exif_data_save_data (System.Runtime.InteropServices.HandleRef,intptr&,uint&) <0x00004>
  at (wrapper managed-to-native) Exif.ExifData.exif_data_save_data (System.Runtime.InteropServices.HandleRef,intptr&,uint&) <0xffffffff>
  at Exif.ExifData.Save () <0x0006c>
  at JpegHeader.SetExif (Exif.ExifData) <0x00014>
  at FSpot.JpegFile.SaveMetaData (System.IO.Stream,System.IO.Stream) <0x0004e>
  at FSpot.JpegFile.SaveMetaData (string) <0x00095>
  at FSpot.Jobs.SyncMetadataJob.WriteMetadataToImage (FSpot.Photo) <0x001d5>
  at FSpot.Jobs.SyncMetadataJob.Execute () <0x00093>
  at Job.Run () <0x0001a>
  at Banshee.Kernel.Scheduler.ProcessJobThread () <0x0015d>
  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void () <0xffffffff>
  at (wrapper runtime-invoke) System.Collections.Generic.GenericEqualityComparer`1.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	f-spot [0x816b1fa]
	f-spot [0x807de81]
	[0xb7f18440]
	/usr/local/lib/libexif.so.12(exif_set_short+0x2c) [0xb366660c]
	/usr/local/lib/libexif.so.12 [0xb365dc6c]
	/usr/local/lib/libexif.so.12 [0xb365de1e]
	/usr/local/lib/libexif.so.12(exif_data_save_data+0x108) [0xb365e568]
	[0xb1f99062]
	[0xb1f98fc5]
	[0xb1f98efd]
	[0xb1f98e2f]
	[0xb1f9858e]
	[0xb1f95316]
	[0xb1f9258c]
	[0xb1f924cb]
	[0xb1f920fe]
	[0xb59a4602]
	[0xb5bd90e1]
	f-spot(mono_runtime_delegate_invoke+0x34) [0x8095ea4]
	f-spot [0x80cef6e]
	f-spot [0x811a7c2]
	f-spot [0x81317a5]
	/lib/tls/i686/cmov/libpthread.so.0 [0xb7e264fb]
	/lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7d83e5e]



retrieving infos with exiftool displays some warnings:
Warning                         : [minor] Possibly incorrect maker notes offsets (fix by 22?)
Camera Type                     : ������
Camera ID                       : ������������������������������
Comment 5 Ruben Vermeersch 2010-07-13 16:49:04 UTC
Fixed this and added the file to our regression suite. Thanks for reporting this. Should work in the upcoming 0.7.1.