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 583107 - [crash] An unhandled exception was thrown: Could not read add-in description at Mono.Addins.Addin.get_Description ()
[crash] An unhandled exception was thrown: Could not read add-in description ...
Status: RESOLVED NOTGNOME
Product: banshee
Classification: Other
Component: general
git master
Other All
: Normal critical
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
: 630064 647412 652387 660339 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-05-18 17:17 UTC by David Nielsen
Modified: 2012-04-28 17:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Addin-db-001 (12.04 KB, application/x-compressed-tar)
2010-09-21 20:59 UTC, joenewbob
Details

Description David Nielsen 2009-05-18 17:17:44 UTC
Steps to reproduce:
Launch banshee

Stack trace:
This is pushed from Fedora downstream (https://bugzilla.redhat.com/show_bug.cgi?id=501322)

The user is experiencing an occasional failure to launch with the following error:

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

  at Mono.Addins.Addin.get_Description () [0x00000] 
  at Mono.Addins.AddinSessionService.CheckHostAssembly (System.Reflection.Assembly asm) [0x00000] 
  at Mono.Addins.AddinSessionService.ActivateRoots () [0x00000] 
  at Mono.Addins.AddinSessionService.Initialize () [0x00000] 
  at Mono.Addins.AddinManager.Initialize (System.String configDir) [0x00000] 
  at Banshee.ServiceStack.ServiceManager.InitializeAddins () [0x00000] 
  at Banshee.ServiceStack.ServiceManager.DefaultInitialize () [0x00000] 
  at Banshee.ServiceStack.Application.Initialize () [0x00000] 
  at Banshee.Gui.GtkBaseClient.Initialize (Boolean registerCommonServices) [0x00000] 
  at Banshee.Gui.GtkBaseClient..ctor (Boolean initializeDefault, System.String defaultIconName) [0x00000] 
  at Banshee.Gui.GtkBaseClient..ctor () [0x00000] 
  at Nereid.Client..ctor () [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (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] 
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] 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] 
  at System.Activator.CreateInstance (System.Type type) [0x00000] 
  at Banshee.Gui.GtkBaseClient.Startup () [0x00000] 
  at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] 

.NET Version: 2.0.50727.1433
OS Version: Unix 2.6.29.3

Assembly Version Information:

System.Xml (2.0.0.0)
gdk-sharp (2.12.0.0)
Mono.Addins (0.4.0.0)
atk-sharp (2.12.0.0)
Hyena.Gui (1.4.0.0)
Mono.Posix (2.0.0.0)
gtk-sharp (2.12.0.0)
Banshee.ThickClient (1.4.0.0)
Nereid (1.4.0.0)
NDesk.DBus.Proxies (0.0.0.0)
Banshee.Core (1.4.0.0)
System (2.0.0.0)
Hyena (1.4.0.0)
NDesk.DBus (1.0.0.0)
glib-sharp (2.12.0.0)
Banshee.Services (1.4.0.0)
Banshee (1.4.0.0)
mscorlib (2.0.0.0)

Platform Information: Linux 2.6.29.3-140.fc11.x86_64 x86_64 x86_64 GNU/Linux

Disribution Information:

[/etc/fedora-release]
Fedora release 11 (Leonidas)

[/etc/redhat-release]
Fedora release 11 (Leonidas)

[/etc/system-release]
Fedora release 11 (Leonidas)


Other information:
Comment 1 Kvikende 2009-05-27 13:25:50 UTC
I managed to fix the problem by deleting the ~/.config/banshee-1/addin-db-001 folder and all it contained. I believe some files have been corrupted somehow. I wish that Banshee could see that problem and fix it itself.
Comment 2 Thomas Pifer 2009-06-06 18:18:44 UTC
I have experienced this problem many times myself.  For me, the problem stems mostly from switching between built packages (deb, rpm, etc.) to compiling and installing the official tarballs and vice verse.
Comment 3 Andrés G. Aragoneses (IRC: knocte) 2010-09-19 13:53:45 UTC
*** Bug 630064 has been marked as a duplicate of this bug. ***
Comment 4 Andrés G. Aragoneses (IRC: knocte) 2010-09-19 14:03:31 UTC
Confirming by the finding of dupes.
Comment 5 Andrés G. Aragoneses (IRC: knocte) 2010-09-21 19:08:14 UTC
Bug 630064 includes the offending folder provided by the reporter.
Comment 6 joenewbob 2010-09-21 20:59:21 UTC
Created attachment 170790 [details]
Addin-db-001

 Folder addin-db-001
Comment 7 Andrés G. Aragoneses (IRC: knocte) 2011-06-15 11:33:54 UTC
*** Bug 647412 has been marked as a duplicate of this bug. ***
Comment 8 Andrés G. Aragoneses (IRC: knocte) 2011-06-15 11:37:30 UTC
Bringing more people to the CC list from bug 647412.
Comment 9 Andrés G. Aragoneses (IRC: knocte) 2011-06-15 11:39:25 UTC
Just wanted to copy&paste this comment from gabaug from bug 647412:

> I'm hopeful that moving to Mono.Addins 0.6 will fix this issue in future
> releases.
Comment 10 olivier dufour 2011-08-21 16:54:56 UTC
I think it is fixed by this commit :
https://github.com/mono/mono-addins/commit/2bf0f4b5c56c56473e0a055f0f987309f3dd366a
Comment 11 Bertrand Lorentz 2011-08-30 18:56:18 UTC
This is indeed fixed in mono-addins by the commit linked above, which should be included in their 0.6.2 release.

So I'm closing this as NOTGNOME, as it not an issue with Banshee.
Comment 12 Bertrand Lorentz 2011-09-11 13:32:16 UTC
*** Bug 652387 has been marked as a duplicate of this bug. ***
Comment 13 Bertrand Lorentz 2011-10-01 08:38:49 UTC
*** Bug 660339 has been marked as a duplicate of this bug. ***
Comment 14 Chow Loong Jin 2012-04-28 17:02:04 UTC
Based on https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/768808/comments/4, this bug is still occurring in Ubuntu 12.04 with Mono.Addins 0.6.2.
Comment 15 Andrés G. Aragoneses (IRC: knocte) 2012-04-28 17:39:11 UTC
Hi Chow. Both exceptions seem to be the same bug because they have the same error message, however, take a look at the stack traces: the one that I fixed in MonoAddins (fix included in 0.6.2) comes from AddinSessionService.CheckHostAssembly, however the stacktrace you just pointed out comes from TreeNode.ResetCachedData, so it is a different bug (which I've reproduced already, but much less often than the first one).

So I guess we need someone to report the bug in MonoAddins tracker.