Bug 1320 - mdhost.exe crash
Summary: mdhost.exe crash
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: ASP.Net ()
Version: 2.8
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-06 15:45 UTC by Volodymyr
Modified: 2011-10-13 11:05 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Volodymyr 2011-10-06 15:45:25 UTC
Application: mdhost.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
   at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged(Mono.Addins.ExtensionNodeEventHandler)
   at Mono.Addins.ExtensionContext.AddExtensionNodeHandler(System.String, Mono.Addins.ExtensionNodeEventHandler)
   at Mono.Addins.AddinManager.AddExtensionNodeHandler(System.String, Mono.Addins.ExtensionNodeEventHandler)
   at MonoDevelop.Core.Assemblies.TargetRuntime.<RunInitialization>b__c(System.Object)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Comment 1 Lluis Sanchez 2011-10-07 07:51:53 UTC
What were you doing when you got the crash? Were you running any command?
Comment 2 Volodymyr 2011-10-07 07:53:43 UTC
firstly i got crash when MD ask me to update, but i did it manually, later I have opened my old project and after that i have few crashes
Comment 3 Chris Schamper 2011-10-10 15:59:20 UTC
I am also receiving this error. I just updated from Monodevelop 2.6 to 2.8. mdhost.exe crashes upon opening a project in Monodevelop. 

What additional information can I provide?

Exception follows:

System.NullReferenceException was unhandled
  Message=Object reference not set to an instance of an object.
  Source=Mono.Addins
  StackTrace:
       at Mono.Addins.ExtensionNode.add_ExtensionNodeChanged(ExtensionNodeEventHandler value)
       at Mono.Addins.ExtensionContext.AddExtensionNodeHandler(String path, ExtensionNodeEventHandler handler)
       at Mono.Addins.AddinManager.AddExtensionNodeHandler(String path, ExtensionNodeEventHandler handler)
       at MonoDevelop.Core.Assemblies.TargetRuntime.<RunInitialization>b__c(Object )
       at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
  InnerException:
Comment 4 Lluis Sanchez 2011-10-11 07:43:48 UTC
Which kind of project are you opening?
Comment 5 Volodymyr 2011-10-11 08:06:54 UTC
i had translation project, .net mvc 4.0 + class librarry
Comment 6 Chris Schamper 2011-10-11 09:24:40 UTC
I am opening a Monodroid project here. (Monodevelop 2.8, Monodroid 1.9.1)
Comment 7 Lluis Sanchez 2011-10-13 05:31:43 UTC
Can you please try with MonoDevelop 2.8.1? I included a patch which I think should fix the issue.
Comment 8 Chris Schamper 2011-10-13 10:55:14 UTC
2.8.1 fixes this for me.

Thank you!