[Mono-bugs] [Bug 80772][Cri] New - Accidentally System.DllNotFoundException: gdiplus.dll

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Feb 9 10:04:11 EST 2007


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 dna at informatik.uni-kiel.de.

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

--- shadow/80772	2007-02-09 10:04:11.000000000 -0500
+++ shadow/80772.tmp.30873	2007-02-09 10:04:11.000000000 -0500
@@ -0,0 +1,139 @@
+Bug#: 80772
+Product: Mono: Class Libraries
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: Debian etch on vServer Linux
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Critical
+Component: Sys.Web
+AssignedTo: grendello at gmail.com                            
+ReportedBy: dna at informatik.uni-kiel.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Accidentally System.DllNotFoundException: gdiplus.dll
+
+Description of Problem:
+Using one of the LoginControls like Login oder RecoverPassword or Register
+on a ASP.NET page. Accidentally a got following crash:
+
+Server error in '/' application
+Description: Error processing request.
+
+Error Message: HTTP 500.
+
+Stack Trace:
+
+System.Reflection.TargetInvocationException: Exception has been thrown by
+the target of an invocation. ---> System.TypeInitializationException: An
+exception was thrown by the type initializer for
+System.Drawing.SystemColors ---> System.TypeInitializationException: An
+exception was thrown by the type initializer for System.Drawing.GDIPlus
+---> System.DllNotFoundException: gdiplus.dll
+  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
+(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
+  at System.Drawing.GDIPlus..cctor () [0x00000] --- End of inner exception
+stack trace ---
+
+  at <0x00000> <unknown method>
+  at System.Drawing.SystemColors..cctor () [0x00000] --- End of inner
+exception stack trace ---
+
+  at <0x00000> <unknown method>
+  at (wrapper managed-to-native)
+System.Reflection.MonoMethod:InternalInvoke (object,object[])
+  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
+invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
+System.Globalization.CultureInfo culture) [0x00000] --- End of inner
+exception stack trace ---
+
+  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
+invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
+System.Globalization.CultureInfo culture) [0x00000] 
+  at System.Reflection.MonoProperty.GetValue (System.Object obj,
+BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[]
+index, System.Globalization.CultureInfo culture) [0x00000] 
+  at System.Reflection.PropertyInfo.GetValue (System.Object obj,
+System.Object[] index) [0x00000] 
+  at System.Drawing.Color.GetColorHashtableFromType (System.Type type)
+[0x00000] 
+  at System.Drawing.Color.FillColorNames () [0x00000] 
+  at System.Drawing.Color.FromKnownColor (KnownColor c) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ColorFormatter.Read (Byte token,
+System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+HashtableFormatter.Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectArrayFormatter.Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte token,
+System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte token,
+System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte token,
+System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte token,
+System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ArrayListFormatter.Read (Byte
+token, System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+TripletFormatter.Read (Byte token,
+System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+PairFormatter.Read (Byte token,
+System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+PairFormatter.Read (Byte token,
+System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter+ObjectFormatter.ReadObject
+(System.IO.BinaryReader r, System.Web.UI.ReaderContext ctx) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter.DeserializeObject
+(System.IO.BinaryReader r) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter.Deserialize (System.IO.Stream
+inputStream) [0x00000] 
+  at System.Web.UI.ObjectStateFormatter.Deserialize (System.String
+inputString) [0x00000] 
+  at System.Web.UI.HiddenFieldPageStatePersister.Load () [0x00000] 
+  at System.Web.UI.Page.LoadPageStateFromPersistenceMedium () [0x00000] 
+  at System.Web.UI.Page.LoadPageViewState () [0x00000] 
+  at System.Web.UI.Page.InternalProcessRequest () [0x00000] 
+  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
+[0x00000] 
+
+libgdipus is installed and after a reload of the page it works without a
+exception. I also can't reproduce it, because it comes accidentally.
+
+I got this with 1.2.3 and r72533 from svn head.
+
+Using Apache 2.2 with mod_mono and XSP2.


More information about the mono-bugs mailing list