[Mono-bugs] [Bug 31265][Maj] New - Problems with GCHandle

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
26 Sep 2002 13:42:59 -0000


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 ztashev@openlinksw.co.uk.

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

--- shadow/31265	Thu Sep 26 09:42:59 2002
+++ shadow/31265.tmp.5846	Thu Sep 26 09:42:59 2002
@@ -0,0 +1,42 @@
+Bug#: 31265
+Product: Mono/Runtime
+Version: unspecified
+OS: Red Hat 6.2
+OS Details: Kernel 2.4.2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ztashev@openlinksw.co.uk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Problems with GCHandle
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+GCHandle (GCHandleType.Normal) does not return the Object it points to 
+when dereferenced from IntPtr.
+
+
+Steps to reproduce the problem:
+1. Run the attached example without command arguments to test the 
+GCHandleType.Normal
+2. Run it w/ any command arguments to test the GCHandleType.Weak 
+
+Actual Results:
+It says no object when dereferencing GCHandle.Target w/ GCHandleType.Normal
+
+Expected Results:
+GCHandleType.Normal & GCHandleType.Weak should work identically as they do 
+in Windows
+
+How often does this happen? 
+Every time
+
+Additional Information:
+The sample program (in C#)