[Mono-bugs] [Bug 78926][Maj] New - crash in native code when running RefParameter test in nunit.mocks.tests.dll

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jul 21 20:46:14 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by matt at use.net.

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

--- shadow/78926	2006-07-21 20:46:14.000000000 -0400
+++ shadow/78926.tmp.17270	2006-07-21 20:46:14.000000000 -0400
@@ -0,0 +1,145 @@
+Bug#: 78926
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: kubuntu 6.06 on x86
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: matt at use.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: crash in native code when running RefParameter test in nunit.mocks.tests.dll
+
+Steps to reproduce the problem:
+1. in supplied archive, run
+mono --debug ./nunit-console.exe -fixture=NUnit.Mocks.Tests.DynamicMockTests -labels 
+nunit.mocks.tests.dll
+
+Actual Results:
+crash in native code:
+"
+***** NUnit.Mocks.Tests.DynamicMockTests.RefParameter
+ 
+=================================================================
+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:
+
+  at (wrapper managed-to-native) 
+System.Object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) 
+<0x00004>
+  at (wrapper managed-to-native) 
+System.Object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) 
+<0xffffffff>
+  at (wrapper remoting-invoke) IStuff.Increment (int&) <0xffffffff>
+  at NUnit.Mocks.Tests.DynamicMockTests.RefParameter () <0x0003f>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void 
+(object,intptr,intptr,intptr) <0xffffffff>
+  at (wrapper managed-to-native) 
+System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0x00004>
+  at (wrapper managed-to-native) 
+System.Reflection.MonoMethod.InternalInvoke (object,object[]) 
+<0xffffffff>
+  at System.Reflection.MonoMethod.Invoke 
+(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) 
+[0x00056] 
+in /home/matt/src/mcs/class/corlib/System.Reflection/MonoMethod.cs:135
+  at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] 
+in /home/matt/src/mcs/class/corlib/System.Reflection/MethodBase.cs:86
+  at NUnit.Core.Reflect.InvokeMethod 
+(System.Reflection.MethodInfo,object) <0x0002e>
+  at NUnit.Core.TestMethod.RunTestMethod (NUnit.Core.TestCaseResult) 
+<0x00021>
+  at NUnit.Core.TestMethod.doTestCase (NUnit.Core.TestCaseResult) 
+<0x0001b>
+  at NUnit.Core.TestMethod.doRun (NUnit.Core.TestCaseResult) <0x00092>
+  at NUnit.Core.TestMethod.Run (NUnit.Core.TestCaseResult) <0x00124>
+  at NUnit.Core.NUnitTestMethod.Run (NUnit.Core.TestCaseResult) <0x00014>
+  at NUnit.Core.TestCase.Run (NUnit.Core.EventListener) <0x0018c>
+  at NUnit.Core.TestCase.Run 
+(NUnit.Core.EventListener,NUnit.Core.TestFilter) <0x00011>
+  at NUnit.Core.TestSuite.RunAllTests 
+(NUnit.Core.TestSuiteResult,NUnit.Core.EventListener,NUnit.Core.TestFilter) 
+<0x00187>
+  at NUnit.Core.TestSuite.Run 
+(NUnit.Core.EventListener,NUnit.Core.TestFilter) <0x001ad>
+  at NUnit.Core.TestFixture.Run 
+(NUnit.Core.EventListener,NUnit.Core.TestFilter) <0x00093>
+  at NUnit.Core.TestSuite.RunAllTests 
+(NUnit.Core.TestSuiteResult,NUnit.Core.EventListener,NUnit.Core.TestFilter) 
+<0x00187>
+  at NUnit.Core.TestSuite.Run 
+(NUnit.Core.EventListener,NUnit.Core.TestFilter) <0x001ad>
+  at NUnit.Core.SimpleTestRunner.Run 
+(NUnit.Core.EventListener,NUnit.Core.TestFilter) <0x00094>
+  at NUnit.Core.TestRunnerThread.TestRunnerThreadProc () <0x0003d>
+  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void () 
+<0xffffffff>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void 
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+        mono(mono_handle_native_sigsegv+0xde) [0x814d732]
+        mono [0x811b873]
+        [0xffffe440]
+        mono [0x80adcd0]
+        [0xb68d2d89]
+        [0xb68ec8b4]
+        [0xb68c1620]
+        [0xb68e2301]
+        mono(mono_runtime_invoke_array+0x144) [0x80958d0]
+        mono [0x809bc78]
+        [0xb6c9702c]
+        [0xb6b1192a]
+        [0xb6c544fb]
+        [0xb68ebd47]
+        [0xb68ec9fa]
+        [0xb68ec8fc]
+        [0xb68ebb53]
+        [0xb68eb7fd]
+        [0xb68eb6b5]
+        [0xb68eb365]
+        [0xb68eb1c2]
+        [0xb6b00d68]
+        [0xb6b005be]
+        [0xb6b0128c]
+        [0xb6b00d68]
+        [0xb6b005be]
+        [0xb6affd65]
+        [0xb6affc4e]
+        [0xb6b0e058]
+        [0xb6c8c8c1]
+        mono(mono_runtime_delegate_invoke+0x36) [0x8092d57]
+        mono [0x80c0e88]
+        mono [0x81017d3]
+        mono [0x8115c10]
+        /lib/tls/i686/cmov/libpthread.so.0 [0xb7f01341]
+        /lib/tls/i686/cmov/libc.so.6(__clone+0x5e) [0xb7e6b4ee]
+Aborted
+"
+
+Expected Results:
+should pass. 
+
+
+How often does this happen? 
+every time, even when running all the tests at once by removing 
+the -fixture parameter and removing the -labels parameter. The crash is 
+the same with debug or release builds.
+
+
+Additional Information:
+When putting -O=-all, the crash changes:
+"Unhandled Exception: System.ApplicationException: Exception in pump 
+thread ---> System.NotImplementedException: The requested feature is not 
+implemented."


More information about the mono-bugs mailing list