[Mono-bugs] [Bug 46640][Wis] New - Running this program causes 'invalid IL error'
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Sun, 20 Jul 2003 12:23:18 -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 duncan@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=46640
--- shadow/46640 Sun Jul 20 12:23:18 2003
+++ shadow/46640.tmp.752 Sun Jul 20 12:23:18 2003
@@ -0,0 +1,42 @@
+Bug#: 46640
+Product: Mono/Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: duncan@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Running this program causes 'invalid IL error'
+
+Jimmy was asking me a while ago about this program. Build it with 'mcs
+stemmer-break.exe'.
+
+When you run it, say 'mono stemmer-break.exe foo', you get this error:
+
+diphthong:~ $ mono stemmer-break.exe foo
+
+** ERROR **: Invalid IL code at IL0000 in 00 TextIndex.Stemmer:step5 ():
+IL_0000
+: ldarg.0
+
+I did an monodis and saw that IL_0000 is:
+
+ // Method begins at RVA 0x20ec
+ // Code size 37 (0x25)
+ .maxstack 5
+--> IL_0000: ldarg.0
+ IL_0001: call instance void valuetype [corlib]System.Object::.ctor()
+
+It's been sitting in my gaim logs for a while, after having brunch with
+Jimmy, I figured I should file a bug about this.
+
+Like Jimmy said, this code is pretty goofy, it's a translation of a Java
+program that is a translation of a C program.