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:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=ODG9D0ia8DjLx9jc9lm7bzpJSzpc/3yA0lgkuaVxKUTdZfXA0+eDI
	rSd84vv/1EuZJUEFr5eBv3IYoUkLM6zkxlCf3U7VF3pkDFbjllJWATsmt/8jdgBx
	TT2fokMtzxy7SGwiSFzT8OPRi7UTUuivFyIYdA+yHK3pim4SkwTvMM=
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:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=JqGczxs1rs7Z4umdtrPAiskIzd8=; b=Fu0jlnouwzJ7OAsTkRiFgVsY9JC+
	U4QVRq1XaMJn9jZySExdF/iXwP2Ws2JEm9oCICeAq/BYK8hCyU1hAsY/6iUnSn94
	3zd0OsptSoxyFqX0TiI5SdhwJ9RGn42g9lS1oGUFr73+8QJojUI2r+cqp9EmF52p
	WHJyQmvTXv/cVvc=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 19 Aug 2014 12:05:09 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Problem with x86_64 2014-08-18 snapshot
Message-ID: <20140819100509.GN2280@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <53F2357D.3020708@acm.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="sWvRP97dwRHm9fX+"
Content-Disposition: inline
In-Reply-To: <53F2357D.3020708@acm.org>
User-Agent: Mutt/1.5.23 (2014-03-12)

--sWvRP97dwRHm9fX+
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Aug 18 10:18, David Rothenberger wrote:
> ssh-add is not able to connect to the ssh-agent with the 2014-08-18
> snapshot. This works fine with the 1.7.32-1 official release and
> with the 2014-08-07 snapshot.
>=20
> 508 ~> ssh-agent bash
> 499 ~> env | grep SSH
> SSH_AGENT_PID=3D7496
> SSH_AUTH_SOCK=3D/tmp/ssh-CCN4vv8ePXKm/agent.7288
> 500 ~> ls -l /tmp/ssh-CCN4vv8ePXKm/agent.7288
> srw------- 1 daver clearusers 0 Aug 18 10:15 /tmp/ssh-CCN4vv8ePXKm/agent.=
7288
> 501 ~> ps -ef | grep 7496
>    daver    7496    7288 ?        10:15:02 /usr/bin/ssh-agent
> 502 ~> ssh-add ~/.ssh/id_rsa
> Could not open a connection to your authentication agent.

Got it.  During socket testing I noticed that read and accept calls on
unconnected sockets just hang, rather than returning -1 with errno set
to ENOTCONN or EINVAL.  The reason is that Cygwin uses Winsock's socket
event handling, and the event handling simply ignores those conditions.
So I added code to check for these error conditions explicitely, but then
forgot to hanmdle the credential exchange phase during a connection attempt
on an AF_LOCAL socket.  I fixed that in CVS and created a new snapshot
on https://cygwin.com/snapshots/.  Pleae give it a try.


Thanks for the report,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--sWvRP97dwRHm9fX+
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJT8yFVAAoJEPU2Bp2uRE+g7RAP/1Cc3BVhnkpD6Vw85x7zreP0
E1sEF+S+qOGRJr35PmVKuVeeRUU8wmGuQSLabjPlpGPyk+bCeRfho7DbjRti3Z6Q
Z7GRxotOy844X7tKntwZ/qmhtA4NzesCNoif7pWquqI7BPO55oG1bu8RsTs6k7Gs
jbrooVOQBdgv3R/lcKzLMlLZM1H+wk3Bn7v4PldGYaaxzj08GqS745y7qoaUJv+T
V5mXs2ZNIxaS//NlpAWlASr47qeKEeACJEPXpiYVAv/or5GS6aPbvKHgpEDGvwOK
l+IoN2p1f4StKYpytz73Hv89P3lbvJPBygF+hv9RzLN4/MxpdgL+8DRJcOPkYH5/
a+B1zrwod5SDs6ksxy4BqqtTR0gB0zv2lxGfz9M94TyIdVoWqJib7U/IsyqogeXa
zQ4Qv+D0+6QciNequoJBIHiXM/Okh5uoVL/Iup5oEZoLT4Y723/Mlqt/GbJh1qul
gngXHXGfcJHlzfYacJjqE6nT752/z0vLD0iLKDcERF1OPgJUvhwpqXMbjPT7FcY1
ykNN5CY9PsXVJRms6GS0FLvF2n4O/xkdbe/zy7aMsIpBiaOjQs4LHOhExVionLoi
PPXUl1yD5fcQamtLFagyX+HnCJOKYCPJF97bDTIMPShHhBOA/io3lVcU/I2o/Kt1
xYHKGL7booi1JFROOzr4
=aU9v
-----END PGP SIGNATURE-----

--sWvRP97dwRHm9fX+--
