[Mono-bugs] [Bug 55246][Nor] New - maxstack is way too high - incorrect
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 5 Mar 2004 23:12:45 -0500 (EST)
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 darcy@1bot.com.
http://bugzilla.ximian.com/show_bug.cgi?id=55246
--- shadow/55246 2004-03-05 23:12:45.000000000 -0500
+++ shadow/55246.tmp.20887 2004-03-05 23:12:45.000000000 -0500
@@ -0,0 +1,55 @@
+Bug#: 55246
+Product: Mono: Compilers
+Version: unspecified
+OS: SUSE 9.0
+OS Details: Suse 9.0
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: darcy@1bot.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: maxstack is way too high - incorrect
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+
+The declared "maxstack" attribute of methods and constructors is
+frequently incorrect, and way too high.
+
+
+Steps to reproduce the problem:
+1. Use monodis/ildasm to look at maxstack. You will see bizarrely high
+numbers. See below.
+2.
+3.
+
+Actual Results:
+
+Example, - in "System.Xml.dll",
+SerializationCodeGenerator::GenerateReadMembers(..) shows a maxstack of
+850.
+
+
+
+
+Expected Results:
+
+Correct value is approximately 9.
+
+
+How often does this happen?
+
+Almost always.
+
+
+Additional Information:
+
+
+This happens on both 0.30 and 0.30.1 and 0.30.2.