[Mono-bugs] [Bug 29374][Nor] New - infinite loop with marshal2.cs

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
23 Aug 2002 15:28:35 -0000

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 lupus@ximian.com.


--- shadow/29374	Fri Aug 23 11:28:35 2002
+++ shadow/29374.tmp.23340	Fri Aug 23 11:28:35 2002
@@ -0,0 +1,37 @@
+Bug#: 29374
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lupus@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: infinite loop with marshal2.cs
+marshal2.cs in mono/mono/tests doesn't compile with mcs running with the ms
+runtime (it seems to just sit there like in an infinite loop or a wait).
+With the mono runtime it gives an exception:
+Unhandled Exception: System.IndexOutOfRangeException: Array index is out of
+in <0x00066> 00 System.Reflection.Emit.TypeBuilder:string_from_bytes
+in <0x0031a> 00 System.Reflection.Emit.TypeBuilder:SetCustomAttribute
+in <0x0086f> 00 Mono.CSharp.Attribute:ApplyAttributes
+in <0x0088b> 00 Mono.CSharp.TypeContainer:Emit ()
+in <0x004f5> 00 Mono.CSharp.RootContext:EmitCode ()
+in <0x00833> 00 Mono.CSharp.Driver:MainDriver (string[])
+in <0x00019> 00 Mono.CSharp.Driver:Main (string[])
+Though that may be a bug in reflection I'd prefer to debug it knowing mcs
+can compile it fine.