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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 24 Feb 2005 21:21:51 -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 scott.mohekey@telogis.com.

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

--- shadow/73001	2005-02-24 21:21:51.000000000 -0500
+++ shadow/73001.tmp.19108	2005-02-24 21:21:51.000000000 -0500
@@ -0,0 +1,41 @@
+Bug#: 73001
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: GC
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: scott.mohekey@telogis.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: Delegates are being garbage collected prematurely.
+
+Description of Problem:
+Delegates are being garbage collected prematurely.
+
+Steps to reproduce the problem:
+1. Create an instance of System.Drawing.Image from a stream. (FromStream)
+
+Actual Results:
+** ERROR **: Unmanaged code called delegate of type
+System.Drawing.GDIPlus/GdiPlusStreamHelper.StreamGetBytesImpl which was
+already garbage collected.
+See http://www.go-mono.com/delegate.html for an explanation and ways to fix
+this.
+aborting...
+Killed
+
+
+Expected Results:
+An instance of Image...
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+Attachments to follow.