gdiplus problem
Hi,
Sorry if this is the wrong list: I have problems wtih a custom
application which I'm porting to various platforms. It works fine on
many platforms which ship mono such as Ubuntu 10.04 + mono 2.4 /
OpenSuse 11.3 + mono 2.6.7 /OSX+ Mono 2.6.7, but it does not work on
Ubuntu 10.10 beta (updated at 30 september) .
On Ubuntu 10.10 beta, when a very small polygon is drawn, I obtain an
error with the following stack trace (both on 32 bit and 64 bit
machines):
Message:Not enough memory to complete operation [GDI+ status: OutOfMemory]
Source:System.Drawing
StackTrace: at System.Drawing.GDIPlus.CheckStatus (Status status)
[0x00000] in <filename unknown>:0
at System.Drawing.Graphics.FillPolygon (System.Drawing.Brush brush,
System.Drawing.Point[] points) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check)
System.Drawing.Graphics:FillPolygon
(System.Drawing.Brush,System.Drawing.Point[])
Given that the same CLI code works on the other platforms, may this
be caused by something wrong in the mono-libraries shipped with the
new Ubuntu? maybe an old/wrong version of the underlying libgdiplus?
I noticed that libgdiplus version is 2.6.7-2 while other mono
components are 2.6.7-3.
Thanks,
Matteo
Reply to: