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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78766 --- shadow/78766 2006-07-05 10:45:50.000000000 -0400 +++ shadow/78766.tmp.11049 2006-07-05 10:45:50.000000000 -0400 @@ -0,0 +1,55 @@ +Bug#: 78766 +Product: Mono: Class Libraries +Version: 1.1 +OS: unknown +OS Details: linux +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: System.Drawing.Image:Dispose exception + +Description of Problem: +Fatal error + +in (wrapper managed-to-native) System.Drawing.GDIPlus:GdipDisposeImage +(intptr)<0x4> +in (wrapper managed-to-native) System.Drawing.GDIPlus:GdipDisposeImage +(intptr)<0xffffffd8> +in System.Drawing.Image:DisposeResources () <0x10> +in System.Drawing.Image:Dispose (bool) <0x13> +in System.Drawing.Image:Finalize () <0x10> +in (wrapper runtime-invoke) System.Object:runtime_invoke_void +(object,intptr,intptr,intptr) <0x6df8b2b0> + + +Steps to reproduce the problem: +1. +System.Drawing.Image img; +img=System.Drawing.Image.FromFile(.......); +. +. +. +if (img.Flags==73744) { + img.Dispose(); // exception +} else { + img.Dispose(); // ok +} + +Actual Results: +Exception + +Expected Results: +ok + +How often does this happen? + + +Additional Information: _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
