[Mono-bugs] [Bug 81924][Blo] New - On big endian ARM IXP425 system: System.ArgumentException: Size is too big

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 21 14:26:42 EDT 2007


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 srik.chavali at gmail.com.

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

--- shadow/81924	2007-06-21 14:26:42.000000000 -0400
+++ shadow/81924.tmp.13959	2007-06-21 14:26:42.000000000 -0400
@@ -0,0 +1,101 @@
+Bug#: 81924
+Product: Mono: Runtime
+Version: 1.2
+OS: GNU/Linux [Other]
+OS Details: Debian Linux 3.1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: srik.chavali at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Summary: On big endian ARM IXP425 system: System.ArgumentException: Size is too big
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+I downloaded and compiled mono using scratchbox for a big endian ARM
+system. Linux kernel 2.6.17 was compiled with NWFPE kernel config for ABI
+system. A simple HelloWorld program:
+
+HelloWorld.cs is:
+
+using System;
+namespace HellowWorldApplication
+{
+class HelloWorld
+{
+ static void Main(string[] args)
+{
+ Console.WriteLine("Hello World!");
+}
+}
+}
+
+When i run this application HelloWorld.exe under mono, the program seems to
+run fine (It outputs the Hello World message) but at the end of execution
+it spews this message:
+
+Unhandled Exception: System.TypeInitializationException: An exception  was
+thrown by the type initializer for 
+System.Runtime.Remoting.Contexts.Context ---> System.ArgumentException:
+Size is too big
+
+at System.Collections.Hashtable:.ctor (Int32 capacity, Single loadFactor,
+IHashCodeProvider hcp, IComparer comparer)
+
+at System.Collections.Hashtable:.ctor (Int32 capacity, Single loadFactor)
+
+atSystem.Collections.Hashtable:.ctor ()
+
+at System.Runtime.Remoting.Contexts.Context:.cctor ()--- End of inner
+exception stack trace 
+
+I put debug statements in Hashtable.cs and found that:
+capacity=1 loadFactor=0 tableSize=1.79...E+308. So looks like there is a
+divide by 0 happening. 
+
+mono --version
+Mono JIT compiler version 1.2.3.1, (C) 2002-2006 Novell, Inc and
+Contributors. www.mono-project.com
+        TLS:           normal
+        GC:            Included Boehm (with typed GC)
+        SIGSEGV:       normal
+        Architecture:  arm
+        Disabled:      none
+
+Steps to reproduce the problem:
+1. Compilations done as described in http://www.mono-project.com/Mono:ARM
+2. loaded mono onto my big endian ARM IXP425 board.
+3. mono -v runs fine. However the simple HelloWorld.exe described above
+results in the exception described above.
+
+Actual Results:
+Hello World!
+
+Unhandled Exception: System.TypeInitializationException: An exception  was
+thrown by the type initializer for 
+System.Runtime.Remoting.Contexts.Context ---> System.ArgumentException:
+Size is too big
+
+at System.Collections.Hashtable:.ctor (Int32 capacity, Single loadFactor,
+IHashCodeProvider hcp, IComparer comparer)
+
+at System.Collections.Hashtable:.ctor (Int32 capacity, Single loadFactor)
+
+atSystem.Collections.Hashtable:.ctor ()
+
+at System.Runtime.Remoting.Contexts.Context:.cctor ()--- End of inner
+exception stack trace 
+
+Expected Results:
+Hello World!
+
+How often does this happen? 
+Every time.
+
+Additional Information:


More information about the mono-bugs mailing list