[MonoDevelop] can't start monodevelop

Jeroen Zwartepoorte jeroen.zwartepoorte at gmail.com
Wed Sep 21 08:22:54 EDT 2005


Thanks for the quick reply. See below.

On 9/21/05, Lluis Sanchez <lluis at ximian.com> wrote:
> El dc 21 de 09 del 2005 a les 13:34 +0200, en/na Jeroen Zwartepoorte va
> escriure:
> > Hey guys,
> >
> > I've rebuilt my complete GNOME/Mono stack, including MD. I can't start
> > MD however. The ParserDatabase tries to create a new
> > AssemblyCodeCompletionDatabase which calls
> > ProcessService.CreateExternalProcessObject. This in turn tries to run
> > mdhost.exe to create an external process (?). For some reason, the
> > mdhost.exe startup fails. The end result is that i never get past the
> > splash screen in MD.
> >
> > Couple of questions:
> >
> > 1. Does anyone know how i can fix this? Or some pointers on how to debug it?
>
> I can't know how you can fix this, unless you provide more information
> about the error you get.

The exception i see is thrown in ProcessHostController.cs, line 148:

  if (!runningEvent.WaitOne (15000, false)) {
    references--;
    throw new ApplicationException ("Couldn't create a remote process");
  }

I'm typing this from a different machine, so i can't copy & paste the
stacktrace. The behavior i'm seeing is that it waits 15seconds and
then throws the exception. I don't know enough about Remoting/the
codebase to fully understand what it's doing/waiting for during those
15 seconds.

> >
> > 2. Why does it want to start the AssemblyCodeCompletionDatabase from a
> > separate process?
>
> 1) To avoid the allocation of memory needed by System.Reflection in the
> MD process.
> 2) To avoid conflicts between loaded assemblies needed to run MD and
> assemblies being parsed.

Makes sense.

> >
> > 3. mdhost uses the Remoting namespace. What about using D-Bus for this stuff?
>
> Which benefit has D-Bus over remoting in this particular use case?

Nothing. It's just that D-Bus seems to become the defacto standard for
IPC in GNOME. Mono has built-in support via Remoting though.

IIRC Beagle uses D-Bus for communicating with different processes? (i
could very well be wrong).

Jeroen


More information about the Monodevelop-list mailing list