[Mono-bugs] [Bug 44279][Nor] New - Custom marshaling return type fails

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sat, 7 Jun 2003 01:10:16 -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 mathpup@mylinuxisp.com.

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

--- shadow/44279	Sat Jun  7 01:10:16 2003
+++ shadow/44279.tmp.31954	Sat Jun  7 01:10:16 2003
@@ -0,0 +1,53 @@
+Bug#: 44279
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mathpup@mylinuxisp.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Custom marshaling return type fails
+
+Description of Problem: 
+ 
+Custom marshaling the return type works one direction (using 
+MarshalManagedToNative) but fails in the other direction. 
+ 
+ 
+Steps to reproduce the problem: 
+1. c++ -shared -o libtest.so MyMarshal.cpp 
+2. mcs MyMarshal-4.cs 
+3. mono MyMarshal-4.exe 
+ 
+ 
+Actual Results: 
+ 
+** (MyMarshal-4.exe:2348): WARNING **: marshalling conversion not implemented 
+ 
+** ERROR **: file marshal.c: line 2967 (mono_marshal_get_native_wrapper): 
+should not be reached 
+ 
+ 
+Expected Results: 
+ 
+s = *ABC* 
+ 
+ 
+How often does this happen?  
+ 
+Always 
+ 
+ 
+Additional Information: 
+ 
+I'm attaching test cases. The version of MyMarshal.cpp is different from the one 
+attached to the initial bug report about custom marshalers. (I wasn't sure whether to 
+reopen the initial bug report or to file a new one.)