NUnit addin causes monodevelop to stop loading [dapper]

Bug #5795 reported by ChristofferS
4
Affects Status Importance Assigned to Milestone
monodevelop (Ubuntu)
Fix Released
Medium
MOTU Mono Team

Bug Description

When adding the NUnit addin in latest monodevelop, restarting monodevelop causes monodevelop to hang.

Output from console:

The following assembly referenced from /home/cs/.config/MonoDevelop/addins/MonoDevelop.NUnit_0.9.0/MonoDevelop.NUnit.dll could not be loaded:
     Assembly: nunit.core (assemblyref_index=11)
     Version: 2.2.0.0
     Public Key: 96d09a1eb7f44a77
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/cs/.config/MonoDevelop/addins/MonoDevelop.NUnit_0.9.0).

** ERROR **: file class.c: line 2006 (mono_class_init): assertion failed: (class)
aborting...

Changed in monodevelop:
assignee: nobody → mono
Revision history for this message
Sebastian Dröge (slomo) wrote :

Are you on dapper? Do you still have this problem with the latest packages?

Do you have libnunit-cil installed and does /usr/lib/mono/gac/nunit.core/2.2.0.0__96d09a1eb7f44a77 exist?

Changed in monodevelop:
status: Unconfirmed → Needs Info
Revision history for this message
Sebastian Dröge (slomo) wrote :

Oh, I see... you have the nunit addin installed in your home directory instead of using monodevelop-unit... does this problem disappear when removing it from your home directory and using the monodevelop-nunit package?

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

Yes, the problem disappear when removing the addin from my directory and using the ubuntu package.

Maybe monodevelop should be patched to remove Nunit from the installable addins?

Revision history for this message
Sebastian Dröge (slomo) wrote :

hm no... i think it should just install the correct dependencies for the plugins. Could you file a bug upstream and link to it here?

Changed in monodevelop:
status: Needs Info → Confirmed
Revision history for this message
ChristofferS (ubuntu-curo) wrote :

Here it is:

http://bugzilla.ximian.com/show_bug.cgi?id=77860

I tried to link it using malone but it didn't work. I guess that is a malone bug.

Revision history for this message
Sebastian Dröge (slomo) wrote :

It did work... thanks :)

Revision history for this message
ChristofferS (ubuntu-curo) wrote :

I think the bugfix is in the new Monodevelop 0.10.

Is it possible to get that version in dapper?

Revision history for this message
Sebastian Dröge (slomo) wrote :

I don't think so... the changes are rather large and we're already in upstream version freeze since months.
but for an exception look at this url: https://lists.ubuntu.com/archives/ubuntu-motu/2006-February/000545.html

Sebastian Dröge (slomo)
Changed in monodevelop:
status: Confirmed → Fix Committed
Revision history for this message
Sebastian Dröge (slomo) wrote :

MD 0.10 was uploaded some seconds ago and should fix this bug

Changed in monodevelop:
status: Fix Committed → Fix Released
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.