[Mono-bugs] [Bug 533103] New: Any NUnit assertion failure crashes on ARM
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Aug 20 18:23:59 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=533103
Summary: Any NUnit assertion failure crashes on ARM
Classification: Mono
Product: Mono: Runtime
Version: 2.4.x
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: JIT
AssignedTo: lupus at novell.com
ReportedBy: jon.shemitz at access-company.com
QAContact: mono-bugs at lists.ximian.com
Found By: Third Party Developer/Partner
Description of Problem:
So far as I can tell, under Mono 2.4.2, any NUnit assertion failure crashes on
ARM/Linux. The same assertion failures work properly on x86/Linux. (Though
there are kernel differences between my test environments, with the ARM running
“OS Version: Unix 2.6.24.7” and the x86 running “OS Version: Unix 2.6.22.18”.)
Steps to reproduce the problem:
1. Compile this to a library:
// begin sample
using NUnit.Framework;
[TestFixture]
public class NunitCrash
{
[Test]
public void AssertionFailure()
{
Assert.AreEqual(1, 2);
}
}
// end sample
2. Run it under nunit-console.exe
Actual Results:
ERROR:class.c:3324:mono_class_setup_vtable_general: assertion failed: (cur_slot
== class->vtable_size)
Stacktrace:
at NUnit.Core.TestMethod.RecordException
(System.Exception,NUnit.Core.TestResult) <0xffffffff>
at NUnit.Core.TestMethod.RecordException
(System.Exception,NUnit.Core.TestResult) <0x00088>
Native stacktrace:
mono [0xe0f48]
[0x41773df4]
Debug info from gdb:
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted
Expected Results:
Should just report that 1 != 2
How often does this happen?
Always
Additional Information:
/proc/cpuinfo says
Processor : ARMv7 Processor rev 3 (v7l)
BogoMIPS : 499.92
Features : swp half thumb fastmult vfp edsp
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc08
CPU revision : 3
Cache type : write-through
Cache clean : not required
Cache lockdown : not supported
Cache format : Unified
Cache size : 768
Cache assoc : 1
Cache line length : 8
Cache sets : 64
Hardware : OMAP3 Beagle board
Revision : 3430130f
Serial : 0000000000000000
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list