On Sat, Apr 19, 2008 at 9:49 PM, Sebastien Pouliot <[EMAIL PROTECTED]> wrote: > Hello Ivan, > > > > On Sat, 2008-04-19 at 20:45 +0100, Ivan N. Zlatev wrote: > > Hi Sebastien, > > > > Your libgdiplus commit in revision 100945 regresses rectangles drawing > > in MWF. They are drawn off by a pixel or so. > > Cairo 1.6 changed (at least) how their AA works. Reverting this would > produce other regressions (SD has unit tests for old bugs similar to > this). Please provide me with a test case so I can make sure to fix this > one without breaking old ones. >
I have opened up a bug ( https://bugzilla.novell.com/show_bug.cgi?id=381737 ) assigned to you, so we can better track this. Also, do you have any clue why would I get the following failures[1], considering that I am running the tests on a machine with 3GB of ram? Thanks, Ivan [1] Test Failures 2) MonoTests.System.Windows.Forms.ButtonTest.ImageTest : System.OutOfMemoryException : Not enough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x000be] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:222 at System.Drawing.Image.FromFile (System.String filename, Boolean useEmbeddedColorManagement) [0x0002f] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:116 at System.Drawing.Image.FromFile (System.String filename) [0x00000] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:101 at MonoTests.System.Windows.Forms.ButtonTest.ImageTest () [0x0000d] in /home/ivanz/src/svn/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ButtonTest.cs:227 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00057] in /home/ivanz/src/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 3) MonoTests.System.Windows.Forms.ButtonTest.ImageListTest : System.OutOfMemoryException : Not enough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x000be] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:222 at System.Drawing.Image.FromFile (System.String filename, Boolean useEmbeddedColorManagement) [0x0002f] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:116 at System.Drawing.Image.FromFile (System.String filename) [0x00000] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:101 at MonoTests.System.Windows.Forms.ButtonTest.ImageListTest () [0x00006] in /home/ivanz/src/svn/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ButtonTest.cs:235 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00057] in /home/ivanz/src/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 4) MonoTests.System.Windows.Forms.EventClass.BgrndImageChangedTest : System.OutOfMemoryException : Not enough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x000be] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:222 at System.Drawing.Image.FromFile (System.String filename, Boolean useEmbeddedColorManagement) [0x0002f] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:116 at System.Drawing.Image.FromFile (System.String filename) [0x00000] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:101 at MonoTests.System.Windows.Forms.EventClass.BgrndImageChangedTest () [0x00024] in /home/ivanz/src/svn/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ControlEventTest.cs:38 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00057] in /home/ivanz/src/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 5) MonoTests.System.Windows.Forms.ImageListTest.ImageListPropertyTest : System.OutOfMemoryException : Not enough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x000be] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:222 at System.Drawing.Image.FromFile (System.String filename, Boolean useEmbeddedColorManagement) [0x0002f] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:116 at System.Drawing.Image.FromFile (System.String filename) [0x00000] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:101 at MonoTests.System.Windows.Forms.ImageListTest.ImageListPropertyTest () [0x000c4] in /home/ivanz/src/svn/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ImageListTest.cs:42 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00057] in /home/ivanz/src/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 6) MonoTests.System.Windows.Forms.ImageListTest.ImageListComponentModelTest : System.OutOfMemoryException : Not enough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x000be] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:222 at System.Drawing.Image.FromFile (System.String filename, Boolean useEmbeddedColorManagement) [0x0002f] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:116 at System.Drawing.Image.FromFile (System.String filename) [0x00000] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:101 at MonoTests.System.Windows.Forms.ImageListTest.ImageListComponentModelTest () [0x0014c] in /home/ivanz/src/svn/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ImageListTest.cs:89 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00057] in /home/ivanz/src/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 7) MonoTests.System.Windows.Forms.ImageListTest+ImageListRecreateHandleEventClass.RecreateHandleEvenTest : System.OutOfMemoryException : Not enough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x000be] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:222 at System.Drawing.Image.FromFile (System.String filename, Boolean useEmbeddedColorManagement) [0x0002f] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:116 at System.Drawing.Image.FromFile (System.String filename) [0x00000] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:101 at MonoTests.System.Windows.Forms.ImageListTest+ImageListRecreateHandleEventClass.RecreateHandleEvenTest () [0x00015] in /home/ivanz/src/svn/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ImageListTest.cs:188 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00057] in /home/ivanz/src/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 8) MonoTests.System.Windows.Forms.PictureBoxTest.ImagePropertyTest : System.OutOfMemoryException : Not enough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x000be] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:222 at System.Drawing.Image.FromFile (System.String filename, Boolean useEmbeddedColorManagement) [0x0002f] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:116 at System.Drawing.Image.FromFile (System.String filename) [0x00000] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:101 at MonoTests.System.Windows.Forms.PictureBoxTest.ImagePropertyTest () [0x00017] in /home/ivanz/src/svn/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/PictureBoxTest.cs:49 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00057] in /home/ivanz/src/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 9) MonoTests.System.Windows.Forms.ProgressBarTest.ProgressBarPropertyTest : System.OutOfMemoryException : Not enough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x000be] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:222 at System.Drawing.Image.FromFile (System.String filename, Boolean useEmbeddedColorManagement) [0x0002f] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:116 at System.Drawing.Image.FromFile (System.String filename) [0x00000] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:101 at MonoTests.System.Windows.Forms.ProgressBarTest.ProgressBarPropertyTest () [0x00055] in /home/ivanz/src/svn/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ProgressBarTest.cs:33 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00057] in /home/ivanz/src/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 10) MonoTests.System.Windows.Forms.RichTextBoxTest.RichTextBoxPropertyTest : System.OutOfMemoryException : Not enough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x000be] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:222 at System.Drawing.Image.FromFile (System.String filename, Boolean useEmbeddedColorManagement) [0x0002f] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:116 at System.Drawing.Image.FromFile (System.String filename) [0x00000] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:101 at MonoTests.System.Windows.Forms.RichTextBoxTest.RichTextBoxPropertyTest () [0x00091] in /home/ivanz/src/svn/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/RichTextBoxTest.cs:41 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00057] in /home/ivanz/src/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 11) MonoTests.System.Windows.Forms.ToolBarTest.ToolBarPropertyTest : System.OutOfMemoryException : Not enough memory to complete operation [GDI+ status: OutOfMemory] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x000be] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/gdipFunctions.cs:222 at System.Drawing.Image.FromFile (System.String filename, Boolean useEmbeddedColorManagement) [0x0002f] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:116 at System.Drawing.Image.FromFile (System.String filename) [0x00000] in /home/ivanz/src/svn/mcs/class/System.Drawing/System.Drawing/Image.cs:101 at MonoTests.System.Windows.Forms.ToolBarTest.ToolBarPropertyTest () [0x000af] in /home/ivanz/src/svn/mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ToolBarTest.cs:49 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00057] in /home/ivanz/src/svn/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
