[Mono-bugs] [Bug 70173][Maj] Changed - Delegate on int.ToString returns junk

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
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 bmaurer@users.sf.net.


--- 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 @@
 Bug#: 70173
 Product: Mono: Runtime
 Version: 1.0
+OS: unknown
 OS Details: NLD9, SLP9.1, SLP 9.2
 Status: NEW   
-Priority: Wishlist
+Severity: Unknown
+Priority: Major
 Component: JIT
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: lists@munshi.biz               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
-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 Information:
+------- Additional Comments From bmaurer@users.sf.net  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.