[Mono-bugs] [Bug 78943][Nor] New - CLR via C#, chapter 16, example 3: invalid IL generated crash
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Jul 25 02:26:20 EDT 2006
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 matt at use.net.
http://bugzilla.ximian.com/show_bug.cgi?id=78943
--- shadow/78943 2006-07-25 02:26:20.000000000 -0400
+++ shadow/78943.tmp.10049 2006-07-25 02:26:20.000000000 -0400
@@ -0,0 +1,64 @@
+Bug#: 78943
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: matt at use.net
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: CLR via C#, chapter 16, example 3: invalid IL generated crash
+
+Steps to reproduce the problem:
+1. compile and run the attached file using gmcs
+
+Actual Results:
+crash.
+matt at pretention:~/src/CLRviaCS/Part 4-Essential Types/Ch16-Generics$ gmcs
+03-OpenTypes/OpenTypes.cs
+
+Unhandled Exception: System.Reflection.TargetInvocationException:
+Exception has been thrown by the target of an invocation. --->
+System.InvalidProgramException: Invalid IL code in
+System.Collections.Generic.Dictionary`2:.ctor (): IL_000a: call
+0x0a000065
+
+
+ at <0x00000> <unknown method>
+ at (wrapper managed-to-native)
+System.Reflection.MonoCMethod:InternalInvoke (object,object[])
+ at System.Reflection.MonoCMethod.Invoke (System.Object obj,
+BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[]
+parameters, System.Globalization.CultureInfo culture) [0x00040]
+in /home/matt/src/mcs/class/corlib/System.Reflection/MonoMethod.cs:362 ---
+End of inner exception stack trace ---
+
+ at System.Reflection.MonoCMethod.Invoke (System.Object obj,
+BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[]
+parameters, System.Globalization.CultureInfo culture) [0x00065]
+in /home/matt/src/mcs/class/corlib/System.Reflection/MonoMethod.cs:368
+ at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr,
+System.Reflection.Binder binder, System.Object[] parameters,
+System.Globalization.CultureInfo culture) [0x00000]
+in /home/matt/src/mcs/class/corlib/System.Reflection/MonoMethod.cs:373
+ at System.Reflection.ConstructorInfo.Invoke (System.Object[]
+parameters) [0x0000f]
+in /home/matt/src/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77
+ at System.Activator.CreateInstance (System.Type type, Boolean
+nonPublic) [0x00063]
+in /home/matt/src/mcs/class/corlib/System/Activator.cs:248
+ at System.Activator.CreateInstance (System.Type type) [0x00000]
+in /home/matt/src/mcs/class/corlib/System/Activator.cs:161
+ at Program.CreateInstance (System.Type t) [0x00000]
+ at Program.Main () [0x00000]
+
+
+Expected Results:
+should run with expected output in the book
More information about the mono-bugs
mailing list