[Mono-bugs] [Bug 70173][Maj] Changed - Delegate on int.ToString returns junk
Fri, 3 Dec 2004 09:16:06 -0500 (EST)
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 firstname.lastname@example.org.
--- shadow/70173 2004-12-03 02:13:41.000000000 -0500
+++ shadow/70173.tmp.15037 2004-12-03 09:16:06.000000000 -0500
@@ -1,23 +1,23 @@
Product: Mono: Runtime
OS Details: NLD9, SLP9.1, SLP 9.2
-Summary: Delegates mono ./ execution.
+Summary: Delegate on int.ToString returns junk
Please fill in this template when reporting a bug, unless you know what
you are doing.
Description of Problem:
There is a difference in the way you execute the following code.
Following code works well when "./delegate.exe" is used, but when "mono
@@ -54,6 +54,20 @@
How often does this happen?
+------- Additional Comments From email@example.com 2004-12-03 09:16 -------
+So you have kernel hack to execute mono? If so, what version of mono
+is it executing. Maybe you have something old left over.
+Or are you running on cygwin. If this is the case, it is mono vs msft.
+Whatever it is, this looks like a problem with how we get the method.
+What is probably happening is that ldftn is getting the function that
+expects a valuetype. This would be fine, but looking at the delegate
+code, it seems that we evaluate it as a boxed object. We probably
+need ldftn to return the unboxing wrapper. 134542488 is probably the
+address of the int32 vtable.