[Mono-bugs] [Bug 51096][Nor] Changed - hello world in Mercury produces no ouput

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 4 Dec 2003 14:42:48 -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 vargaz@freemail.hu.

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

--- shadow/51096	2003-11-29 10:38:04.000000000 -0500
+++ shadow/51096.tmp.12393	2003-12-04 14:42:47.000000000 -0500
@@ -0,0 +1,63 @@
+Bug#: 51096
+Product: Mono/Runtime
+Version: unspecified
+OS: unknown
+OS Details: 
+Status: REOPENED   
+Resolution: 
+Severity: Unknown
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: peter@emailross.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: hello world in Mercury produces no ouput
+
+Description of Problem:
+
+Running hello.exe (hello world written in Mercury) produces no output,
+but it appears to run correctly.
+The hello.exe was created using .NET SDK 1.1 tools and there it
+produces the expected output.
+
+Steps to reproduce the problem:
+1. wget http://shiva.miscrit.be/~petdr/files/hello_world.tgz
+2. tar xzf hello_world.tgz
+3. cd hello_world
+4. PATH=~/mono/install/bin:$PATH hello.exe
+
+Actual Results:
+<nothing>
+
+
+Expected Results:
+Hello, world.
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+This is with the latest CVS version of mono.
+
+------- Additional Comments From vargaz@freemail.hu  2003-11-27 16:35 -------
+Fixed in CVS.
+
+------- Additional Comments From peter@emailross.com  2003-11-29 10:38 -------
+I am still getting no output on my system with an update done today
+(2003-11-29).
+
+I am running windows XP and using cygwin to execute mono.
+
+------- Additional Comments From vargaz@freemail.hu  2003-12-04 14:42 -------
+This is in fact caused by a stack overflow, because the JIT compiler
+generates too many temporary variables. To reproduce:
+
+mono -v -v -v --compile mercury.io.mercury_code:.cctor io.dll
+
+Another problem is that the generated code calls class_init_trampoline
+dozens of times, when only the first call is neccesary.
+
+