[Mono-bugs] [Bug 73001][Blo] Changed - StreamGetBytesImpl Delegates are being garbage collected prematurely.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 25 Feb 2005 17:12:03 -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 grompf@sublimeintervention.com.

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

--- shadow/73001	2005-02-25 17:03:27.000000000 -0500
+++ shadow/73001.tmp.3548	2005-02-25 17:12:03.000000000 -0500
@@ -115,6 +115,11 @@
 If you run mono test.exe foo; the GCHandle is created which prevents finalization of the 
 delegate and the code works as expected; otherwise the delegate falls out of scope before 
 the pinvoke.
 
 Please note this happens on X86 && AMD64 but not PPC.  This also only occurs with 
 pinvoked delegates.
+
+------- Additional Comments From grompf@sublimeintervention.com  2005-02-25 17:12 -------
+Created an attachment (id=14419)
+additional testcase with GC.KeepAlive (still fails)
+