Message-Id: <201911051924.xA5JOXQQ002479@delorie.com>
X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:to:from:subject:mime-version
	:content-type; q=dns; s=default; b=BbMVxpPD4aPBsBoqI8mWxF2DDRqjc
	l69LHXVmdYZoLo7JLtbDpL/4P18OsOewt8Th4L81T4BHfiR79Ys4ejkFyuqIKvh9
	PxlOdWByYEhqlWin3bDBXg1s87bxZfrCCwMcYzytV3o/tfB+5KDbHHmKbmwa7kkr
	axpP7RubGMD4wc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:to:from:subject:mime-version
	:content-type; s=default; bh=vypNGfehc35aZsm0AHMigHoK9Zs=; b=HAb
	EaQxh7hEFY1B2sOhScEUsgeMZ8OoWTweytSTUVls/6H/tAAeh1g2qlryCiN+AArG
	oN4eNHXS0u1nI6otG6a0k3HWVZE5bHPtLXPWb4dcbFoArsZ5OO1d1viuYqlih8QB
	WwmUQeLuGV2KbuZEJir8Z+5TJqOszQypVv8sYeTw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_50,KAM_INFOUSMEBIZ,KAM_NUMSUBJECT,MISSING_MID,SPF_PASS autolearn=no version=3.3.1 spammy=H*UA:Eudora, H*UA:QUALCOMM, HX-Spam-Relays-External:ASMTP, H*RU:ASMTP
X-HELO: mail.lawlers.us
DKIM-Signature: a=rsa-sha256; t=1572981847; x=1573586647; s=all; d=lawlers.us; c=relaxed/relaxed; v=1; bh=MGB3r+Fl4TE5UZumat+S37Qn1aRftuFpwwrMP0P7OuU=; h=From:Subject:Date:To:MIME-Version:Content-Type;   b=dIz/OMQPbmR90kxNkWE4yxVRXQ+UnqDsUk4IkSdaq6W3r6K5/vr1eL0yaot1rfhJGrl7y8u3wAMX+caskg1IhvSN6IAebmMpdvCTr/4BeX6fqKNxY4N+3PXhmADeozgHv/UzDu5Dc8AsyzcZTNws/HDVprAwuf1M0TIIrlSTK0OGHfAAnAROk8Ym9frFb5WAo6AqUCnuqmEkA/ngiadj/mZhOV/lKyBvYLREg3Yqqo+pfzmi/HFurHqGWlrUwMAkEBkBpTmbc4DyweJvHOSc97+yM+timoP+ibJ1uN7fcZOecSGllKDrglz2hyA82Xb3SIVOXm6/NRMRFFWj0e6NDw==
Date: Tue, 05 Nov 2019 14:24:06 -0500
To: cygwin@cygwin.com
From: "Michael D. Lawler" <mdlawler@lawlers.us>
Subject: Re: Cygwin 3.1.x fails if I have the use legacy console box   checked in Windows 10
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-CTCH: RefID="str=0001.0A020204.5DC1CC56.0032,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0"; Spam="Unknown"; VOD="Unknown"
X-IsSubscribed: yes

It looks like the changes between 3/27 and 3/31 were to support 
24-bit color in the normal console in 1703 or later and to fake the 
support for legacy console.  I can't currently compile anything, but 
I'm guessing that something went wrong with that change for legacy 
console.  The other changes seem less likely to cause the problem 
based on reading the diff.

At 10:34 PM 11/4/2019, you wrote:
>I'm using Win 10 1903 build 18362.449 and if I check the use legacy 
>console box under properties options in the console then I get the 
>following error with ssh built with cygwin.
>       0 [main] ssh 1942 C:\Program Files\OpenSSH\bin\ssh.exe: *** 
> fatal error - couldn't initialize fd 0 for /dev/cons0
>    5898 [main] ssh 1942 cygwin_exception::open_stackdumpfile: 
> Dumping stack trace to ssh.exe.stackdump
>
>
>Stack trace:
>Frame        Function    Args
>00000010000  00180060B7E (00180267ED8, 0018025A1B9, 000FFFFFFFF, 000FFFFBA50)
>00000010000  00180049249 (0018006CEBF, FFFFFFFFFFFFFFFF, 
>00000000000, 000FFFFCB00)
>00000010000  00180049282 (00000000000, 0018035FC20, 000FFFFFFFF, 000FFFFCB30)
>00000010000  0018005ABFC (000FFFFCC70, 00000000000, 001800D1BA2, 000FFFFCC70)
>00180342D08  0018005AD46 (00100464280, 00180221860, 
>FEFF552BFF677272, 00000000000)
>000FFFFCCD0  00180049A0C (00000000000, 00000000000, 00000000000, 00000000000)
>00000000000  00180048353 (00000000000, 00000000000, 00000000000, 00000000000)
>000FFFFFFF0  00180048404 (00000000000, 00000000000, 00000000000, 00000000000)
>End of stack trace
>
>
>If I use 3.07 this works.  Also if I use the March 27 2019 snapshot 
>it works, but if I use the March 31 2019 or later snapshot I get the 
>above error.  I couldn't find anything that said that Cygwin now 
>didn't support the legacy console thus I'm reporting this issue.
>
>--
>Michael D. Lawler
>email mailto:mdlawler@lawlers.us
>
>
>--
>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

-- 
Michael D. Lawler
email mailto:mdlawler@lawlers.us


--
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

