[ubuntu-mono] [Bug 1351360] Re: f-spot crashes (segfault) when any Export method is chosen

Florian Quèze 1351360 at bugs.launchpad.net
Sat Sep 13 21:52:19 UTC 2014


If I start f-spot from a terminal, at the time of the crash I see this
error message in the terminal:


Marshaling activate signal
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at FSpot.Extensions.ExportMenuItemNode.OnActivated (System.Object o, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at FSpot.Driver.Startup()
   at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup)
   at FSpot.Driver.Main(System.String[] args)

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to f-spot in Ubuntu.
https://bugs.launchpad.net/bugs/1351360

Title:
  f-spot crashes (segfault) when any Export method is chosen

Status in “f-spot” package in Ubuntu:
  Confirmed

Bug description:
  When exporting any photo or group of photos by any enabled method
  f-spot reproducibly suffers a segfault and crashes.

  This appears to be a duplicate of bug #1269760

  Here's some output from strace around the time it happens:

  readlink("/usr", 0x7fffd90cc130, 4096)  = -1 EINVAL (Invalid argument)
  readlink("/usr/lib", 0x7fffd90cc130, 4096) = -1 EINVAL (Invalid argument)
  readlink("/usr/lib/f-spot", 0x7fffd90cc130, 4096) = -1 EINVAL (Invalid argument)
  readlink("/usr/lib/f-spot/Extensions", 0x7fffd90cc130, 4096) = -1 EINVAL (Invalid argument)
  readlink("/usr/lib/f-spot/Extensions/FSpot.Exporters.Zip.dll", 0x7fffd90cc130, 4096) = -1 EINVAL (Invalid argument)
  close(17)                               = 0
  stat("/home/andy/.config/f-spot/addin-db-001", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
  lstat("/home/andy/.config/f-spot/addin-db-001", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
  geteuid()                               = 1000
  stat("/home/andy/.config/f-spot/addin-db-001/fdb-lock", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
  lstat("/home/andy/.config/f-spot/addin-db-001/fdb-lock", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
  geteuid()                               = 1000
  stat("/home/andy/.config/f-spot/addin-db-001", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
  lstat("/home/andy/.config/f-spot/addin-db-001", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
  geteuid()                               = 1000
  stat("/home/andy/.config/f-spot/addin-db-001/fdb-lock", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
  lstat("/home/andy/.config/f-spot/addin-db-001/fdb-lock", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
  geteuid()                               = 1000
  open("/home/andy/.config/f-spot/addin-db-001/fdb-lock", O_RDONLY|O_CREAT, 0666) = 17
  fstat(17, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
  fstat(17, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
  stat("/home/andy/.config/f-spot/addin-db-001/addin-data", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
  lstat("/home/andy/.config/f-spot/addin-db-001/addin-data", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
  geteuid()                               = 1000
  close(17)                               = 0
  open("/usr/lib/f-spot/Extensions/FSpot.Exporters.Zip.dll.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
  open("/usr/lib/f-spot/Extensions/FSpot.Exporters.Zip.dll.so.la", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/usr/lib/f-spot/Extensions/FSpot.Exporters.Zip.dll.config", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/etc/mono/assemblies/FSpot.Exporters.Zip/FSpot.Exporters.Zip.config", O_RDONLY) = -1 ENOENT (No such file or directory)
  --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x18} ---

  This is not specific to the Zip file export; any export option (such
  as "Export to folder") behaves the same way.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: f-spot 0.8.2-5.1ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
  Uname: Linux 3.13.0-32-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Aug  1 16:28:42 2014
  InstallationDate: Installed on 2014-07-19 (13 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  SourcePackage: f-spot
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/f-spot/+bug/1351360/+subscriptions



More information about the Ubuntu-mono mailing list