[Mono-bugs] [Bug 76493][Nor] New - DatetimePicker causing segfault
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Oct 20 19:55:03 EDT 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 paul at all-the-johnsons.co.uk.
http://bugzilla.ximian.com/show_bug.cgi?id=76493
--- shadow/76493 2005-10-20 19:55:03.000000000 -0400
+++ shadow/76493.tmp.22155 2005-10-20 19:55:03.000000000 -0400
@@ -0,0 +1,80 @@
+Bug#: 76493
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details: FC4 rawhide
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com
+ReportedBy: paul at all-the-johnsons.co.uk
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: DatetimePicker causing segfault
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Using the code below and compiling, I can move the month forward without a
+problem, but moving back causes a segfault
+
+Steps to reproduce the problem:
+1. Compile the code below
+2. Open the date time picker, move forward a month, then try and move back
+3.
+
+Actual Results:
+The code segfaults
+
+Expected Results:
+The month should return
+
+How often does this happen?
+Always
+
+Additional Information:
+Test code used to generate this fault
+
+using System;
+using System.Drawing;
+using System.Windows.Forms;
+
+public class Form1:Form
+{
+ private System.Windows.Forms.DateTimePicker dtp;
+
+ public Form1()
+ {
+ InitialiseComponent();
+ }
+
+ private void InitialiseComponent()
+ {
+ this.dtp = new System.Windows.Forms.DateTimePicker();
+
+ this.dtp.Location = new System.Drawing.Point(8, 8);
+ this.dtp.Name = "date time picker";
+ this.dtp.Size = new System.Drawing.Size(288, 20);
+
+ this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
+ this.ClientSize = new System.Drawing.Size(350, 130);
+ this.Controls.Add(this.dtp);
+ this.Name = "Form1";
+ this.Text = "Testing 1..2..3";
+ this.Load += new System.EventHandler(this.Form1_Load);
+ }
+
+ [STAThread]
+ static void Main()
+ {
+ Application.Run(new Form1());
+ }
+
+ private void Form1_Load(object s, System.EventArgs e)
+ {}
+
+}
More information about the mono-bugs
mailing list