[ubuntu-mono] [Bug 1364831] Re: monodevelop on trusty fails with TypeLoadException.

Peder Chr. Nørgaard pcn at scandiatransplant.org
Mon Sep 8 07:46:31 UTC 2014


I figured out the reason that monodevelop failed to start on two of our
"trusty" systems.

What I did was to start monodevelop under "strace", trying to figure out
what kind of load caused the exeception.  Instead I found that
monodevelop picked up dlls that I did not know was on the system.

So when I claimed in the original posting that the systems were vanilla,
this was not entirely correct - a collegue of mine had built and
installed a copy of the mono system in /usr/local for some
experimenting.  So the system hosted two slightly different versions of
the mono runtime.  Removing the system from /usr/local solved the
problem.  Or rather, stopped it from occurring.

Monodevelop is trying to be smart - it looks all over the system for
dlls and loads everything.  It might be a more robust architecture if
monodevelop sticks to the standard mono installation per default, and
then allows configuration of alternative location of the runtime system
that the user might wish to use.

But I realize that this is not a high-priority request - it is a pretty
rare situation that a single installation holds more than one mono
runtime system.

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to monodevelop in Ubuntu.
https://bugs.launchpad.net/bugs/1364831

Title:
  monodevelop on trusty fails with TypeLoadException.

Status in “monodevelop” package in Ubuntu:
  New

Bug description:
  This is a vanilla Ubuntu 14.04 "trusty tahr".

  monodevelop is the current 14.04 one,  4.0.12+dfsg-2.

  I have observed the problem on both a server and a Unity desktop, both
  vanilla installations.

  What makes the problem really peculiar is that I have a third system, a desktop running
  Kubuntu 14.04 (the KDE version of Ubuntu). On that system I do not have the problem.

  Unhandled Exception:                             
  System.TypeLoadException: A type load exception has occurred.
    at MonoDevelop.Startup.MonoDevelopMain.Main (System.String[] args) [0x00000] in <filename unknown>:0
  [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load exception has occurred.
    at MonoDevelop.Startup.MonoDevelopMain.Main (System.String[] args) [0x00000] in <filename unknown>:0

  The problem is probably a trivial missing install dependency.  But I cannot figure out what it it
  that I am missing.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/monodevelop/+bug/1364831/+subscriptions




More information about the Ubuntu-mono mailing list