1

Closed

mono-runtime: Crash when running in --debug mode with mono addins 0.6.1

description

This is a forward of the bugreport found in debian bugreport logs: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630590
Closed Aug 1, 2011 at 8:29 PM by slluis
Fixed.

comments

topfs2 wrote Jul 4, 2011 at 5:29 PM

Here is the first message so you don't have to go to the supplied link:


Package: mono-runtime
Version: 2.6.7-5
Severity: serious
Tags: upstream

Hi there,

As discussed on IRC, there's a crash interaction between mono and
mono-addins 0.6.1. To reproduce:
  • Install mono-runtime 2.6.7 or 2.10.1 (from sid or experimental)
  • Install libmono-addins0.2-cil 0.6.1 (from sid)
  • Install an m-a using app (for example Banshee)
  • $ banshee --debug
  • Crash with [0]
I bisected this down to commit a4f3b3c46e5e798b1378941a2f99bcce1492c903
in mono-addins [1].

Cheers,
Iain

[0]
,----
| 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 () [0x0006a] in /home/laney/temp/mono-addins/Mono.Addins/Mono.Addins/Addin.cs:257
| at Mono.Addins.Database.AddinDatabase.InternalGetInstalledAddins (System.String domain, System.String idFilter, AddinSearchFlagsInternal type) [0x000bb] in /home/laney/temp/mono-addins/Mono.Addins/Mono.Addins.Database/AddinDatabase.cs:255
| at Mono.Addins.Database.AddinDatabase.InternalGetInstalledAddins (System.String domain, AddinSearchFlagsInternal type) [0x00000] in /home/laney/temp/mono-addins/Mono.Addins/Mono.Addins.Database/AddinDatabase.cs:226
| at Mono.Addins.Database.AddinDatabase.Update (IProgressStatus monitor, System.String domain) [0x0009b] in /home/laney/temp/mono-addins/Mono.Addins/Mono.Addins.Database/AddinDatabase.cs:1036
| at Mono.Addins.Database.AddinDatabase.Repair (IProgressStatus monitor, System.String domain) [0x00093] in /home/laney/temp/mono-addins/Mono.Addins/Mono.Addins.Database/AddinDatabase.cs:1004
| at Mono.Addins.AddinRegistry.Rebuild (IProgressStatus monitor) [0x00000] in /home/laney/temp/mono-addins/Mono.Addins/Mono.Addins/AddinRegistry.cs:626
| at Banshee.ServiceStack.ServiceManager.InitializeAddins () [0x00000] in <filename unknown>:0
| at Banshee.ServiceStack.ServiceManager.DefaultInitialize () [0x00000] in <filename unknown>:0
| at Banshee.ServiceStack.Application.Initialize () [0x00000] in <filename unknown>:0
| at Banshee.Gui.GtkBaseClient.Initialize (Boolean registerCommonServices) [0x00000] in <filename unknown>:0
| at Banshee.Gui.GtkBaseClient..ctor (Boolean initializeDefault, System.String defaultIconName) [0x00000] in <filename unknown>:0
| 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 (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) [0x00119] in /build/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MonoMethod.cs:504
| --- 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) [0x0012c] in /build/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MonoMethod.cs:510
| at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /build/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MonoMethod.cs:519
| at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /build/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77
| at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000b5] in /build/buildd/mono-2.6.7/mcs/class/corlib/System/Activator.cs:337
| at System.Activator.CreateInstance (System.Type type) [0x00000] in /build/buildd/mono-2.6.7/mcs/class/corlib/System/Activator.cs:219
| at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in <filename unknown>:0
| at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] in <filename unknown>:0
`----

[1]
https://github.com/mono/mono-addins/commit/a4f3b3c46e5e798b1378941a2f99bcce1492c903

knocte wrote Jul 4, 2011 at 5:31 PM

I'm affected by this too.

knocte wrote Jul 4, 2011 at 7:17 PM

BTW I think this is not related to the mono-runtime at all (as reverting the bisected commit or downgrading to 0.6.0 fixes the issue), so that mention should be removed from the title of the bug.

knocte wrote Jul 27, 2011 at 12:31 PM

Git pull request, pending review, in here: https://github.com/mono/mono-addins/pull/3

knocte wrote Aug 1, 2011 at 6:08 PM