[Mono-list] runtime-error on arm-linux

Harald Jordan e9825829 at stud3.tuwien.ac.at
Wed Nov 8 17:41:20 EST 2006


i successfully (at least I think so) compiled mono- for the 
PXA255 (XScale) hey - that was quit hard.
When i try to get this minimum application (I compiled it under win32 
with mono)

using System;

namespace cs1
    class CS1
        public static void Main(string[] args)
            Console.WriteLine("hi bob!");

to run on the embedded device following error occurs:

arget/mono/bin # ./arm-linux-mono cs1
cannot open assembly cs1

Unhandled Exception: System.TypeInitializationException: An exception 
was thrown by the type initializer for 
System.Runtime.Remoting.Contexts.Context ---> System.ArgumentException: 
Size is too big
in <0x00140> System.Collections.Hashtable:.ctor (Int32 capacity, Single 
loadFactor, IHashCodeProvider hcp, IComparer comparer)
in <0x0003f> System.Collections.Hashtable:.ctor (Int32 capacity, Single 
in <0x00037> System.Collections.Hashtable:.ctor ()
in <0x00023> System.Runtime.Remoting.Contexts.Context:.cctor ()--- End 
of inner exception stack trace ---

Is there anyone out there who can help me because by now I have no idea what's
wrong. On an native x86 mono-installation under SuSE this application 
runs perfect.

cu. bob

More information about the Mono-list mailing list