delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/03/12:06:50

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=ymYZeNitHtglVzSf5QyfF6HHzdyp5s0bY4RtyOtdmhaPJLuL07xQ7
9DtNTS7L9SUsf84/no8Exk0BYm31IVLGVBJCgOTkBh3nnyov9P8D2s+LQg4OFXU9
sp9qOjppjB5xR445DlRw+0gXcTI+jHjiqnvaUnNGcXrZImkeLTBIGI=
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=vIP2TrH6qrSzMEt9yOABM29YSdQ=; b=xC2UCytZ0lnZdCTCm9Ft2Q2z4KO0
tXKGdXrkbTCyDzzILPqLVgO5LFKff8XKTXEHMq1K8ufGd53VcbnheqC5oVa2VVBT
cPaXSqn6hNgteloWD/J53yu5XyAIlAC9mG5q7hwJteDjQWVsKv9B7peMBhejgOPB
UULWIGhfF9ldb2w=
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: Mon, 3 Mar 2014 18:06:28 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Building libsigsegv on Cygwin64
Message-ID: <20140303170628.GA7236@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <530771A3 DOT 7000603 AT alice DOT it> <53136870 DOT 200 AT cornell DOT edu> <20140303150210 DOT GC2469 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20140303150210.GC2469@calimero.vinschen.de>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

On Mar  3 16:02, Corinna Vinschen wrote:
> On Mar  2 12:20, Ken Brown wrote:
> [...]
> > I found the problem (or at least I found *a* problem):  There's a
> > configure test "checking whether a fault handler according to POSIX
> > works", which passes on 32-bit Cygwin but fails on 64-bit Cygwin.
> > I'm attaching a file containing the configure test.  Here's what
> > happens in the 64-bit case:
> >=20
> > $ gcc -o fault fault.c
> > $ ./fault.exe
> > $ echo $?
> > 1
> >=20
> > In the 32-bit case, the exit code is 0.
> >=20
> > I don't know if this indicates a Cygwin bug or something wrong with
> > the test.
>=20
> It indicates a Cygwin bug.  Thanks for the report and the testcase.
>=20
> The joke here is, the signal handler function gets called twice for the
> same exception.  Proof is that you can remove the second call to crasher
> and still sigsegv_handler gets called twice.

I just created a new snapshot which contains the fix.  Would you mind
to test it?  It doesn't fix the fact that libsigsegv is missing 64 bit
Windows/Cygwin support, of course...


Thanks,
Corinna

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

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

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

iQIcBAEBAgAGBQJTFLaUAAoJEPU2Bp2uRE+gB/kP/A3GUPtPT3GsIjgFFLtzBeWa
+7zN929icVkvoK+0CMv3/9MlKJBZaMoFbi/A8RRA9ItZAhQDLpvKKvc4mUpVQ3vZ
9a3jOQb4RxHBwSlIMWEiwYbB0u/Nuj9DtigQ+tUVW3q5EJLwJFkrZZGZTNlywvuF
/GzEEgwUubCdexk/la70yLFXC72VKVGKl95c/FGPUU0E0YT1KPCOR3vgUHIhIWQc
CzC4Ylovh6677/4zaBu3r0wFBzgB7/O+io85i1W9RFDf6/HVdOLEEtoEO78qRVJ1
gkxaJofZs5RXEk4Ng6gcVNLaD+6VLB/Au+g5Tzja4gIEBRCSmjXbSmVLoYZ02XxV
YrSbJ6MOXZoWRLSev980F2ptmol1cvUvwZ9RAfneTqMXHwasLXFoul2UYj5cqyYG
QeCxmXs2eIiDDRMDy9tvtvtiW8moVg55VwVVYYSq83s4SidyKaN1GuMT9QHwNqaA
lfyWm3e4+rKnT3w4KRvUEc7PAfJ5aJBO5a4bXrnDlJvpdmdrhP1p5stRWxLNcY8S
CfXJduS91tXpNvlGiwk22mS4yEqCyUtuVKNOCvKEDapPTspWx8pbMgZcAcahxwlK
IeWgE+5TuuJZDUrUt2PtqTAONLTiHoVv1VlI5Vr+8pBiHPzC3uNoy2/ZsIVg5NEB
nulOlmwcb9GATYknWqpu
=JgmC
-----END PGP SIGNATURE-----

--ew6BAiZeqk4r7MaW--

- Raw text -


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