Bugzilla – Bug 319757
SIGSEGV while running NUnit tests
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by joannes.vermorel@ens.fr 2005-12-08 14:32:30 MST ---- 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@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. ---- Additional Comments From vargaz@gmail.com 2005-12-08 14:44:05 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO76928 *** This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"