[Mono-list] Mono 1.9 (1/2/3) Generic Error [GDI+ status: GenericError]

Thomas Wiest twiest at novell.com
Tue Feb 26 18:13:22 EST 2008


Hey Timothy,
    Please file a bug and attach a testcase the reproduces the problem
(the smaller the better). It's pretty late in the release, so I'm not
sure if we'll be able to get this into 1.9. Since it's a regression,
we'll try to get the fix in.

Thanks,
Thomas



Timothy Parez wrote:
> Hi,
>
> We have Mono 1.2.9 with mod_mono and Apache2. Some pages use classes  
> from the System.Drawing namespace.
> This used to work (1.2.6), but stopped working at some point, even  
> after a clean upgrade to 1.9 (preview 1 2 and 3).
>
> Now we get the following exception:
>
> Server Error in '/' Application
> Generic Error [GDI+ status: GenericError]
>
> Description: HTTP 500. Error processing request.
>
> Stack Trace:
>
> System.Exception: Generic Error [GDI+ status: GenericError]
>    at System.Drawing.GDIPlus.CheckStatus (Status status) [0x0007c] in /
> usr/src/mono-1.9/mcs/class/System.Drawing/System.Drawing/
> gdipFunctions.cs:216
>    at System.Drawing.Image.Save (System.String filename,  
> System.Drawing.Imaging.ImageCodecInfo encoder,  
> System.Drawing.Imaging.EncoderParameters encoderParams) [0x00043] in /
> usr/src/mono-1.9/mcs/class/System.Drawing/System.Drawing/Image.cs:457
>    at System.Drawing.Image.Save (System.String filename,  
> System.Drawing.Imaging.ImageFormat format) [0x0004c] in /usr/src/
> mono-1.9/mcs/class/System.Drawing/System.Drawing/Image.cs:441
>    at System.Drawing.Image.Save (System.String filename) [0x00000] in /
> usr/src/mono-1.9/mcs/class/System.Drawing/System.Drawing/Image.cs:427
>    at (wrapper remoting-invoke-with-check) System.Drawing.Image:Save  
> (string)
>    at Arendee.ObjectBlog.GoogleImage.cacheThumbnails  
> (System.Collections.Generic.List`1 Images) [0x0012d] in /tmp/www-data-
> temp-aspnet-0/29dc6e76/App_Web_7948624_9.cs:268
>    at Arendee.ObjectBlog.GoogleImage.Get (System.String GoogleId,  
> System.String Album) [0x004e6] in /tmp/www-data-temp-aspnet-0/29dc6e76/
> App_Web_7948624_9.cs:227
>    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)  
> [0x00055] in /usr/src/mono-1.9/mcs/class/corlib/System.Reflection/
> MonoMethod.cs:149
>
> Version information: Mono Version: 2.0.50727.42; ASP.NET Version:  
> 2.0.50727.42
>
> What could be causing this?
> What other information can I give you to trace it down?
>
> Timothy.
_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list




More information about the Mono-list mailing list