[Mono-bugs] [Bug 47842][Nor] New - incorrect vtable method assignment for native methods with wrappers

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 22 Aug 2003 19:05:00 -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 l_m@pacbell.net.

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

--- shadow/47842	2003-08-22 19:05:00.000000000 -0400
+++ shadow/47842.tmp.19795	2003-08-22 19:05:00.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 47842
+Product: Mono/Runtime
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: l_m@pacbell.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: incorrect vtable method assignment for native methods with wrappers
+
+Description of Problem:
+If a native method needs a wrapper (for example Testing:printInt in 
+marshal9.cs) and mono_arch_has_unwind_info (fptr) returns TRUE then the 
+wrapper will not get created and the direct pointer to the native method 
+will be stored instead.
+
+Steps to reproduce the problem:
+1. always return TRUE in mono_arch_has_unwind_info ()
+2. run mono marchal9.exe
+
+Actual Results:
+The CustomMarshaler will not be called
+
+Expected Results:
+Should call the CustomMarshaler
+
+How often does this happen? 
+Always