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

Bug #823956 reported by Chow Loong Jin
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mono-addins (Ubuntu)
Confirmed
Undecided
Unassigned

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@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

Tags: patch
Revision history for this message
Chow Loong Jin (hyperair) wrote : Fwd: Re: [Bug 823723] [NEW] banshee interface becomes unresponsive while playing radio stream
summary: - Fwd: Re: [Bug 823723] [NEW] banshee interface becomes unresponsive while
- playing radio stream
+ banshee --debug crashes with "Could not read add-in description"
Revision history for this message
Chow Loong Jin (hyperair) wrote :

Just to confirm, Martin, does "banshee --debug" cause this crash all the time without the patch?

Revision history for this message
Chow Loong Jin (hyperair) wrote :

11:24:25 <poolie> no, i' hadn't applied that, so apparently the crash is intermittent or environment dependent

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mono-addins (Ubuntu):
status: New → Confirmed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "mono-addins-debug-crash.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Andres G. Aragoneses (knocte) wrote :

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

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.