[ubuntu-mono] [Bug 498611] Re: f-spot crash when click import

ErikMaes erik.maes at xs4all.nl
Fri Jul 30 04:16:15 BST 2010


Same here. 
After inserting a cd-rom with images, selecting f-spot makes f-spot appear for a moment after which it dies. 
I tried to import manually, but selecting "import" from the file-menu kills f-spot.

I ran f-spot like this:
f-spot --debug
** Running f-spot in Debug Mode **
** Running Mono with --debug   **
[Info  04:29:39.384] Initializing DBus
[Debug 04:29:39.986] DBusInitialization took 0.55901s
[Info  04:29:39.987] Initializing Mono.Addins
[Debug 04:29:40.795] Mono.Addins Initialization took 0.808157s
[Info  04:29:40.820] Starting new FSpot server (f-spot 0.6.1.5)
[Debug 04:29:41.458] Db Initialization took 0.446167s
[Debug 04:29:42.432] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:29:42.436] QueryToTemp took 0.003634s : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:29:42.436] Reloading the query took 0.013616s
[Debug 04:29:42.755] PhotosPerMonth took 0.005972s
[Debug 04:29:42.761] TimeAdaptor REAL Reload took 0.228334s
[Debug 04:29:43.883] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:29:43.887] QueryToTemp took 0.004391s : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:29:44.063] Reloading the query took 0.182077s
[Debug 04:29:44.073] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:29:44.077] QueryToTemp took 0.002324s : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:29:44.090] Reloading the query took 0.017749s
[Debug 04:29:44.111] PhotosPerMonth took 0.003642s
[Debug 04:29:44.112] TimeAdaptor REAL Reload took 0.033955s
[Info  04:29:44.115] Starting BeagleService
[Debug 04:29:44.118] BeagleService startup took 4.6E-05s
[Info  04:29:44.193] Hack for gnome-settings-daemon engaged

(f-spot:31541): 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 04:29:44.290] PhotosPerMonth took 0.005553s
[Debug 04:29:44.291] TimeAdaptor REAL Reload took 0.212627s
[Debug 04:29:57.674] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:29:57.676] QueryToTemp took 0.001917s : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:29:57.676] Reloading the query took 0.002166s
[Debug 04:29:57.682] Query Started : SELECT * FROM photos  WHERE (id IN (SELECT photo_id FROM photo_tags WHERE tag_id IN (3))) AND  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:29:57.684] QueryToTemp took 0.002072s : SELECT * FROM photos  WHERE (id IN (SELECT photo_id FROM photo_tags WHERE tag_id IN (3))) AND  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:29:57.684] Reloading the query took 0.006161s
[Debug 04:29:59.369] Query took 0.001812s : SELECT id, time, base_uri, filename, description, roll_id, default_version_id, rating, md5_sum FROM photos  WHERE (id IN (SELECT photo_id FROM photo_tags WHERE tag_id IN (3))) ORDER BY time
[Debug 04:29:59.378] IndicesOf took 0.001372s
[Debug 04:29:59.380] IndicesOf took 1.4E-05s
[Debug 04:29:59.380] Commit took 0.009019s
[Debug 04:30:03.209] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:30:03.215] QueryToTemp took 0.006758s : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:30:03.215] Reloading the query took 0.007015s
[Debug 04:30:03.216] Query Started : SELECT * FROM photos  WHERE (id IN (SELECT photo_id FROM photo_tags WHERE tag_id IN (4))) AND  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:30:03.222] QueryToTemp took 0.006218s : SELECT * FROM photos  WHERE (id IN (SELECT photo_id FROM photo_tags WHERE tag_id IN (4))) AND  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:30:03.222] Reloading the query took 0.006483s
[Debug 04:30:04.756] Query took 0.00093s : SELECT id, time, base_uri, filename, description, roll_id, default_version_id, rating, md5_sum FROM photos  WHERE (id IN (SELECT photo_id FROM photo_tags WHERE tag_id IN (4))) ORDER BY time
[Debug 04:30:04.756] IndicesOf took 4E-06s
[Debug 04:30:04.757] IndicesOf took 1.1E-05s
[Debug 04:30:04.757] IndicesOf took 4E-06s
[Debug 04:30:04.757] Commit took 0.001299s
[Debug 04:30:07.631] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:30:07.636] QueryToTemp took 0.004421s : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:30:07.636] Reloading the query took 0.004855s
[Debug 04:30:07.636] Query Started : SELECT * FROM photos  WHERE (id IN (SELECT photo_id FROM photo_tags WHERE tag_id IN (5))) AND  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:30:07.638] QueryToTemp took 0.002015s : SELECT * FROM photos  WHERE (id IN (SELECT photo_id FROM photo_tags WHERE tag_id IN (5))) AND  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 04:30:07.638] Reloading the query took 0.002277s
[Debug 04:30:08.724] Query took 0.000909s : SELECT id, time, base_uri, filename, description, roll_id, default_version_id, rating, md5_sum FROM photos  WHERE (id IN (SELECT photo_id FROM photo_tags WHERE tag_id IN (5))) ORDER BY time
[Debug 04:30:08.724] IndicesOf took 4E-06s
[Debug 04:30:08.725] IndicesOf took 1.7E-05s
[Debug 04:30:08.725] IndicesOf took 4E-06s
[Debug 04:30:08.725] IndicesOf took 3E-06s
[Debug 04:30:08.725] Commit took 0.001047s
elements - gnome-dev-harddisk-usb - Mountpoint file:///media/elements True True Harddrive
Harddrive
The program 'f-spot' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.
  (Details: serial 7286 error_code 16 request_code 136 minor_code 7)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

I tried adding the --sync flag but the result was the same.

Next, I tried
mdb /usr/bin/f-spot
Mono Debugger
(mdb) run
Starting program: /usr/bin/f-spot 
Can't read symbol file /usr/bin/f-spot: Mono.Debugger.SymbolTableException: Not an object file: /usr/bin/f-spot
  at Mono.Debugger.Backend.Bfd..ctor (Mono.Debugger.Backend.BfdContainer container, Mono.Debugger.TargetMemoryInfo info, System.String filename, Mono.Debugger.Backend.Bfd main_bfd, TargetAddress base_address, Boolean is_loaded) [0x000ce] in /build/buildd/mono-debugger-2.4.3/backend/arch/Bfd.cs:192 
  at (wrapper remoting-invoke-with-check) Mono.Debugger.Backend.Bfd:.ctor (Mono.Debugger.Backend.BfdContainer,Mono.Debugger.TargetMemoryInfo,string,Mono.Debugger.Backend.Bfd,Mono.Debugger.TargetAddress,bool)
  at Mono.Debugger.Backend.BfdContainer.AddFile (Mono.Debugger.TargetMemoryInfo memory, System.String filename, TargetAddress base_address, Boolean step_info, Boolean is_loaded) [0x00020] in /build/buildd/mono-debugger-2.4.3/backend/arch/BfdContainer.cs:73 
  at (wrapper remoting-invoke-with-check) Mono.Debugger.Backend.BfdContainer:AddFile (Mono.Debugger.TargetMemoryInfo,string,Mono.Debugger.TargetAddress,bool,bool)
  at Mono.Debugger.Backend.Inferior.SetupInferior () [0x0005c] in /build/buildd/mono-debugger-2.4.3/backend/Inferior.cs:788 
EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at Mono.Debugger.Backend.Inferior.GetSectionAddress (System.String name) [0x00000] in /build/buildd/mono-debugger-2.4.3/backend/Inferior.cs:826 
  at (wrapper remoting-invoke-with-check) Mono.Debugger.Backend.Inferior:GetSectionAddress (string)
  at Mono.Debugger.Backend.MonoThreadManager.Initialize (Mono.Debugger.Backend.ThreadManager thread_manager, Mono.Debugger.Backend.Inferior inferior, Boolean attach) [0x00000] in /build/buildd/mono-debugger-2.4.3/backend/MonoThreadManager.cs:67 
  at Mono.Debugger.Backend.ProcessServant.Initialize (Mono.Debugger.Backend.SingleSteppingEngine engine, Mono.Debugger.Backend.Inferior inferior, Boolean is_exec) [0x00030] in /build/buildd/mono-debugger-2.4.3/backend/ProcessServant.cs:350 
  at (wrapper remoting-invoke-with-check) Mono.Debugger.Backend.ProcessServant:Initialize (Mono.Debugger.Backend.SingleSteppingEngine,Mono.Debugger.Backend.Inferior,bool)
  at Mono.Debugger.Backend.ThreadManager.HandleChildEvent (Mono.Debugger.Backend.SingleSteppingEngine engine, Mono.Debugger.Backend.Inferior inferior, Mono.Debugger.Backend.ChildEvent& cevent, System.Boolean& resume_target) [0x00012] in /build/buildd/mono-debugger-2.4.3/backend/ThreadManager.cs:171 
  at (wrapper remoting-invoke-with-check) Mono.Debugger.Backend.ThreadManager:HandleChildEvent (Mono.Debugger.Backend.SingleSteppingEngine,Mono.Debugger.Backend.Inferior,Mono.Debugger.Backend.Inferior/ChildEvent&,bool&)
  at Mono.Debugger.Backend.SingleSteppingEngine.ProcessEvent (Mono.Debugger.Backend.ChildEvent cevent) [0x00237] in /build/buildd/mono-debugger-2.4.3/backend/SingleSteppingEngine.cs:221 
  at Mono.Debugger.Backend.SingleSteppingEngine.ProcessEvent (Int32 status) [0x0000c] in /build/buildd/mono-debugger-2.4.3/backend/SingleSteppingEngine.cs:155 
  at (wrapper remoting-invoke-with-check) Mono.Debugger.Backend.SingleSteppingEngine:ProcessEvent (int)
  at Mono.Debugger.Backend.ThreadManager.engine_thread_main () [0x000cd] in /build/buildd/mono-debugger-2.4.3/backend/ThreadManager.cs:333 

after this line, nothing. Mdb just sits there.

-- 
f-spot crash when click import
https://bugs.launchpad.net/bugs/498611
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 “f-spot” package in Ubuntu: Incomplete

Bug description:
Binary package hint: f-spot

Release: Ubuntu 9.10 64 bit
Version of Package: 0.6.1.5-0ubuntu1

f-spot crashes when I do the following:

1. After inserting a sd card chose f-spot to open but f-spot crashes right away
2. After starting f-spot and clicking import, f-spot crashes right away

This is the first time I use f-spot so I have not created any database yet.

Output from 'f-spot --debug' on terminal:

johan at skallben:~$ f-spot --debug
** Running f-spot in Debug Mode **
** Running Mono with --debug   **
[Info  21:49:07.223] Initializing DBus
[Debug 21:49:07.389] DBusInitialization took 0.152417s
[Info  21:49:07.390] Initializing Mono.Addins
[Debug 21:49:07.630] Mono.Addins Initialization took 0.239953s
[Info  21:49:07.647] Starting new FSpot server (f-spot 0.6.1.5)
[Debug 21:49:07.975] Db Initialization took 0.098047s

** (f-spot:5080): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (f-spot:5080): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (f-spot:5080): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (f-spot:5080): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

** (f-spot:5080): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
[Debug 21:49:08.423] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 21:49:08.432] QueryToTemp took 0.009365s : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 21:49:08.432] Reloading the query took 0.013067s
[Debug 21:49:08.704] PhotosPerMonth took 0.000714s
[Debug 21:49:08.707] TimeAdaptor REAL Reload took 0.213114s
[Debug 21:49:08.791] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 21:49:08.793] QueryToTemp took 0.002376s : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 21:49:08.857] Reloading the query took 0.066458s
[Debug 21:49:08.862] Query Started : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 21:49:08.862] QueryToTemp took 0.000854s : SELECT * FROM photos  WHERE  photos.id NOT IN (SELECT photo_id FROM photo_tags WHERE tag_id = 2) ORDER BY  time DESC, filename DESC 
[Debug 21:49:08.872] Reloading the query took 0.010618s
[Info  21:49:08.883] Starting BeagleService
[Debug 21:49:08.884] BeagleService startup took 2.1E-05s
[Info  21:49:08.914] Hack for gnome-settings-daemon engaged

(f-spot:5080): 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 21:49:09.023] PhotosPerMonth took 0.011896s
[Debug 21:49:09.024] TimeAdaptor REAL Reload took 0.160873s
[Debug 21:49:09.094] PhotosPerMonth took 0.020511s
[Debug 21:49:09.095] TimeAdaptor REAL Reload took 0.232015s
The program 'f-spot' received an X Window System error.                                  <- THIS IS WHERE I CLICKED IMPORT 
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 4045 error_code 1 request_code 135 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
johan at skallben:~$

Thanks,

/johan





More information about the Ubuntu-mono mailing list