[Mono-devel-list] OutOfMemoryException using Mono/Windows

Gert Driesen gert.driesen at pandora.be
Mon May 31 12:08:56 EDT 2004


Hi,

I just updated Mono from cvs on Windows (first time since two days or so),
and I now get the following exception when running any application using
Mono :

Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object

The verbose output (of running, for example, mcs) is :

Method (wrapper managed-to-native)
System.Object:__icall_wrapper_mono_thread_get_pending_exception () emitted
at 01420020 to 01420069 [/usr/local/lib/mono/1.0/mcs.exe]
Method (wrapper runtime-invoke) System.Object:runtime_invoke_void_string
(object,intptr,intptr,intptr) emitted at 01420070 to 014200E9
[/usr/local/lib/mono/1.0/mcs.exe]
Method System.OutOfMemoryException:.ctor (string) emitted at 014200F0 to
0142010F [/usr/local/lib/mono/1.0/mcs.exe]
Method System.SystemException:.ctor (string) emitted at 01420110 to 0142012F
[/usr/local/lib/mono/1.0/mcs.exe]
Method System.Exception:.ctor (string) emitted at 01420130 to 0142018D
[/usr/local/lib/mono/1.0/mcs.exe]
Method System.Object:.ctor () emitted at 01420190 to 01420197
[/usr/local/lib/mono/1.0/mcs.exe]
Method System.MonoType:get_FullName () emitted at 01420198 to 014201AE
[/usr/local/lib/mono/1.0/mcs.exe]
Method (wrapper managed-to-native) System.MonoType:getFullName () emitted at
014201B0 to 014201FF [/usr/local/lib/mono/1.0/mcs.exe]
Method System.Exception:set_HResult (int) emitted at 01420200 to 01420210
[/usr/local/lib/mono/1.0/mcs.exe]
Method System.NullReferenceException:.ctor (string) emitted at 01420218 to
01420237 [/usr/local/lib/mono/1.0/mcs.exe]
Method System.StackOverflowException:.ctor (string) emitted at 01420238 to
0142024A [/usr/local/lib/mono/1.0/mcs.exe]
Method (wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr) emitted at 01420250 to 014202C4
[/usr/local/lib/mono/1.0/mcs.exe]
Method System.NullReferenceException:.ctor () emitted at 014202C8 to
014202FD [/usr/local/lib/mono/1.0/mcs.exe]
Method Locale:GetText (string) emitted at 01420300 to 0142030A [/usr/local/l
ib/mono/1.0/mcs.exe]
Method (wrapper runtime-invoke) System.Object:runtime_invoke_string
(object,intptr,intptr,intptr) emitted at 01420310 to 01420383
[/usr/local/lib/mono/1.0/mcs.exe]
Method (wrapper managed-to-native)
System.Object:__icall_wrapper_mono_object_new_fast (intptr) emitted at
01420388 to 014203D8 [/usr/local/lib/mono/1.0/mcs.exe]
Method System.Exception:ToString () emitted at 014203E0 to 0142051C
[/usr/local/lib/mono/1.0/mcs.exe]
Method System.Text.StringBuilder:.ctor (string) emitted at 01420520 to
014205E8 [/usr/local/lib/mono/1.0/mcs.exe]
Method System.Text.StringBuilder:.ctor (string,int,int,int) emitted at
014205F0 to 014207D6 [/usr/local/lib/mono/1.0/mcs.exe]
Method (wrapper managed-to-native) System.String:InternalAllocateStr (int)
emitted at 014207D8 to 01420827 [/usr/local/lib/mono/1.0/mcs.exe]
Method (wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr) emitted at 01420828 to 01420899
[/usr/local/lib/mono/1.0/mcs.exe]
Method (wrapper managed-to-native)
System.Object:__icall_wrapper_mono_array_new_specific (intptr,int) emitted
at 014208A0 to 014208F4 [/usr/local/lib/mono/1.0/mcs.exe]
Method System.String:.cctor () emitted at 014208F8 to 01420943
[/usr/local/lib/mono/1.0/mcs.exe]
Method System.Runtime.CompilerServices.RuntimeHelpers:InitializeArray
(System.Array,System.RuntimeFieldHandle) emitted at 01420948 to 01420971
[/usr/local/lib/mono/1.0/mcs.exe]
Method System.Runtime.CompilerServices.RuntimeHelpers:.cctor () emitted at
01420978 to 01420995 [/usr/local/lib/mono/1.0/mcs.exe]
Method (wrapper managed-to-native)
System.Runtime.CompilerServices.RuntimeHelpers:GetOffsetToStringData ()
emitted at 01420998 to 014209E1 [/usr/local/lib/mono/1.0/mcs.exe]
Method System.RuntimeFieldHandle:get_Value () emitted at 014209E8 to
014209F4 [/usr/local/lib/mono/1.0/mcs.exe]
Method (wrapper managed-to-native)
System.Runtime.CompilerServices.RuntimeHelpers:InitializeArray
(System.Array,intptr) emitted at 014209F8 to 01420A39
[/usr/local/lib/mono/1.0/mcs.exe]
Method (wrapper managed-to-native) System.String:InternalStrcpy
(string,int,string,int,int) emitted at 01420A40 to 01420A8A
[/usr/local/lib/mono/1.0/mcs.exe]
Method System.Text.StringBuilder:Append (string) emitted at 01420A90 to
01420AF4 [/usr/local/lib/mono/1.0/mcs.exe]
Method System.Text.StringBuilder:InternalEnsureCapacity (int) emitted at
01420AF8 to 01420B9E [/usr/local/lib/mono/1.0/mcs.exe]
Method (wrapper managed-to-native) System.String:InternalStrcpy
(string,int,string) emitted at 01420BA0 to 01420BE4
[/usr/local/lib/mono/1.0/mcs.exe]
Method System.Exception:get_Message () emitted at 01420BE8 to 01420C41
[/usr/local/lib/mono/1.0/mcs.exe]
Method System.Text.StringBuilder:ToString () emitted at 01420C48 to 01420CC8
[/usr/local/lib/mono/1.0/mcs.exe]
Method System.String:InternalSetLength (int) emitted at 01420CD0 to 01420D30
[/usr/local/lib/mono/1.0/mcs.exe]

I hope this issue is local to my system, but I thought it might be best to
report it anyway (as we're so close to beta 2), just in case ...

Gert




More information about the Mono-devel-list mailing list