[Mono-bugs] [Bug 79780][Wis] New - Writing to the console hangs helloworld program

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Oct 29 16:06:45 EST 2006


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 bertrand.lorentz at free.fr.

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

--- shadow/79780	2006-10-29 16:06:45.000000000 -0500
+++ shadow/79780.tmp.21930	2006-10-29 16:06:45.000000000 -0500
@@ -0,0 +1,54 @@
+Bug#: 79780
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: bertrand.lorentz at free.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Writing to the console hangs helloworld program
+
+Description of Problem:
+A simple program (like helloworld) hangs under the following condition :
+- is compiled with gmcs v1.1.18
+- is launched detached from console (with & at the end of the line)
+- writes to the console (Console.WriteLine)
+
+Steps to reproduce the problem:
+1. Compile the following code with gmcs 1.1.18 :
+public class HelloWorld
+{
+    public static void Main(string[] args)
+    {
+        System.Console.WriteLine("Hello World");
+    }
+}
+
+2. Run the program from the console with the following command :
+mono helloworld.exe &
+
+Actual Results:
+Process is started and nothing happens. The process gets "Stopped".
+
+Expected Results:
+"Hello World" is written to the console
+
+How often does this happen? 
+Everytime
+
+Additional Information:
+I don't think it happen with gmcs v1.1.17.x
+It does not happen if the program is compiled with mcs v1.1.18
+It does not happen if the program is launched attached to the console
+(without the &) :
+mono helloworld.exe
+
+I will attach a trace


More information about the mono-bugs mailing list