[Mono-bugs] [Bug 366466] New: Detached console application hangs when Console is initialized

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Mar 2 08:05:25 EST 2008


           Summary: Detached console application hangs when Console is
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: bertrand.lorentz at free.fr
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=198147)
 --> (https://bugzilla.novell.com/attachment.cgi?id=198147)
End of output of mono --trace HelloWorld.exe &

A simple console application hangs ("Stopped") when it is started from the
command line as a background process :

mono HelloWorld.exe &

If it is started without the "&", everything works well.

The hang happen in the first call to the System.Console that causes the
ConsoleDriver to be initialized : System.Console.BufferHeight,
System.Console.ForegroundColor or System.Console.ResetColors().

The trace shows that the problem happen in the
System.ConsoleDriver.TtySetup(...) method call.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list