[Mono-bugs] [Bug 76945][Maj] New - SIGSEGV while running NUnit tests

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 8 14:32:31 EST 2005


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 joannes.vermorel at ens.fr.

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

--- shadow/76945	2005-12-08 14:32:31.000000000 -0500
+++ shadow/76945.tmp.15031	2005-12-08 14:32:31.000000000 -0500
@@ -0,0 +1,114 @@
+Bug#: 76945
+Product: Mono: Runtime
+Version: 1.1
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: joannes.vermorel at ens.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SIGSEGV while running NUnit tests
+
+Description of Problem:
+I get a SIGSEV failure while trying to run NUnit tests of a DLL (the
+testing suite succeed against .Net 2.0 on WinXP).
+
+Steps to reproduce the problem:
+1. Download the NSketch DLL v0.1 at
+https://sourceforge.net/project/showfiles.php?group_id=115441 
+
+2. Run the testing suite
+$ mono nunit-console.exe NSketch.dll
+ 
+============== Actual Results ====================
+==================================================
+
+NUnit version 2.2.3
+Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A.
+Vorontsov, Charlie Poole.
+Copyright (C) 2000-2003 Philip Craig.
+All Rights Reserved.
+
+OS Version: Unix 2.4.21.20    Mono Version: 1.1.4322.2032
+
+Assembly not found: NSketch.
+[vermorel at thalassa bin]$ nunit NSketch.dll
+NUnit version 2.2.3
+Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A.
+Vorontsov, Charlie Poole.
+Copyright (C) 2000-2003 Philip Craig.
+All Rights Reserved.
+
+OS Version: Unix 2.4.21.20    Mono Version: 1.1.4322.2032
+
+
+=================================================================
+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 <0xb> (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
+in <0xffffffffffffffcd> (wrapper managed-to-native)
+System.Reflection.Assembly:GetTypes (bool)
+in <0x15> System.Reflection.Assembly:GetExportedTypes ()
+in <0x66> NUnit.Core.AddinManager:Register (System.Reflection.Assembly)
+in <0x29> NUnit.Core.Addins:Register (System.Reflection.Assembly)
+in <0x99> NUnit.Core.Builders.TestAssemblyBuilder:Load (string)
+in <0x2b> NUnit.Core.Builders.TestAssemblyBuilder:Build ()
+in <0x1c1> NUnit.Core.TestSuiteBuilder:Build (NUnit.Core.TestProject)
+in <0xd4> NUnit.Core.SimpleTestRunner:Load (NUnit.Core.TestProject)
+in <0x36> NUnit.Core.ProxyTestRunner:Load (NUnit.Core.TestProject)
+in <0x36> NUnit.Core.ProxyTestRunner:Load (NUnit.Core.TestProject)
+in <0xffffffffffff0d48> (wrapper xdomain-dispatch)
+NUnit.Core.ProxyTestRunner:Load (object,byte[]&,byte[]&)
+in <0xfffffffffff2a2d3> (wrapper xdomain-invoke)
+NUnit.Core.ProxyTestRunner:Load (NUnit.Core.TestProject)
+in <0x1e3> NUnit.Util.TestDomain:Load (NUnit.Core.TestProject,string)
+in <0x162> NUnit.ConsoleRunner.ConsoleUi:MakeTestFromCommandLine
+(NUnit.Core.TestRunner,NUnit.ConsoleRunner.ConsoleOptions)
+in <0x283> NUnit.ConsoleRunner.ConsoleUi:Execute
+(NUnit.ConsoleRunner.ConsoleOptions)
+in <0x426> NUnit.ConsoleRunner.ConsoleUi:Main (string[])
+in <0x19> NUnit.ConsoleRunner.Class1:Main (string[])
+in <0xffffffffc04b75b1> (wrapper runtime-invoke)
+System.Object:runtime_invoke_int_string[] (object,intptr,intptr,intptr)
+
+Native stacktrace:
+
+        /usr/local/bin/mono(mono_handle_native_sigsegv+0x88) [0x4dfdc8]
+        /usr/local/bin/mono [0x4cf1aa]
+        /lib64/tls/libpthread.so.0 [0x2a95c18fa0]
+        /usr/local/bin/mono(mono_class_from_mono_type+0x9) [0x490529]
+        /usr/local/bin/mono [0x483642]
+        /usr/local/bin/mono [0x483a08]
+        /usr/local/bin/mono(mono_type_create_from_typespec_full+0xe6)
+[0x485826]
+        /usr/local/bin/mono [0x4907eb]
+        /usr/local/bin/mono [0x491470]
+        /usr/local/bin/mono(mono_class_get_full+0x16) [0x4914c6]
+       
+/usr/local/bin/mono(mono_metadata_interfaces_from_typedef_full+0x110)
+[0x484480]
+        /usr/local/bin/mono [0x48fcc9]
+        /usr/local/bin/mono [0x491477]
+        /usr/local/bin/mono [0x44f5ae]
+        /usr/local/bin/mono [0x44f82a]
+        [0x4034014a]
+Aborted
+
+
+================= Expected Results ===========
+==============================================
+
+The testing suite should succeeds as it does under
+.Net 2.0 with WinXP.


More information about the mono-bugs mailing list