[Mono-bugs] [Bug 77862][Blo] New - System.Drawing in XSP on OSX86 fails in GDIPlus.CheckStatus with "Out of Memory"

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Mar 21 00:30:08 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by seanhig at geminibay.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77862

--- shadow/77862	2006-03-21 00:30:08.000000000 -0500
+++ shadow/77862.tmp.5473	2006-03-21 00:30:08.000000000 -0500
@@ -0,0 +1,86 @@
+Bug#: 77862
+Product: Mono: Class Libraries
+Version: 1.1
+OS: other
+OS Details: OSX x86
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: libgdiplus
+AssignedTo: jordi at ximian.com                            
+ReportedBy: seanhig at geminibay.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.Drawing in XSP on OSX86 fails in GDIPlus.CheckStatus with "Out of Memory"
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+
+After getting XSP running on OSX86 (Macbook, 10.4.5) I get the following exception when 
+loading a page that uses System.Drawing.  I have included two different stacktraces from two 
+different GDI functions.
+
+This was tested using a build of 58213 with the fixes from 77790 (and 77810).
+
+Both of these pages work fine on OSX PPC using the current release build of Mono for that 
+platform.
+
+Steps to reproduce the problem:
+1. Create an ASP.NET page that uses System.Drawing
+2. Observe the output.
+3. 
+
+Actual Results:
+System.OutOfMemoryException: Out of memory.
+in <0x000d9> System.Drawing.GDIPlus:CheckStatus (Status status)
+in <0x000e3> System.Drawing.Graphics:FillPie (System.Drawing.Brush brush, Rectangle rect, 
+Single startAngle, Single sweepAngle)
+in (wrapper remoting-invoke-with-check) System.Drawing.Graphics:FillPie 
+(System.Drawing.Brush,System.Drawing.Rectangle,single,single)
+in <0x0087d> Org.NFreeCharts.Piechart:drawChart (System.Drawing.Graphics g, Rectangle 
+bound)
+in <0x00164> Org.NFreeCharts.AbstractChart:draw (System.Drawing.Graphics g)
+in <0x0009c> Org.NFreeCharts.AbstractChartPage:Page_Load (System.Object sender, 
+System.EventArgs e)
+in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs 
+(object,System.EventArgs)
+in <0x0014a> System.Web.UI.Control:OnLoad (System.EventArgs e)
+in <0x0011c> System.Web.UI.Control:LoadRecursive ()
+in <0x00166> System.Web.UI.Page:InternalProcessRequest ()
+in <0x000c3> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context
+
+or:
+
+System.OutOfMemoryException: Out of memory.
+in <0x000d9> System.Drawing.GDIPlus:CheckStatus (Status status)
+in <0x00055> System.Drawing.Graphics:FillPolygon (System.Drawing.Brush brush, 
+System.Drawing.Point[] points)
+in (wrapper remoting-invoke-with-check) System.Drawing.Graphics:FillPolygon 
+(System.Drawing.Brush,System.Drawing.Point[])
+in <0x00596> Org.NFreeCharts.CartesianChart:drawCartesianPlane (System.Drawing.Graphics g, 
+Rectangle bound)
+in <0x00031> Org.NFreeCharts.CartesianChart:drawChart (System.Drawing.Graphics g, 
+Rectangle bound)
+in <0x00164> Org.NFreeCharts.AbstractChart:draw (System.Drawing.Graphics g)
+in <0x0009c> Org.NFreeCharts.AbstractChartPage:Page_Load (System.Object sender, 
+System.EventArgs e)
+in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs 
+(object,System.EventArgs)
+in <0x0014a> System.Web.UI.Control:OnLoad (System.EventArgs e)
+in <0x0011c> System.Web.UI.Control:LoadRecursive ()
+in <0x00166> System.Web.UI.Page:InternalProcessRequest ()
+in <0x000c3> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)
+
+Expected Results:
+
+
+How often does this happen? 
+
+on any page that uses System.Drawing
+
+Additional Information:
+
+Nothing in the xsp debug output... just the stacktrace.


More information about the mono-bugs mailing list