[Mono-bugs] [Bug 650454] New: gdi plus problem on FillPolygon

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 1 07:51:44 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=650454

https://bugzilla.novell.com/show_bug.cgi?id=650454#c0


           Summary: gdi plus problem on FillPolygon
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: i686
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: libgdiplus
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: matteo.tesser at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=397950)
 --> (http://bugzilla.novell.com/attachment.cgi?id=397950)
correct behavior

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.12)
Gecko/20101026 Firefox/3.6.12 GTB7.1 ( .NET CLR 3.5.30729; .NET4.0C)

Simple Windows.Forms app drawing a polygon fails on ubuntu 10.10 + mono 2.6.7
(It works on previous ubuntu versions and on the other systems)

I attached a test case reproducing the bug

DistroRelease: Ubuntu 10.10
Package: libgdiplus 2.6.7-2

PS: The bug have been reported also here.
https://bugs.launchpad.net/ubuntu/+bug/652112


Reproducible: Always

Steps to Reproduce:
1.  compile the sample:gmcs testdrawpoly.cs  -r:System.Windows.Forms.dll
-r:System.Drawing.dll
2.  run the sample
Actual Results:  
The sample crashes showing the following error:

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[])

Expected Results:  
A form showing a pentagon (see attached image)

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list