[Mono-bugs] [Bug 59525][Blo] Changed - Invalid IL code IL0037

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 7 Jun 2004 23:42:45 -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 michi@zeroc.com.

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

--- shadow/59525	2004-06-03 07:47:03.000000000 -0400
+++ shadow/59525.tmp.28719	2004-06-07 23:42:45.000000000 -0400
@@ -28,6 +28,52 @@
 
 Michi.
 
 ------- Additional Comments From bmaurer@users.sf.net  2004-06-03 07:47 -------
 yes, we need the source. Also, it would help to copy + paste the
 method in question.
+
+------- Additional Comments From michi@zeroc.com  2004-06-07 23:42 -------
+OK, this is the method that causes the problem:
+
+public void __rethrowException(LocalException ex)
+{
+    lock(this)
+    {
+        _delegate = null;
+
+        if(_reference.locatorInfo != null)
+        {
+            _reference.locatorInfo.clearObjectCache(_reference);
+        }
+
+        throw ex;
+    }
+}
+
+I have placed a complete archive with the source at
+http://www.zeroc.com/download/Icicle.tar.gz
+
+To reproduce the problem, unpack the archive. Then do a
+find . -name '*.cs' -print | xargs touch
+
+That's to make sure that the .cs files are newer than any .ice files.
+(If the .ice files are newer, the makefiles will try to run the code
+generator, and I'd rather not put you through building that as well.)
+
+Then run a make in the top-level directory. (You need to have mcs in
+your path.) When the build is done, go to test/Ice/operations.
+In a window, run
+
+MONO_PATH=<source root>/lib mono server.exe
+
+In another window, run
+
+MONO_PATH=<source root>/lib mono client.exe
+
+The problem occurs in the client.
+
+(BTW, the same code compiles and runs fine under Visual C#.)
+
+Cheers,
+
+Michi.