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

Timothy Parez timothyparez at gmail.com
Tue Feb 26 07:51:17 EST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHxAtF+j5y+etesF8RAoWyAKDJbVzQT4g91RZk/8TQWGiJoaMybgCfS9SF
DxhS4IandYrxf3PqyM+E6iQ=
=f9aR
-----END PGP SIGNATURE-----


More information about the Mono-list mailing list