[MonoDevelop] NUnit under 2.0

Marek Sieradzki marek.sieradzki at gmail.com
Wed Apr 26 08:43:05 EDT 2006


I tried to change MonoDeveloperExtension to load tests for 2.0 profile.
I changed MonoTestProvider to load 2.0 profile test files
(_test_net_2_0.dll). It looks like MonoDevelop is using them and
crashing when trying to execute the tests. (I tried only loading of the
test suite)
What changes are needed to support 2.0 profile (for tests) in
MonoDevelop and imported NUnit? I remember that someone was using normal
NUnit (not from mono) for testing under 2.0.

Here's the stacktrace:

** (mdhost.exe:29718): WARNING **: The class System.ModuleHandle could
not be loaded, used in mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Stacktrace:

in (wrapper managed-to-native) System.Reflection.Assembly:GetTypes
(bool) <0x4>
in (wrapper managed-to-native) System.Reflection.Assembly:GetTypes
(bool) <0xffffffe4>
in System.Reflection.Assembly:GetExportedTypes () <0xc>
in NUnit.Core.TestSuiteBuilder:Build (string,int) <0x70>
in NUnit.Core.TestSuiteBuilder:Build (string) <0xf>
in MonoDevelop.NUnit.ExternalTestRunner:LoadTestSuite (string,string)
<0xd6>
in MonoDevelop.NUnit.ExternalTestRunner:GetTestInfo (string) <0x13>
in (wrapper runtime-invoke) System.Object:runtime_invoke_TestInfo_string
(object,intptr,intptr,intptr) <0x510bc226>
in (wrapper managed-to-native)
System.Runtime.Remoting.RemotingServices:InternalExecute
(System.Reflection.MethodBase,object,object[],object[]&) <0x4>
in (wrapper managed-to-native)
System.Runtime.Remoting.RemotingServices:InternalExecute
(System.Reflection.MethodBase,object,object[],object[]&) <0xfffffc5e>in
System.Runtime.Remoting.RemotingServices:InternalExecuteMessage
(System.MarshalByRefObject,System.Runtime.Remoting.Messaging.IMethodCallMessage) <0x16e>
in System.Runtime.Remoting.Messaging.StackBuilderSink:SyncProcessMessage
(System.Runtime.Remoting.Messaging.IMessage) <0x93>
in
System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink:SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x52>
in System.Runtime.Remoting.Lifetime.LeaseSink:SyncProcessMessage
(System.Runtime.Remoting.Messaging.IMessage) <0x22>
in
System.Runtime.Remoting.ClientActivatedIdentity:SyncObjectProcessMessage
(System.Runtime.Remoting.Messaging.IMessage) <0x97>
in
System.Runtime.Remoting.Messaging.ServerContextTerminatorSink:SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x11e>
in
System.Runtime.Remoting.Contexts.CrossContextChannel:SyncProcessMessage
(System.Runtime.Remoting.Messaging.IMessage) <0xd3>
in System.Runtime.Remoting.Channels.ChannelServices:SyncDispatchMessage
(System.Runtime.Remoting.Messaging.IMessage) <0x30>
in System.Runtime.Remoting.Channels.ChannelServices:DispatchMessage
(System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Messaging.IMessage&) <0x1e>
in System.Runtime.Remoting.Channels.ServerDispatchSink:ProcessMessage
(System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Messaging.IMessage&,System.Runtime.Remoting.Channels.ITransportHeaders&,System.IO.Stream&) <0x22>
in
Mono.Remoting.Channels.Unix.UnixBinaryServerFormatterSink:ProcessMessage
(System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Messaging.IMessage&,System.Runtime.Remoting.Channels.ITransportHeaders&,System.IO.Stream&) <0x22e>
in
Mono.Remoting.Channels.Unix.UnixServerTransportSink:InternalProcessMessage (Mono.Remoting.Channels.Unix.ClientConnection) <0x96>
in Mono.Remoting.Channels.Unix.ClientConnection:ProcessMessages ()
<0xb5>
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
<0xffffff90>
in (wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr) <0x50e89f3a>

Native stacktrace:

        mono(mono_handle_native_sigsegv+0xbf) [0x814e77d]
        mono [0x811d498]
        [0xffffe440]
        mono [0x80ed460]
        mono(mono_class_init+0x35c) [0x80eb7ca]
        mono(mono_type_get_object+0x94) [0x80ba2c5]
        mono [0x80dcddd]
        mono [0x80dcfb6]
        [0xb7019033]
        [0xb7018fed]
        [0xb7017f11]
        [0xb7017c28]
        [0xb70178df]
        [0xb701779c]
        [0xb701771e]
        mono(mono_runtime_invoke_array+0x144) [0x80d3917]
        mono [0x80d9b06]
        [0xb7013737]
        [0xb7013367]
        [0xb7012e5c]
        [0xb7012d33]
        [0xb7012bd3]
        [0xb70128c0]
        [0xb70127bf]
        [0xb701206c]
        [0xb7011c19]
        [0xb7011ad7]
        [0xb7011a9b]
        [0xb700fc3f]
        [0xb700f7f7]
        [0xb700f626]
        [0xb72471c8]
        [0xb7247129]
        mono(mono_runtime_delegate_invoke+0x36) [0x80d103b]
        mono [0x80b1e89]
        mono [0x80f92bf]
        mono [0x8111212]
        /lib/tls/i686/cmov/libpthread.so.0 [0xb7ecd341]
        /lib/tls/i686/cmov/libc.so.6(__clone+0x5e) [0xb7e374ee]


-- 
Marek Sieradzki <marek.sieradzki at gmail.com>



More information about the Monodevelop-list mailing list