[Mono-bugs] [Bug 78877][Nor] Changed - [PATCH] Can't assign to WeakReference.Target

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jul 28 07:29:39 EDT 2006

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 robertj at gmx.net.


--- shadow/78877	2006-07-17 07:28:51.000000000 -0400
+++ shadow/78877.tmp.24252	2006-07-28 07:29:38.000000000 -0400
@@ -10,13 +10,13 @@
 Component: GC
 AssignedTo: lupus at ximian.com                            
 ReportedBy: anto.cuni at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
-Summary: Can't assign to WeakReference.Target
+Summary: [PATCH] Can't assign to WeakReference.Target
 Description of Problem:
 The runtime crashes when trying to assign the Target field of a WeakReference.
 Steps to reproduce the problem:
@@ -91,6 +91,17 @@
 Additional Information:
 Tested on linux with Mono and 1.1.15, and on Windows with It always crashes.
 With Microsoft CLR it works fine.
+------- Additional Comments From robertj at gmx.net  2006-07-28 07:29 -------
+Actually it's GChandle, respectively its indirect internal call
+to mono_gchandle_set_target, that doesn't support the remapping
+of null handles.
+It's probably easier to solve this in the managed world
+instead of modifying the GC.
+Is this ok?

More information about the mono-bugs mailing list