GNOME Bugzilla – Bug 523851
crash/die on removing all photos from db
Last modified: 2008-03-22 16:28:27 UTC
Steps to reproduce: 1. open f-spot 2. select all pictures 3. choose "modify-remove from catalog" -- program crashes/dies Stack trace: dan@beowulf:~$ f-spot Starting new FSpot server (f-spot:15674): libglade-WARNING **: unknown attribute `comment' for <property>. Reloading item changed open uri = file:///home/dan/Foto/2008/02/21/xl801342.jpg error checking orientation open uri = file:///home/dan/Foto/2008/02/21/xl801342.jpg System.IO.FileNotFoundException: Could not find uri "file:///home/dan/Foto/2008/02/21/xl801342.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.ImageFile.PixbufStream () [0x00000] at FSpot.AsyncPixbufLoader.Load (System.Uri uri) [0x00000] at FSpot.PhotoImageView.PhotoItemChanged (FSpot.BrowsablePointer item, FSpot.BrowsablePointerChangedArgs args) [0x00000] open uri = file:///home/dan/Foto/2006/02/27/042.jpg Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. Mono.Data.SqliteClient.SqliteSyntaxException: Expression tree is too large (maximum depth 1000) at Mono.Data.SqliteClient.SqliteCommand.GetNextStatement (IntPtr pzStart, System.IntPtr& pzTail, System.IntPtr& pStmt) [0x00000] at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior behavior, Boolean want_results, System.Int32& rows_affected) [0x00000] at Mono.Data.SqliteClient.SqliteCommand.ExecuteNonQuery () [0x00000] at DbStore.TrySqliteCommand (System.String command_text, System.Int32& retries) [0x00000] at DbStore.ExecuteSqlCommand (System.String command_text) [0x00000] at PhotoStore.Remove (.Photo[] items) [0x00000] at MainWindow.HandleRemoveCommand (System.Object sender, System.EventArgs args) [0x00000] at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr data) [0x00000] at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr data) at GLib.Signal.voidObjectCallback(IntPtr , IntPtr ) at Gtk.Application.gtk_main() at Gtk.Application.gtk_main() at Gtk.Application.Run() at Gnome.Program.Run() at FSpot.Driver.Main(System.String[] args) Segmentation fault dan@beowulf:~$ Other information: I added the bug into the section "import" instead of "general" or "browser" because I believe it has to do with the db (that is, "removing from db" should be a close relative to "adding to db"). I also get a lot of "database locked" messages: do I have too many photos? Has it with Beagle to do? Thanks, dan
*** This bug has been marked as a duplicate of 494351 ***