delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/04/26/06:53: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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=qErL
92Y24OL806j5FuWhPZxdtwL8+MLKPjtTyY9k9s4aQ0DK69zEhSIgDGqcWka3gwJQ
pSeL+63gf5G8R80/CLyKwEJgY7Imu0U32w4Lgfxg6bY6iUvqrcZzzm9/5kyJwh22
HHMbh4pqXztmWtWYpsx+cVC9Cifj+9g81IcX1AY=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=+kaJk1nuIh
vJBjjAAI/QL6TVjMA=; b=jOa5R9LXri8HWONMcU33kqy9gLhYIfdmDyAVvohFK8
rk+gHPz4Y69F39Gc6oZiguUBKf4ELW5ICIxm+wqZ95+gLTLu+BSK0Zq/leWB/UOA
oDe8713U3OYy1vdwG50u0ZcUzqFWiQBgi1DdmRLdZuFp9EY27dWyCB4yVIKKEFCa
I=
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=0.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RHS_DOB autolearn=no version=3.3.2 spammy=recalled
X-HELO: mail-wm0-f54.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:openpgp :autocrypt:message-id:date:user-agent:mime-version:in-reply-to; bh=C8t78/rBR7aIIbywOlFXaJpnt9+8KuYk3j3DIW0OpBo=; b=mE/6v1ZkwSJrQ27AS3rNmaWD7CoEPofprXryVGjZ89/zbtZBgZQlren8FwHeuOIkvV pqwyxizAfp/cU9j+aByjYJKY3boey2pzAu8Uw7B39a2Q2lLdLd9eJNQaVBToht9euYfN OLHKrf4NKqpONMuD3gpPONc3IjBv8XuWDYXbtc83AGHdQIH7jsNpDdKRzxTXmt/6/7lr Dm6zT5bdxx/Cf+vgKeleTiFd4ls7+UgNbvL/OiWDdUsfYiugD+DjIS5iYD/C9RhT7sf3 VeOSqvX/zPbD3EO08s7jbaQG4rmFyg6ydOfAOt5C37G7j2yakCT+TqtUH7lIo1v+3w7d jtig==
X-Gm-Message-State: ALQs6tAKiNk24Pa0FpkcfPA8mx4jeZdfubSNvS+06zN3RHLJ1snvCd0c GfBinOYSEKiQNOVDw6YW/ov3Pw==
X-Google-Smtp-Source: AIpwx48zGt94hUuMbeWtRzvbUTL6P1u3KS/3rf/MGOWnArKGz9CY7H3U6qPLMvkPa1kMetPRQsRNzQ==
X-Received: by 10.80.243.149 with SMTP id g21mr42611065edm.13.1524739979986; Thu, 26 Apr 2018 03:52:59 -0700 (PDT)
Subject: Re: Bug: Synchronous signals broken on Cygwin 64
To: cygwin AT cygwin DOT com
References: <bc993d03-a9ac-d1c9-c33a-03cfc810edbe AT users DOT sourceforge DOT net> <d76cfa4797d30702799a93892d454d95 AT smtp-cloud9 DOT xs4all DOT net>
From: Thomas Zimmermann <tdz AT users DOT sourceforge DOT net>
Openpgp: preference=signencrypt
Autocrypt: addr=tdz AT users DOT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V8S6Pe1pcXfiOuZLMJ5OTga6GxWimmP7rrWKTIlP x57wXD+v6c4A4VYW973YXNh1mVXwON3ydMJGBBgRAgAGBQJEPBcxAAoJENna19RO8d8IASEA niQqMp4Yd00/t47D09opsugE9GBHAJ9sJZgtyq9lLB3xCFm16nooejR/XA==
Message-ID: <4a3b47db-fcdb-85f0-ec80-4cffcb7c495a@users.sourceforge.net>
Date: Thu, 26 Apr 2018 12:52:54 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <d76cfa4797d30702799a93892d454d95@smtp-cloud9.xs4all.net>
X-IsSubscribed: yes

--mgQhId5899VVIK3afak9V7NRsoar96ELL
Content-Type: multipart/mixed; boundary="S4fXgBBRJesGFoZDzjoCrMKSoQSCTldqW";
 protected-headers="v1"
From: Thomas Zimmermann <tdz AT users DOT sourceforge DOT net>
To: cygwin AT cygwin DOT com
Message-ID: <4a3b47db-fcdb-85f0-ec80-4cffcb7c495a AT users DOT sourceforge DOT net>
Subject: Re: Bug: Synchronous signals broken on Cygwin 64
References: <bc993d03-a9ac-d1c9-c33a-03cfc810edbe AT users DOT sourceforge DOT net>
 <d76cfa4797d30702799a93892d454d95 AT smtp-cloud9 DOT xs4all DOT net>
In-Reply-To: <d76cfa4797d30702799a93892d454d95 AT smtp-cloud9 DOT xs4all DOT net>


--S4fXgBBRJesGFoZDzjoCrMKSoQSCTldqW
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

Hi

Am 26.04.2018 um 12:45 schrieb Houder:
>> The expected behavior is that an installed signal handler runs exactly
>> once for a signal and the OS terminates the program if the handler
>> returns. This works on 32-bit Cygwin. From my observation, Cygwin 64
>> differs in the follow ways:
>=20
> .. uhm, unless SA_RESETHAND (sa_flags) has been specified, I expect the
> handler to be invoked again and again ...

What I mean is that the installed signal handler is re-called constantly
for the same HW exception (div-by-zero in this case). It is as if
there's an endless loop around the signal-handler function.

Best regards
Thomas

--=20
Implement thread-safe and fault-tolerant software in C: visit picotm.org
--
GnuPG:          http://tdz.users.sourceforge.net/tdz.asc
Fingerprint:    16FF F599 82F8 E5AA 18C6 5220 D9DA D7D4 4EF1 DF08
Website:        tzimmermann.org


--S4fXgBBRJesGFoZDzjoCrMKSoQSCTldqW--

--mgQhId5899VVIK3afak9V7NRsoar96ELL
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQW//WZgvjlqhjGUiDZ2tfUTvHfCAUCWuGvhgAKCRDZ2tfUTvHf
CHDAAKCLUXrBPXvZNcTIxhPs5WCVSLh0OQCfa7YlbY3w08dwDFGUo20FjH/Sprw=
=qWcZ
-----END PGP SIGNATURE-----

--mgQhId5899VVIK3afak9V7NRsoar96ELL--

- Raw text -


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