[Mono-bugs] [Bug 335739] Closing an image Stream causes GDI fault

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 22 14:14:59 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=335739#c2


Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
           Severity|Normal                                          |Minor




--- Comment #2 from Sebastien Pouliot <spouliot at novell.com>  2007-10-22 12:14:59 MST ---
Short answer: While this particular case works MS documentation requires the
stream to be open while the image is in use. 

Long answer: GDI+ DrawImage fails because it's missing some data and the stream
isn't available anymore to get it. Somewhere MS System.Drawing must be calling
"something" that cache those information, so the Draw call later succeed.
Mono's SD doesn't so you get a crash.

I'm keeping it open (we should emulate the behavior) but lowering it's severity
to Minor (it's not the way it should be done).


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list