[Mono-dev] windows.form regression with mono 2.8.1

matteo tesser matteo.tesser at gmail.com
Fri Nov 19 06:33:48 EST 2010


Hi, I do not understood I'm the only one who suffers from this bug, or
is someone else experiencing it?

To your information, in my develpment machine I have setup a parallel
mono environment, but I do not think this causing side effects because
 I tried the sample in an power-pc mac and I obtain the same error.

Matteo



On Thu, Nov 18, 2010 at 9:53 PM, Stifu <stifu at free.fr> wrote:
>
> Ralph, even if they include your fixes (and they hopefully will, despite the
> fact they won't be easy to review in their current form), these fixes most
> likely wouldn't make it in a minor release. So, not before Mono 2.10 at the
> earliest.
>
> Still, that doesn't explain the regression from 2.8 to 2.8.1... There were
> apparently no WinForms fixes, and the only Mac-specific change seems to be
> "GetProcessById now works on Mac".
>
>
> Ralph Leckett wrote:
>>
>> I tried this on my version of Mono with all my fixes to version 2.8
>> and it worked fine. My fixes were submitted to the Mono team on Oct 30
>> but none of it has made it to version 2.8.1 which is more my fault
>> than theirs. To be honest, I have forgotten all the bugs that I fixed.
>> I do remember that there were a lot of them.
>>
>> Ralph
>>
>>
>> On 11/18/10, matteo tesser <matteo.tesser at gmail.com> wrote:
>>> Hello,
>>> I tried to run this simple program on osx 10.6 and mono 2.8.1
>>>
>>> //*****************
>>> using System;
>>> using System.Windows.Forms;
>>> class myform:Form
>>> {
>>>  static void Main(string[] args) {
>>>    Application.Run( new myform());
>>>  }
>>> }
>>> //**************************
>>>
>>> mono crashes showing the stack trace reported below. I think it is
>>> quite severe, so I posted a bug
>>>
>>> https://bugzilla.novell.com/show_bug.cgi?id=654561
>>>
>>> note that when  MONO_MWF_MAC_FORCE_X11 is set to one, it works.
>>>
>>> Thanks
>>> Matteo
>>>
>>> Stack Trace:
>>>
>>> Unhandled Exception: System.NullReferenceException: Object reference
>>> not set to an instance of an object
>>>  at System.Drawing.Graphics.Dispose () [0x00000] in <filename unknown>:0
>>>  at (wrapper remoting-invoke-with-check) System.Drawing.Graphics:Dispose
>>> ()
>>>  at System.Drawing.Bitmap..ctor (System.Drawing.Image original, Int32
>>> width, Int32 height) [0x00000] in <filename unknown>:0
>>>  at System.Drawing.Bitmap..ctor (System.Drawing.Image original)
>>> [0x00000] in <filename unknown>:0
>>>  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor
>>> (System.Drawing.Image)
>>>  at System.Windows.Forms.Cursor.ToBitmap (Boolean xor, Boolean
>>> transparent) [0x00000] in <filename unknown>:0
>>>  at System.Windows.Forms.Cursor.CreateCursor (System.IO.Stream
>>> stream) [0x00000] in <filename unknown>:0
>>>  at System.Windows.Forms.Cursor..ctor (System.Type type,
>>> System.String resource) [0x00000] in <filename unknown>:0
>>>  at System.Windows.Forms.Cursors.get_SizeNWSE () [0x00000] in
>>> <filename unknown>:0
>>>  at System.Windows.Forms.SizeGrip..ctor (System.Windows.Forms.Control
>>> CapturedControl) [0x00000] in <filename unknown>:0
>>>  at (wrapper remoting-invoke-with-check)
>>> System.Windows.Forms.SizeGrip:.ctor (System.Windows.Forms.Control)
>>>  at System.Windows.Forms.ScrollableControl.CreateScrollbars ()
>>> [0x00000] in <filename unknown>:0
>>>  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in
>>> <filename unknown>:0
>>>  at System.Windows.Forms.ContainerControl..ctor () [0x00000] in
>>> <filename unknown>:0
>>>  at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0
>>>  at myform..ctor () [0x00000] in <filename unknown>:0
>>>  at (wrapper remoting-invoke-with-check) myform:.ctor ()
>>>  at myform.Main (System.String[] args) [0x00000] in <filename unknown>:0
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/windows-form-regression-with-mono-2-8-1-tp3048328p3049652.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>


More information about the Mono-devel-list mailing list