[Mono-bugs] [Bug 59649][Blo] New - New libgc breaks Mono on Windows (XP SP1)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 6 Jun 2004 06:12:24 -0400 (EDT)


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 gert.driesen@pandora.be.

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

--- shadow/59649	2004-06-06 06:12:24.000000000 -0400
+++ shadow/59649.tmp.25033	2004-06-06 06:12:24.000000000 -0400
@@ -0,0 +1,117 @@
+Bug#: 59649
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: Windows XP SP1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: New libgc breaks Mono on Windows (XP SP1)
+
+Apparently, the new libgc breaks Mono on Windows.  After installing the 
+new libgc-dev package (from http://www.go-mono.com/archive/libgc-dev.zip) 
+and rebuilding the Mono runtime, I'm no longer able to run any managed 
+app.
+
+Running any app now yields a NullReferenceException.  A more verbose log 
+of running an app :
+
+Method (wrapper managed-to-native) 
+System.Object:__icall_wrapper_mono_thread_get_pending_exception () 
+emitted at 0x01450020 to 0x01450069 [test.exe]
+Method (wrapper runtime-invoke) System.Object:runtime_invoke_void_string 
+(object,intptr,intptr,intptr) emitted at 0x01450070 to 0x014500e9 
+[test.exe]
+Method System.OutOfMemoryException:.ctor (string) emitted at 0x014500f0 
+to 0x0145010f [test.exe]
+Method System.SystemException:.ctor (string) emitted at 0x01450110 to 
+0x0145012f [test.exe]
+Method System.Exception:.ctor (string) emitted at 0x01450130 to 
+0x0145018d [test.exe]
+Method System.Object:.ctor () emitted at 0x01450190 to 0x01450197 
+[test.exe]
+Method System.MonoType:get_FullName () emitted at 0x01450198 to 
+0x014501ae [test.exe]
+Method (wrapper managed-to-native) System.MonoType:getFullName () emitted 
+at 0x014501b0 to 0x014501ff [test.exe]
+Method System.Exception:set_HResult (int) emitted at 0x01450200 to 
+0x01450210 [test.exe]
+Method System.NullReferenceException:.ctor (string) emitted at 0x01450218 
+to 0x01450237 [test.exe]
+Method System.StackOverflowException:.ctor (string) emitted at 0x01450238 
+to 0x0145024a [test.exe]
+Method (wrapper runtime-invoke) System.Object:runtime_invoke_void 
+(object,intptr,intptr,intptr) emitted at 0x01450250 to 0x014502c4 
+[test.exe]
+Method System.NullReferenceException:.ctor () emitted at 0x014502c8 to 
+0x014502fd [test.exe]
+Method Locale:GetText (string) emitted at 0x01450300 to 0x0145030a 
+[test.exe]
+Method (wrapper runtime-invoke) System.Object:runtime_invoke_string 
+(object,intptr,intptr,intptr) emitted at 0x01450310 to 0x01450383 
+[test.exe]
+Method (wrapper managed-to-native) 
+System.Object:__icall_wrapper_mono_object_new_fast (intptr) emitted at 
+0x01450388 to 0x014503d8 [test.exe]
+Method System.Exception:ToString () emitted at 0x014503e0 to 0x0145051c 
+[test.exe]
+Method System.Text.StringBuilder:.ctor (string) emitted at 0x01450520 to 
+0x014505e8 [test.exe]
+Method System.Text.StringBuilder:.ctor (string,int,int,int) emitted at 
+0x014505f0 to 0x014507cc [test.exe]
+Method (wrapper managed-to-native) System.String:InternalAllocateStr 
+(int) emitted at 0x014507d0 to 0x0145081f [test.exe]
+Method (wrapper runtime-invoke) System.Object:runtime_invoke_void 
+(object,intptr,intptr,intptr) emitted at 0x01450820 to 0x01450891 
+[test.exe]
+Method (wrapper managed-to-native) 
+System.Object:__icall_wrapper_mono_array_new_specific (intptr,int) 
+emitted at 0x01450898 to 0x014508ec [test.exe]
+Method System.String:.cctor () emitted at 0x014508f0 to 0x0145093b 
+[test.exe]
+Method System.Runtime.CompilerServices.RuntimeHelpers:InitializeArray 
+(System.Array,System.RuntimeFieldHandle) emitted at 0x01450940 to 
+0x01450969 [test.exe]
+Method System.Runtime.CompilerServices.RuntimeHelpers:.cctor () emitted 
+at 0x01450970 to 0x0145098d [test.exe]
+Method (wrapper managed-to-native) 
+System.Runtime.CompilerServices.RuntimeHelpers:GetOffsetToStringData () 
+emitted at 0x01450990 to 0x014509d9 [test.exe]
+Method System.RuntimeFieldHandle:get_Value () emitted at 0x014509e0 to 
+0x014509ec [test.exe]
+Method (wrapper managed-to-native) 
+System.Runtime.CompilerServices.RuntimeHelpers:InitializeArray 
+(System.Array,intptr) emitted at 0x014509f0 to 0x01450a31 [test.exe]
+Method (wrapper managed-to-native) System.String:InternalStrcpy 
+(string,int,string,int,int) emitted at 0x01450a38 to 0x01450a82 [test.exe]
+Method System.Text.StringBuilder:Append (string) emitted at 0x01450a88 to 
+0x01450aec [test.exe]
+Method System.Text.StringBuilder:InternalEnsureCapacity (int) emitted at 
+0x01450af0 to 0x01450b96 [test.exe]
+Method (wrapper managed-to-native) System.String:InternalStrcpy 
+(string,int,string) emitted at 0x01450b98 to 0x01450bdc [test.exe]
+Method System.Exception:get_Message () emitted at 0x01450be0 to 
+0x01450c39 [test.exe]
+Method System.Text.StringBuilder:ToString () emitted at 0x01450c40 to 
+0x01450cc0 [test.exe]
+Method System.String:InternalSetLength (int) emitted at 0x01450cc8 to 
+0x01450d28 [test.exe]
+
+Unhandled Exception: System.NullReferenceException: Object reference not 
+set to
+an instance of an object
+
+I think I narrowed the issue down to the updated include files, but I not 
+an expert in this so definitely don't take my word on this ;)
+
+I'll attach an even more verbose log.
+
+Miguel asked me to set the priority of the issue to "Blocker" ...