delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/19/13:05:28

X-Recipient: archive-cygwin AT delorie DOT 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=O9oZXj8mEkD7VnTIP3EFzh6Y85zKa0V5pMfP8GucidNYrj9YeyQro
0dgMm7DYkf+Gsb7Es4GJ24vGZGCZzhsG7BRX0MdlgPOFTLdhrw4kll3YoEe8HjQS
RnHsjzUz/iWwED/U8+xz5Rc0FKHclwldlFY8FxLxR3hOBJtOix9KLY=
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=PIcpc3F6+fi4ctKjRvhJ8jubNtY=; b=OacPKBTDpD/rp9N8YWWvNxBGkxlx
UTJsig1kVRDVwCG8KIh68FRbv7gT6m4dhjZvu/SH9JE5xqlV2+qT2ty5ssHW4ix+
OmWoe7gkqODzxUi5UmO0PZ5TYCfX6GMTTohqq/0D7YuoXgFrO1nqAWq6MzwjU7Se
eDXmWzkWEQJvp8U=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 19 Mar 2014 18:05:08 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Public key authorization problem with latest snapshot
Message-ID: <20140319170508.GF2715@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5329B9D0 DOT 6070703 AT cornell DOT edu> <20140319160914 DOT GD2715 AT calimero DOT vinschen DOT de> <5329C9EF DOT 1000305 AT cornell DOT edu>
MIME-Version: 1.0
In-Reply-To: <5329C9EF.1000305@cornell.edu>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

On Mar 19 12:46, Ken Brown wrote:
> On 3/19/2014 12:09 PM, Corinna Vinschen wrote:
> >On Mar 19 11:37, Ken Brown wrote:
> >>Here's some more weirdness involving the recent changes to exception
> >>handling on 64-bit Cygwin.
> >>
> >>I have an ordinary user kbrown and an administrator user
> >>kbrown-admin. I use the following command to simulate "su":
> >>
> >>   ssh kbrown-admin@$(hostname) .
> >>
> >>With the current (2014-03-18) x86_64 snapshot, this doesn't work if
> >>I try to use public key authorization.  I simply get a message
> >>
> >>   Connection closed by fe80::81db:bf3a:6434:6015%11
> >>
> >>and I'm not even prompted for my passphrase [*].  But if I move my
> >>id_rsa and id_rsa.pub out of the way, I'm prompted for a password,
> >>and I can login successfully.
> >>
> >>Reverting to the 2014-03-17 snapshot fixes the problem.
> >
> >I just checked in a change.  Please give it a try.  If this doesn't work
> >either, I don't know how to proceed.
>=20
> This fixes the public key authorization problem, but the timeout
> during the starting of gtk applications is back.  The
> "window-default" program from the other thread is still a test case
> for that problem.

Ok, I give up.  I have no idea anymore how to change that.

The code is now practically equivalent to what is in 1.7.28.  Only the
VectoredContinueHandler, which was the reason Cygwin's exception handler
could be called twice, is not called anymore.  Instead there's a vectored
exception handler which is only called during debugging.

Before:

  if (!handler_installed)
    {
      handler_installed =3D true;
      SetUnhandledExceptionFilter (handle);
      AddVectoredContinueHandler (1, handle);
    }

After:

  if (!handler_installed)
    {
      handler_installed =3D true;
      SetUnhandledExceptionFilter (handle);
      AddVectoredExceptionHandler (1, handle_while_being_debugged);
    }

If anybody can explain this weird behaviour, please educate me.


Corinna

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

--NtwzykIc2mflq5ck
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJTKc5EAAoJEPU2Bp2uRE+g4l8P/2zYGFI9jF782q3bCZtNFVcE
PbVChMMWrtRDfgsOX+vVImBZTffkvZcrrAruPBpZucCaxxhQfIFSJbTlAGfbwdUY
FklxsS7UkL6ZxeQuddZUk+48FlV5Hmr7CxmjU/NOUV2DPrCY+AxhV+M4AVwCmsFd
QbqU7ZjkF2AjhIkIp7EmlmUIQWlk9zK7H/q9r68MgGXN1urh70pKgpzicd0M0Hji
UcKKO0MQWEGKbw77dvQDvJ2z88U73Z4L9ZunYsztW2+rDDI7TMm6cn621jmDLUAB
QS0CyHhet/Taq0JM2eqH/LXEH1QMsib6T9ZN789UEwn0yEp+LbzomLDXSFhUk1lu
Y3RrhfsTJIl/Y/0YiFV6qeHUqQlppz/qJJcMAI/jOa+KgrE23v6Z5lphewDzjQga
t+FdnDCcfU3yHzAO+WA+t9Nl74E0R6d/CDOL2OHVhDxODriHsrZWmQeA9/sC5VoJ
TuWoFp3caYVHIyKYPlhE8XlEuZRelb9Ddpu6C6PruMbUmmwT4EOF1I/xKOzRZzv/
A9r1k0LbRcJDk0AFYN4O2jy9I/8Wf60iSgAYGC55xznj+BmlCsNRrVv9j/h8R2tk
clHEqxshxrAHiRT/Z0Y1QRkyoN3d3zv8oOBMd6Vuk/ZzK+RGtjrkiA1jgnsfvivZ
iC526HUf9FaW4U2V1sVp
=a3z3
-----END PGP SIGNATURE-----

--NtwzykIc2mflq5ck--

- Raw text -


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