[Mono-list] Mono draw image error?
Sebastien Pouliot
sebastien.pouliot at gmail.com
Mon Jan 28 08:19:27 EST 2008
Hey,
If possible try the same program under Mono 1.2.6. If it still happens
(or you cannot try it) then please fill a bug report @
http://www.mono-project.com/Bugs and include a test case.
Thanks
Sebastien
On Wed, 2008-01-23 at 21:54 -0600, eschneider at schneidersoft.com wrote:
> Look like Mono draw image error?
>
> E:\AAAA-Controls\Products_SS\SchneiderSoft.UIControls\TestApp\bin
> \Debug>mono.exe
>
> --debug testapp.exe
>
> Unhandled Exception: System.InvalidOperationException: The operation
> is invalid
>
> [GDI+ status: Win32Error]
>
> at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status)
> [0x00229] in C:\cy
>
> gwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class\System.Drawing
> \System.Draw
>
> ing\gdipFunctions.cs:236
>
> at System.Drawing.Graphics.DrawImage
> (System.Drawing.Image,int,int,int,int) [0x0
>
> 002a] in C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class
> \System.Drawi
>
> ng\System.Drawing\Graphics.cs:771
>
> at (wrapper remoting-invoke-with-check)
> System.Drawing.Graphics.DrawImage (Syste
>
> m.Drawing.Image,int,int,int,int) <0x0009f>
>
> at System.Drawing.Bitmap..ctor (System.Drawing.Image,int,int)
> [0x00014] in C:\cy
>
> gwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class\System.Drawing
> \System.Draw
>
> ing\Bitmap.cs:126
>
> at System.Drawing.Bitmap..ctor (System.Drawing.Image) [0x00000] in C:
> \cygwin\tmp
>
> \monobuild\build\BUILD\mono-1.2.5.2\mcs\class\System.Drawing
> \System.Drawing\Bitm
>
> ap.cs:80
>
> at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap..ctor
> (System.Draw
>
> ing.Image) <0x00029>
>
> at SchneiderSoft.UIControls.ImageAssociatedHelper.get_Image ()
> <0x0010d>
>
> at
> SchneiderSoft.UIRenderers.FactoryRenderers.CreateRendererButtonArguments (Sch
>
> neiderSoft.AbstractInterfaces.IButton) <0x000bc>
>
> at SchneiderSoft.UIControls.Button.CreateControlRendererArguments ()
> <0x00029>
>
> at SchneiderSoft.UIControls.Button.CreateListRendererArguments ()
> <0x00011>
>
> at SchneiderSoft.UIControls.Button.CreateListRendererState ()
> <0x00055>
>
> at SchneiderSoft.UIRenderers.RendererList.CreateItemRendererState
> (SchneiderSoft
>
> .AbstractInterfaces.IRendererListArguments,object) <0x0012b>
>
> at SchneiderSoft.UIRenderers.RendererList.CreateRenderList
> (SchneiderSoft.Abstra
>
> ctInterfaces.IRendererListArguments) <0x0072a>
>
> at SchneiderSoft.UIRenderers.RendererList.DrawList
> (SchneiderSoft.AbstractInterf
>
> aces.IRendererListArguments) <0x0001b>
>
> at SchneiderSoft.UIRenderers.RendererList.OnDraw
> (SchneiderSoft.AbstractInterfac
>
> es.IRendererArguments) <0x000e6>
>
> at SchneiderSoft.UIRenderers.RendererUIControlBase.Draw
> (SchneiderSoft.AbstractI
>
> nterfaces.IRendererArguments) <0x00040>
>
> at SchneiderSoft.UIControls.VisualList.OnPaint
> (System.Windows.Forms.PaintEventA
>
> rgs) <0x00715>
>
> at System.Windows.Forms.Control.WmPaint
> (System.Windows.Forms.Message&) [0x00083
>
> ] in C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class
> \Managed.Windows.
>
> Forms\System.Windows.Forms\Control.cs:5177
>
> at System.Windows.Forms.Control.WndProc
> (System.Windows.Forms.Message&) [0x0016c
>
> ] in C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class
> \Managed.Windows.
>
> Forms\System.Windows.Forms\Control.cs:4949
>
> at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&)
> [0x00000] in C:
>
> \cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class
> \Managed.Windows.Forms\S
>
> ystem.Windows.Forms\Control.cs:224
>
> at ControlNativeWindow.WndProc (System.Windows.Forms.Message&)
> [0x00000] in C:\c
>
> ygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class
> \Managed.Windows.Forms\Sys
>
> tem.Windows.Forms\Control.cs:205
>
> at System.Windows.Forms.NativeWindow.WndProc
> (intptr,System.Windows.Forms.Msg,in
>
> tptr,intptr) [0x0006b] in C:\cygwin\tmp\monobuild\build\BUILD
> \mono-1.2.5.2\mcs\c
>
> lass\Managed.Windows.Forms\System.Windows.Forms\NativeWindow.cs:183
>
> at System.Windows.Forms.XplatUIWin32.InternalWndProc
> (intptr,System.Windows.Form
>
> s.Msg,intptr,intptr) [0x0002d] in C:\cygwin\tmp\monobuild\build\BUILD
> \mono-1.2.5
>
> .2\mcs\class\Managed.Windows.Forms\System.Windows.Forms
> \XplatUIWin32.cs:1859
>
> at (wrapper native-to-managed)
> System.Windows.Forms.XplatUIWin32.InternalWndProc
>
> (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0004d>
>
> in (unmanaged) 7D9472D7
>
> at (wrapper managed-to-native)
> System.Windows.Forms.XplatUIWin32.Win32DispatchMe
>
> ssage (System.Windows.Forms.MSG&) <0x00004>
>
> at System.Windows.Forms.XplatUIWin32.DispatchMessage
> (System.Windows.Forms.MSG&)
>
> [0x00000] in C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs
> \class\Managed
>
> .Windows.Forms\System.Windows.Forms\XplatUIWin32.cs:2054
>
> at System.Windows.Forms.XplatUI.DispatchMessage
> (System.Windows.Forms.MSG&) [0x0
>
> 0000] in C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class
> \Managed.Wind
>
> ows.Forms\System.Windows.Forms\XplatUI.cs:540
>
> at System.Windows.Forms.Application.RunLoop
> (bool,System.Windows.Forms.Applicati
>
> onContext) [0x0037c] in C:\cygwin\tmp\monobuild\build\BUILD
> \mono-1.2.5.2\mcs\cla
>
> ss\Managed.Windows.Forms\System.Windows.Forms\Application.cs:747
>
> at System.Windows.Forms.Application.Run (System.Windows.Forms.Form)
> [0x00000] in
>
> C:\cygwin\tmp\monobuild\build\BUILD\mono-1.2.5.2\mcs\class
> \Managed.Windows.Form
>
> s\System.Windows.Forms\Application.cs:534
>
> at TestApp.FormMain.Main () <0x0001b>
>
>
> E:\AAAA-Controls\Products_SS\SchneiderSoft.UIControls\TestApp\bin
> \Debug>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list