[Mono-bugs] [Bug 41273][Nor] Changed - Qt# apps fail with mini

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 17 Apr 2003 17:04:48 -0400 (EDT)


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 vargaz@freemail.hu.

http://bugzilla.ximian.com/show_bug.cgi?id=41273

--- shadow/41273	Wed Apr 16 23:55:07 2003
+++ shadow/41273.tmp.526	Thu Apr 17 17:04:48 2003
@@ -162,6 +162,45 @@
 These problems are very difficult to narrow down. When I tried adding 
 WriteLine() to determine where some of the problems happened, some of the 
 problems actually disappeared (to be replaced by other problems in other 
 locations). 
  
  
+
+------- Additional Comments From vargaz@freemail.hu  2003-04-17 17:04 -------
+Hi,
+
+Here is a small testcase which does not require Qt:
+
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+using System;
+
+internal struct QNull {
+
+		static readonly QNull instance;
+
+		public static QNull get () {
+			return instance;
+		}
+}
+
+class Bug {
+
+	public Bug (QNull instance) {
+	}
+
+	public Bug () : this (QNull.get ()) {
+		foo ();
+	}
+
+	public static void foo () {
+	}
+
+	public static void Main () {
+		new Bug ();
+	}
+}
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+The unaligned stack is created in Bug::.ctor().
+
+