[Mono-bugs] [Bug 59083][Cri] Changed - [REGRESSION] mono -O=all --aot mscorlib.dll fails

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 25 May 2004 22:17:42 -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 bmaurer@users.sf.net.


--- shadow/59083	2004-05-25 21:43:19.000000000 -0400
+++ shadow/59083.tmp.4316	2004-05-25 22:17:42.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 59083
 Product: Mono: Runtime
 Version: unspecified
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Critical
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: bmaurer@users.sf.net               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -21,6 +21,74 @@
 ** ERROR **: file mini.c: line 4322 (mono_method_to_ir): assertion failed:
 (costs > 0)
+------- Additional Comments From bmaurer@users.sf.net  2004-05-25 22:17 -------
+mono -v -v -v -v -O=all --compile Microsoft.Win32.RegistryKey:.ctor
+/devel/install/lib/mscorlib.dll gets thsi for me too
+I get
+converting method Microsoft.Win32.RegistryKey:.ctor
+creating vars
+creating locals
+locals done
+method to IR Microsoft.Win32.RegistryKey:.ctor
+converting (in B2: stack: 0) IL_0000: ldarg.0   
+converting (in B2: stack: 1) IL_0001: ldsfld    0x040007d6
+converting (in B2: stack: 2) IL_0006: stfld     0x040000a6
+converting (in B2: stack: 0) IL_000b: ldarg.0   
+converting (in B2: stack: 1) IL_000c: call      0x06002aa5
+converting (in B2: stack: 2) IL_0011: stfld     0x040000a7
+INLINE START 0x81254d8 Microsoft.Win32.RegistryKey:.ctor
+(Microsoft.Win32.RegistryHive,string) -> (wrapper stfld)
+method to IR (wrapper stfld)
+converting (in B6: stack: 0) IL_0000: ldarg.0   
+converting (in B6: stack: 1) IL_0001: mono_objaddr
+converting (in B6: stack: 1) IL_0003: ldind.i   
+converting (in B6: stack: 1) IL_0004: ldc.i4.0  
+converting (in B6: stack: 2) IL_0005: add       
+converting (in B6: stack: 1) IL_0006: ldind.i   
+converting (in B6: stack: 1) IL_0007: mono_ldptr1
+converting (in B6: stack: 2) IL_000d: bne.un    IL_0042
+converting (in B9: stack: 0) IL_0012: ldarg.0   
+converting (in B9: stack: 1) IL_0013: ldarg.1   
+converting (in B9: stack: 2) IL_0014: ldarg.2   
+converting (in B9: stack: 3) IL_0015: ldarg.s   4
+converting (in B9: stack: 4) IL_0017: mono_save_lmf
+converting (in B9: stack: 4) IL_0019: mono_ldptr2
+converting (in B9: stack: 5) IL_001f: calli     0x00000003
+converting (in B9: stack: 0) IL_0024: mono_restore_lmf
+converting (in B9: stack: 0) IL_0026: mono_ldptr4
+converting (in B9: stack: 1) IL_002c: ldind.i4  
+converting (in B9: stack: 1) IL_002d: brfalse   IL_0041
+converting (in B10: stack: 0) IL_0032: mono_save_lmf
+converting (in B10: stack: 0) IL_0034: mono_ldptr5
+converting (in B10: stack: 1) IL_003a: calli     0x00000006
+converting (in B10: stack: 0) IL_003f: mono_restore_lmf
+converting (in B8: stack: 0) IL_0041: ret       
+converting (in B7: stack: 0) IL_0042: ldarg.0   
+converting (in B7: stack: 1) IL_0043: mono_objaddr
+converting (in B7: stack: 1) IL_0045: ldarg.3   
+converting (in B7: stack: 2) IL_0046: add       
+converting (in B7: stack: 1) IL_0047: ldarg.s   4
+converting (in B7: stack: 2) IL_0049: stind.i   
+converting (in B7: stack: 0) IL_004a: ret       
+INLINE ABORTED (wrapper stfld)
+** ERROR **: file mini.c: line 4322 (mono_method_to_ir): assertion
+failed: (costs > 0)
+Miguel is having trouble repro'ing