[Mono-bugs] [Bug 77896][Maj] New - resgen can't compile a resource file with a background image

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Mar 24 08:44:23 EST 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 don at edvalson.net.

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

--- shadow/77896	2006-03-24 08:44:23.000000000 -0500
+++ shadow/77896.tmp.23529	2006-03-24 08:44:23.000000000 -0500
@@ -0,0 +1,36 @@
+Bug#: 77896
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: Windows XP SP2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: don at edvalson.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: resgen can't compile a resource file with a background image
+
+This bug is fairly new, it wasn't there about two weeks ago, it is there 
+now, sorry I don't have a more specific date.
+
+If you try to compile an application that has a background image for a 
+form, regen crashes. Here is the output:
+
+C:\Don\MonoTest2>resgen form1.resx
+Error: Exception has been thrown by the target of an invocation.
+Inner exception: Invalid IL code in (wrapper managed-to-native) 
+System.Drawing.GDIPlus:GdipLoadImage
+FromStream (System.Runtime.InteropServices.UCOMIStream,intptr&): IL_0010: 
+call      0x00000002
+
+The test application that I created and attached to bug 77745 will 
+demonstrate this bug.
+
+I think the problem is actually in System.Drawing.GDIPlus, as I have seen 
+similar crashes trying to run programs in mono.


More information about the mono-bugs mailing list