[Mono-bugs] [Bug 67936][Nor] New - System.Drawing no longer working on mono-1.0 branch
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 11 Oct 2004 02:30:45 -0400 (EDT)
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 gert.driesen@pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=67936
--- shadow/67936 2004-10-11 02:30:45.000000000 -0400
+++ shadow/67936.tmp.2381 2004-10-11 02:30:45.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 67936
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gert.driesen@pandora.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: System.Drawing no longer working on mono-1.0 branch
+
+I've always been using mono built from cvs (mono-1.0 branch) and
+libgdiplus built from cvs with success.
+
+However, System.Drawing now seems to be broken.
+
+I always get the following exception :
+
+Unhandled Exception: System.TypeInitializationException: An exception was
+thrown by the type initializer for System.Drawing.GDIPlus --->
+System.DllNotFoundException: gdiplus.dll
+in <0x00053> (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdiplusStartup
+(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupO
+utput&)
+in <0x00068> System.Drawing.GDIPlus:.cctor ()
+--- End of inner exception stack trace ---
+
+in (unmanaged) System.Drawing.Bitmap:InitFromFile (string)
+in <0x0003e> System.Drawing.Bitmap:InitFromFile (string)
+in <0x00056> (wrapper remoting-invoke-with-check)
+System.Drawing.Bitmap:InitFromFile (string)
+in <0x0001c> System.Drawing.Bitmap:.ctor (string,bool)
+in <0x00012> System.Drawing.Bitmap:.ctor (string)
+in <0x00056> (wrapper remoting-invoke-with-check)
+System.Drawing.Bitmap:.ctor (string)
+in <0x00020> System.Drawing.Image:FromFile (string)
+in <0x0001b> EntryPoint:Main (string[])
+
+Both libgdiplus, cairo and mono/mcs have been built successfully (and
+have been working fine until very recently)
+
+I've attached a small repro for this issue. Just use "make" to build and
+run it.