[Mono-bugs] [Bug 69020][Nor] New - 'make bootstrap' sometimes fails after 'Could not load class from token ...' warnings and an assertion in 'mono_class_setup_parent'

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 2 Nov 2004 09:53:09 -0500 (EST)


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 rharinath@novell.com.

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

--- shadow/69020	2004-11-02 09:53:09.000000000 -0500
+++ shadow/69020.tmp.15785	2004-11-02 09:53:09.000000000 -0500
@@ -0,0 +1,68 @@
+Bug#: 69020
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: rharinath@novell.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: 'make bootstrap' sometimes fails after 'Could not load class from token ...' warnings and an assertion in 'mono_class_setup_parent'
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+'make bootstrap' sometimes fails with errors like:
+
+  ** (../../mcs/mcs.exe:17048): WARNING **: Could not load class from token
+0x01000074 in /home/harinath/src/mcs/class/lib/default/System.dll
+
+  ** (../../mcs/mcs.exe:17048): WARNING **: Could not load class from token
+0x01000078 in /home/harinath/src/mcs/class/lib/default/System.dll
+
+  ** ERROR **: file ../../../../mono/mono/metadata/class.c: line 1743
+(mono_class_setup_parent): should not be reached
+
+Steps to reproduce the problem:
+1. make bootstrap-clean && make bootstrap
+2. touch ../mcs/class/System.XML/Assembly/AssemblyInfo.cs
+3. make fasterstrap
+
+Actual Results:
+
+Build fails.
+
+Expected Results:
+
+Build completes.
+
+How often does this happen? 
+
+Always.
+
+Additional Information:
+
+With the attached debugging patch, we get some additional messages.
+
+  ** (../../mcs/mcs.exe:2183): WARNING **: 'System.Xml': no such namespace
+in cache of dynamic image System.Xml
+
+  ** (../../mcs/mcs.exe:2183): WARNING **: Could not load class from token
+0x01000074 in /home/harinath/src/mcs/class/lib/net_2_0_bootstrap/System.dll
+
+  ** (../../mcs/mcs.exe:2183): WARNING **: 'System.Xml': no such namespace
+in cache of dynamic image System.Xml
+
+  ** (../../mcs/mcs.exe:2183): WARNING **: Could not load class from token
+0x01000078 in /home/harinath/src/mcs/class/lib/net_2_0_bootstrap/System.dll
+
+  ** ERROR **: file ../../../../mono/mono/metadata/class.c: line 1743
+(mono_class_setup_parent): should not be reached