[ubuntu-mono] [Bug 823956] Re: banshee --debug crashes with "Could not read add-in description"

knocte knocte at gmail.com
Thu Nov 1 23:59:36 UTC 2012


FYI: same crash reported upstream, and with line numbers in the
stacktrace:

http://monoaddins.codeplex.com/workitem/8364

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

Title:
  banshee --debug crashes with "Could not read add-in description"

Status in “mono-addins” package in Ubuntu:
  Confirmed

Bug description:
    affects ubuntu/mono-addins
    subscribe mbp
    subscribe hyperair

  Originally from
  https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/823723/comments/3:

  banshee --debug crashes as follows, without hanging:

  Exception has been thrown by the target of an invocation.

  An unhandled exception was thrown: Could not read add-in description

    at Mono.Addins.Addin.get_Description () [0x00000] in <filename unknown>:0
    at Mono.Addins.TreeNode.ResetCachedData () [0x00000] in <filename unknown>:0
    at Mono.Addins.TreeNode.ResetCachedData () [0x00000] in <filename unknown>:0
    at Mono.Addins.TreeNode.ResetCachedData () [0x00000] in <filename unknown>:0
    at Mono.Addins.TreeNode.ResetCachedData () [0x00000] in <filename unknown>:0
    at Mono.Addins.ExtensionContext.ResetCachedData () [0x00000] in
  <filename unknown>:0
    at Mono.Addins.AddinEngine.ResetCachedData () [0x00000] in <filename
  unknown>:0
    at Mono.Addins.Database.AddinDatabase.ResetCachedData () [0x00000]
  in <filename unknown>:0
    at Mono.Addins.Database.AddinDatabase.Update (IProgressStatus
  monitor, System.String domain) [0x00000] in <filename unknown>:0
    at Mono.Addins.Database.AddinDatabase.Repair (IProgressStatus
  monitor, System.String domain) [0x00000] in <filename unknown>:0
    at Mono.Addins.AddinRegistry.Rebuild (IProgressStatus monitor)
  [0x00000] in <filename unknown>:0
    at Banshee.ServiceStack.ServiceManager.InitializeAddins () [0x00075]
  in
  /build/buildd/banshee-2.1.0/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:86
    at Banshee.ServiceStack.ServiceManager.DefaultInitialize ()
  [0x00005] in
  /build/buildd/banshee-2.1.0/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:119
    at Banshee.ServiceStack.Application.Initialize () [0x00000] in
  /build/buildd/banshee-2.1.0/src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs:80
    at Banshee.Gui.GtkBaseClient.Initialize (Boolean
  registerCommonServices) [0x00010] in
  /build/buildd/banshee-2.1.0/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:143
    at Banshee.Gui.GtkBaseClient..ctor (Boolean initializeDefault,
  System.String defaultIconName) [0x00013] in
  /build/buildd/banshee-2.1.0/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:95
    at Banshee.Gui.GtkBaseClient..ctor () [0x00000] in <filename unknown>:0
    at Nereid.Client..ctor () [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native)
  System.Reflection.MonoCMethod:InternalInvoke
  (System.Reflection.MonoCMethod,object,object[],System.Exception&)
    at System.Reflection.MonoCMethod.Invoke (System.Object obj,
  BindingFlags invokeAttr, System.Reflection.Binder binder,
  System.Object[] parameters, System.Globalization.CultureInfo culture)
  [0x00000] in <filename unknown>:0
  Exception has been thrown by the target of an invocation.

    at System.Reflection.MonoCMethod.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.MonoCMethod.Invoke (BindingFlags invokeAttr,
  System.Reflection.Binder binder, System.Object[] parameters,
  System.Globalization.CultureInfo culture) [0x00000] in <filename
  unknown>:0
    at System.Reflection.ConstructorInfo.Invoke (System.Object[]
  parameters) [0x00000] in <filename unknown>:0
    at System.Activator.CreateInstance (System.Type type, Boolean
  nonPublic) [0x00000] in <filename unknown>:0
    at System.Activator.CreateInstance (System.Type type) [0x00000] in
  <filename unknown>:0
    at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in
  /build/buildd/banshee-2.1.0/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:82
    at Hyena.Gui.CleanRoomStartup.Startup
  (Hyena.Gui.StartupInvocationHandler startup) [0x00044] in
  /build/buildd/banshee-2.1.0/src/Hyena/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:54

  .NET Version: 4.0.30319.1
  OS Version: Unix 3.0.0.8

  Assembly Version Information:

  System.Xml (4.0.0.0)
  Banshee.Core (2.1.0.0)
  Hyena.Data.Sqlite (2.1.0.0)
  gdk-sharp (2.12.0.0)
  Mono.Addins (0.6.0.0)
  atk-sharp (2.12.0.0)
  Hyena.Gui (2.1.0.0)
  Mono.Posix (4.0.0.0)
  gtk-sharp (2.12.0.0)
  Banshee.ThickClient (2.1.0.0)
  Nereid (2.1.0.0)
  DBus.Proxies (0.0.0.0)
  System.Core (4.0.0.0)
  Hyena (2.1.0.0)
  dbus-sharp (1.0.0.0)
  glib-sharp (2.12.0.0)
  System (4.0.0.0)
  Banshee.Services (2.1.0.0)
  Banshee (2.1.0.0)
  mscorlib (4.0.0.0)

  Platform Information: Linux 3.0.0-8-generic x86_64 x86_64 GNU/Linux

  Disribution Information:

  [/etc/lsb-release]
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=11.10
  DISTRIB_CODENAME=oneiric
  DISTRIB_DESCRIPTION="Ubuntu oneiric (development branch)"

  [/etc/debian_version]
  wheezy/sid

  
  mbp at grace% banshee --debug
  ** Running Mono with --debug   **
  [1 Info  16:23:32.182] Running Banshee 2.1.0: [Ubuntu oneiric
  (development branch) (linux-gnu, x86_64) @ 2011-07-13 10:41:18 UTC]
  [1 Debug 16:23:32.230] Initializing GTK
  Exception has been thrown by the target of an invocation.
  System.Reflection.TargetInvocationException: Exception has been thrown
  by the target of an invocation. ---> System.InvalidOperationException:
  Could not read add-in description
    at Mono.Addins.Addin.get_Description () [0x00000] in <filename unknown>:0
    at Mono.Addins.TreeNode.ResetCachedData () [0x00000] in <filename unknown>:0
    at Mono.Addins.TreeNode.ResetCachedData () [0x00000] in <filename unknown>:0
    at Mono.Addins.TreeNode.ResetCachedData () [0x00000] in <filename unknown>:0
    at Mono.Addins.TreeNode.ResetCachedData () [0x00000] in <filename unknown>:0
    at Mono.Addins.ExtensionContext.ResetCachedData () [0x00000] in
  <filename unknown>:0
    at Mono.Addins.AddinEngine.ResetCachedData () [0x00000] in <filename
  unknown>:0
    at Mono.Addins.Database.AddinDatabase.ResetCachedData () [0x00000]
  in <filename unknown>:0
    at Mono.Addins.Database.AddinDatabase.Update (IProgressStatus
  monitor, System.String domain) [0x00000] in <filename unknown>:0
    at Mono.Addins.Database.AddinDatabase.Repair (IProgressStatus
  monitor, System.String domain) [0x00000] in <filename unknown>:0
    at Mono.Addins.AddinRegistry.Rebuild (IProgressStatus monitor)
  [0x00000] in <filename unknown>:0
    at Banshee.ServiceStack.ServiceManager.InitializeAddins () [0x00075]
  in
  /build/buildd/banshee-2.1.0/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:86
    at Banshee.ServiceStack.ServiceManager.DefaultInitialize ()
  [0x00005] in
  /build/buildd/banshee-2.1.0/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:119
    at Banshee.ServiceStack.Application.Initialize () [0x00000] in
  /build/buildd/banshee-2.1.0/src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs:80
    at Banshee.Gui.GtkBaseClient.Initialize (Boolean
  registerCommonServices) [0x00010] in
  /build/buildd/banshee-2.1.0/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:143
    at Banshee.Gui.GtkBaseClient..ctor (Boolean initializeDefault,
  System.String defaultIconName) [0x00013] in
  /build/buildd/banshee-2.1.0/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:95
    at Banshee.Gui.GtkBaseClient..ctor () [0x00000] in <filename unknown>:0
    at Nereid.Client..ctor () [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native)
  System.Reflection.MonoCMethod:InternalInvoke
  (System.Reflection.MonoCMethod,object,object[],System.Exception&)
    at System.Reflection.MonoCMethod.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.MonoCMethod.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.MonoCMethod.Invoke (BindingFlags invokeAttr,
  System.Reflection.Binder binder, System.Object[] parameters,
  System.Globalization.CultureInfo culture) [0x00000] in <filename
  unknown>:0
    at System.Reflection.ConstructorInfo.Invoke (System.Object[]
  parameters) [0x00000] in <filename unknown>:0
    at System.Activator.CreateInstance (System.Type type, Boolean
  nonPublic) [0x00000] in <filename unknown>:0
    at System.Activator.CreateInstance (System.Type type) [0x00000] in
  <filename unknown>:0
    at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in
  /build/buildd/banshee-2.1.0/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:82
    at Hyena.Gui.CleanRoomStartup.Startup
  (Hyena.Gui.StartupInvocationHandler startup) [0x00044] in
  /build/buildd/banshee-2.1.0/src/Hyena/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:54
  banshee --debug  2.84s user 0.18s system 5% cpu 58.262 total

  
  Attached is a patch that may fix this issue. Martin, could you test patching
  mono-addins with this patch please?

  --
  Kind regards,
  Loong Jin

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mono-addins/+bug/823956/+subscriptions




More information about the Ubuntu-mono mailing list