[Mono-bugs] [Bug 77073][Blo] New - Only simplest hello world works
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Dec 22 15:53:37 EST 2005
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 kde at valkyrie.one.pl.
http://bugzilla.ximian.com/show_bug.cgi?id=77073
--- shadow/77073 2005-12-22 15:53:37.000000000 -0500
+++ shadow/77073.tmp.19188 2005-12-22 15:53:37.000000000 -0500
@@ -0,0 +1,105 @@
+Bug#: 77073
+Product: Mono: Class Libraries
+Version: 1.1
+OS: other
+OS Details: PLD Linux
+Status: NEW
+Resolution:
+Severity:
+Priority: Blocker
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com
+ReportedBy: kde at valkyrie.one.pl
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Only simplest hello world works
+
+Description of Problem:
+Anything other than simple hello world doesn't work. Example code from
+http://www.c-sharpcorner.com/Tutorials/winFormstutJM1.asp attached.
+
+Steps to reproduce the problem:
+1. mcs winforms2.cs -r:System.Windows.Forms -r:System.Drawing
+2. mono winforms2.exe
+
+Actual Results:
+Mono System.Windows.Forms Assembly [Revision: 54007; built: 2005/12/6 14:35:24]
+Keyboard: United States keyboard layout (phantom key version)
+Gtk colorscheme read
+
+Unhandled Exception: System.Exception: Value '-2147483648' must be greater
+than or equal to 0.
+in [0x0004a] System.Windows.Forms.ScrollBar:set_LargeChange (Int32 value)
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.ScrollBar:set_LargeChange (int)
+in [0x001a6] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:568)
+System.Windows.Forms.ScrollableControl:Recalculate (System.Object sender,
+System.EventArgs e)
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+in [0x00020] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4200)
+System.Windows.Forms.Control:OnSizeChanged (System.EventArgs e)
+in [0x000f0] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3528)
+System.Windows.Forms.Control:UpdateBounds (Int32 x, Int32 y, Int32 width,
+Int32 height)
+in [0x00069] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3376)
+System.Windows.Forms.Control:SetBoundsCore (Int32 x, Int32 y, Int32 width,
+Int32 height, BoundsSpecified specified)
+in [0x00008] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1407)
+System.Windows.Forms.Form:SetBoundsCore (Int32 x, Int32 y, Int32 width,
+Int32 height, BoundsSpecified specified)
+in [0x00121] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1429)
+System.Windows.Forms.Form:SetClientSizeCore (Int32 x, Int32 y)
+in [0x0000f] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:1539)
+System.Windows.Forms.Control:set_ClientSize (Size value)
+in [0x0006f] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3305)
+System.Windows.Forms.Control:ScaleCore (Single dx, Single dy)
+in [0x00003] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollableControl.cs:482)
+System.Windows.Forms.ScrollableControl:ScaleCore (Single dx, Single dy)
+in [0x00003] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1387)
+System.Windows.Forms.Form:ScaleCore (Single dx, Single dy)
+in [0x00003] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2877)
+System.Windows.Forms.Control:Scale (Single dx, Single dy)
+in [0x0008f] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1085)
+System.Windows.Forms.Form:ApplyAutoScaling ()
+in [0x00024] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1268)
+System.Windows.Forms.Form:OnLoad (System.EventArgs e)
+in [0x000ff] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1221)
+System.Windows.Forms.Form:OnCreateControl ()
+in [0x00063] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2448)
+System.Windows.Forms.Control:CreateControl ()
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:CreateControl ()
+in [0x00001] (at
+/home/users/wolf/rpm/BUILD/mono-1.1.12/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:372)
+System.Windows.Forms.Application:Run (System.Windows.Forms.Form mainForm)
+in [0x00005] (at /home/users/wolf/programy/c#/winforms2.cs:36) MyForm:Main ()
+
+Expected Results:
+Program running.
+
+How often does this happen?
+Every time.
+
+Additional Information:
+Happens in custom built packages and when using mono installed using
+http://www.go-mono.com/archive/1.1.12/linux-installer/0/mono-1.1.12_0-installer.bin
+installer.
+Mono 1.1.12, libgdiplus 1.1.11.
More information about the mono-bugs
mailing list