delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/22/14:11:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_YW,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-Cloudmark-SP-Filtered: true
X-Cloudmark-SP-Result: v=1.1 cv=FBhiVrZmCxhz+jlnxOWeJaR14+PwdUeacMZGNnSzbtQ= c=1 sm=1 a=XYJHFtupD_QA:10 a=cz03qAFBaY8A:10 a=BLceEmwcHowA:10 a=Ir5QeWaYauYA:10 a=8nJEP1OIZ-IA:10 a=AGHS4NI7rwa1xpFc3bYcnw==:17 a=w_pzkKWiAAAA:8 a=pjgOgmceVe2plR1X2GwA:9 a=wPNLvfGTeEIA:10 a=TRvmKqLbH9UA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
Date: Fri, 22 Jun 2012 12:10:32 -0600
From: Jamie Briggs <jamie DOT briggs AT shaw DOT ca>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin 1.7.15-1 - .NET console output locks up mintty
Message-ID: <20120622181032.GA29688@shaw.ca>
References: <20120622022137 DOT GA24472 AT shaw DOT ca> <31937321 DOT 20120622144920 AT mtu-net DOT ru>
MIME-Version: 1.0
In-Reply-To: <31937321.20120622144920@mtu-net.ru>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Fri, Jun 22, 2012 at 02:49:20PM +0400, Andrey Repin wrote:
> Greetings, Jamie Briggs!
> 
> > I have noticed a problem with the â"cygwin: The Unix emulation engine" package,
> > version 1.7.15-1.  Output from .NET console does not show up, the console
> > (mintty) becomes unresponsive and must be killed.  
> 
> > Reverting back to 1.7.14-2 fixes the problem.
> 
> > The problem can be demonstrated using a HelloWorld.cs containing:
> 
> >    using System;
> 
> >    public class Program
> >    {
> >           static void Main(string[] args)
> >          {
> >                Console.WriteLine("Hello");
> >          }
> >    }
>    
> > compiling with:   csc HelloWorld.cs
> 
> > and then running:  ./HelloWorld.exe
> 
> > This results in no output and an unresponsive mintty under 1.7.15-1.  If
> > "cmd.exe" is ran on top of bash and then HelloWorld is ran there it does the
> > same thing.  After reverting to 1.7.14-2 everything is working normally again.  
> 
> > I am building the executables with VS2010 and running on 64bit Windows7.  I am
> > attaching my cygcheck.out file.
> 

Earnie Boyd asked:

> Does the result change if you install the latest snapshot of
> cygwin1.dll from cygwin.com/snapshots?

Yes, replacing cygwin1.dll with the latest snapshot, cywgin1-20120619.dll,
makes the observed problem go away.

James Johnson asked:

> Try both of the following:
> 
> 1.  Update to latest development snapshot, should resolve the bug you are
> primarily observing.
> 2.  Set the CYGWIN environment variable to pipe_byte.  Cygwin now uses
> message pipes by default, which are not compatible with .NET Framework and
> Visual C++ runtimes (not currently documented anywhere in Cygwin or MS
> documentation)

1. I'm not sure how to do that.

2. Running "export CYGWIN=pipe_byte" and then the .NET HelloWorld program still
   exhibited the problem.

- Jamie

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019