delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/20/11:03:18

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=L2nfGzt4YyvOFaO+vjo/dj76CSEquN4dq0BDM5zsEYZWx4iuMnYsc
d7vviorm84tqd93Ihs1cH+0TaWbu7WNG1oh2jpIRKPMqyNBnAjGWc6Ci3MPDqIiH
X/aIQIguxgCBiKhtAvWmDxgBcoXbS6IIGBayXaXVpxJ/b2VzpV8Xz4=
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=4Aji12TOSk9FPwBJukgKg/VH7/8=; b=jYF/U4zNgPAfD4coGRO3+VNCpxg5
xJ6OQ8fJ26y6NyyTAjQgoQdfNsiBwJoObMB/5baTveZhc6yYwCeD4NWBZlSxcf8r
nxPrGqv7QEype/rortxJaOImexE7DXH0B3CBJ9Oshm4NxPFhd9VGegt9xGEOwPqF
ECqiV8IUdRsft5Y=
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: Thu, 20 Mar 2014 16:02:58 +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: <20140320150258.GD3729@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> <20140319170508 DOT GF2715 AT calimero DOT vinschen DOT de> <885290127 DOT 20140320015843 AT yandex DOT ru>
MIME-Version: 1.0
In-Reply-To: <885290127.20140320015843@yandex.ru>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

On Mar 20 01:58, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
>=20
> > 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 vector=
ed
> > exception handler which is only called during debugging.
>=20
> > Before:
>=20
> >   if (!handler_installed)
> >     {
> >       handler_installed =3D true;
> >       SetUnhandledExceptionFilter (handle);
> >       AddVectoredContinueHandler (1, handle);
> >     }
>=20
> > After:
>=20
> >   if (!handler_installed)
> >     {
> >       handler_installed =3D true;
> >       SetUnhandledExceptionFilter (handle);
> >       AddVectoredExceptionHandler (1, handle_while_being_debugged);
> >     }
>=20
> > If anybody can explain this weird behaviour, please educate me.
>=20
> I can't explain the behavior, but I could say, that setting
> "handler_installed =3D true;" before the handler is actually installed is=
 not
> quite right.
> Unless that variable is used inside either of two functions called afterw=
ard,
> I would move it down to the end of `if' block.

BTDT.  This isn't the problem.  I *may* have found the culprit today,
but I ripped apart a lot of the code so I'm not really sure yet.  Stay
tuned.


Corinna

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

--Md/poaVZ8hnGTzuv
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJTKwMiAAoJEPU2Bp2uRE+gHwgP/21trK/3TORyfTsPXJpR6cQj
yAUGEC2iNxUNGdHSxoOKSedThClXiC75Kic/uOuQ5KQMObZjt6e0rLlQLC45JMzW
qT7sp6/LD4RIAJmwH+S8CTnNiZFoXihffZdvNnOYQRIJcqljek4gKsTP2lEvQZef
0kOGsFYu5i5bQbvcX8AurpBucxCSGlrul4xXufaA3/OJZ84phtDnajTFA702ss0k
R/0Wveuum1qvU3pSlBvDdAK9E22dz42OuagxkjwEx1lBhPDENSExEWxMc3tjgpTl
hZdiIE+lJy+uCKB6Y0X50qQyvOeyO8LgJuoMZYcNIZXgs2sJE5oc/x6BQ37zbGAc
7+CxDm9IeqwqHVteqpcULsJrkwxvPnIzSauRdKae2knzMJ6NEXOqS1N9lqBljbB1
mLaMuJib2hnYVtdadcGM1m5tgiojB2rQ7riA0Hk2UJeQShkP/WUpvQXFnczvfGGn
TQxaSWtwo5tekHo/5pOS7Z9dCZk6gvYy8nF99EAPBHDQPRP2BTyO5zHNRBNVZ3ka
dYnF4rTnTJH4GYEqtrWJMhcyfsQzOdz78Fz6OE77P0W7fZAyVFaoutD3khofPtQI
oIbapnSa7+wlORfSXsq2G4kXmhuL5xmN9UfY8VAtcXn17IvzCVuIR0z/q1XSSaX3
mlgdgq2bOqNydoLfj2Ce
=PKcQ
-----END PGP SIGNATURE-----

--Md/poaVZ8hnGTzuv--

- Raw text -


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