[Mono-bugs] [Bug 52036][Nor] Changed - System.IntegerFormatter.FormatGeneral JIT compile fails

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 12 Dec 2003 04:17:25 -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 lupus@ximian.com.

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

--- shadow/52036	2003-12-11 05:40:09.000000000 -0500
+++ shadow/52036.tmp.26797	2003-12-12 04:17:25.000000000 -0500
@@ -0,0 +1,74 @@
+Bug#: 52036
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: PowerPC
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Normal
+Component: misc
+AssignedTo: lupus@ximian.com                            
+ReportedBy: piyush.garyali@honeywell.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: System.IntegerFormatter.FormatGeneral JIT compile fails
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+
+Console.WriteLine()fails while JITing 
+System.IntegerFormatter.FormatGeneral using the testcase below.
+
+Steps to reproduce the problem:
+1. Run the following code:
+using System;
+namespace Foo
+{
+	class Class1 
+	{
+	        static void Main()
+		{
+		  	int start = 10;				
+		        Console.WriteLine(start);
+		}
+	}
+}
+
+Actual Results:
+Crashes during JITing
+
+Expected Results:
+Should print 10
+
+How often does this happen? 
+Everytime
+
+Additional Information:
+
+------- Additional Comments From piyush.garyali@honeywell.com  2003-12-11 05:40 -------
+The call stack for the BUG#
+
+??
+g_logv()
+mono_arch_output_basic_block() --> *assert*
+mono_codgen()
+mini_method_compile()
+mono_jit_compile_method_inner()
+mono_compile_method()
+ppc_magic_trampoline()
+??
+??
+
+*assert* is reached in mono_arch_output_basic_block for
+case OP_LCONV_TO_OVF_I:
+
+---------->8-------------
+
+
+
+------- Additional Comments From lupus@ximian.com  2003-12-12 04:17 -------
+Committed a fix to cvs, though this worked for me before the change,
+too. Care to test again?