[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gdiplus problem



HI,

I attached a small monodevelop solution containing a small sample
which draws a pentagon. It works on ubuntu 10.04 but it does not in
ubuntu 10.10.

Thanks for looking a that!
Matteo


On Thu, Sep 30, 2010 at 11:41 AM, Jo Shields <directhex@apebox.org> wrote:
> On Thu, 2010-09-30 at 11:15 +0100, matteo tesser wrote:
>> 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?
>
> It would help to post your test-case, so we can try to reproduce the
> issue
>
>> I noticed that libgdiplus version is 2.6.7-2 while other mono
>> components are 2.6.7-3.
>
> That's normal packaging stuff.
>

Attachment: drawpolytest.tar.gz
Description: GNU Zip compressed data


Reply to: