delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/10/06:14:37

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=Al+BqohnSFaqnsp9OnZQe0PrBQVGd7QYwFCAjf1OCHFow3pzuEZTe
cvkNt5+IWGKtvgVqEOzZuRmYIsAznw1CMLC8itYG/RA17SB25UbNjB/iFXhASZIH
3HeFFacR35zAGd5hzErkcj9JC9Pm0gekmWRCeDvDSVdtXmxBhyoXeo=
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=hVwswgBY2WQhRCqoxIko+pR5cLE=; b=IBs5IAcEV6y4O0FTs/F31W+lteJK
i3j+6WLS33aEvZGuWc+MMhra1R/lAyba32KhSv7h1M2AgcsENXjnzwJxBVYJBmX6
ye26HN+OGJ33JoKGmkWHT7/o4Rlh1QKKY4g8JMXha173QAiTXJs9W3qbisBXp/ik
stCMZZzNJXUPFB8=
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, 10 Nov 2014 12:14:16 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.8
Message-ID: <20141110111416.GE2782@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20141107091107 DOT GS28195 AT calimero DOT vinschen DOT de> <545D36C5 DOT 5060006 AT aol DOT com>
MIME-Version: 1.0
In-Reply-To: <545D36C5.5060006@aol.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Nov  7 16:16, Tim Prince wrote:
>=20
> On 11/7/2014 4:11 AM, Corinna Vinschen wrote:
> >
> > - GCC 4.9.2-1 DLLs accidentally call __cxa_atexit with the wrong DSO
> >   handle value.  This Cygwin update allows this scenario throughout.
> >   It now understands *any* DSO handle value, as long as it's a pointer
> >   into the DSO's address space.
> >   This fixes: https://cygwin.com/ml/cygwin/2014-11/msg00122.html
> >
> >   If you don't build applications or DLLs with Cygwin, you can safely
> >   ignore this change.
> >
> >
> > If you want to help testing this new release (which I seriously hope
> > for), you can find it in your setup-x86.exe or setup-x86_64.exe as
> > "test" release.
> >
> >
> >
> I take it from now on it should be OK to take the default for=20
>=20
> __cxa_atexit
>=20
> when configuring to build gcc.  Thanks for explanation.
> I'm repeating some tests with 1.7.33-0.8 and gcc/gfortran 4.9.2-1
>=20
> no surprises, thanks (following segfault apparently unchanged, running wi=
th AV and Defender disabled, but failure not seen with gfortran 5.0):
>=20
> Program received signal SIGSEGV: Segmentation fault - invalid memory refe=
rence.
>=20
> Backtrace for this error:
> 1181925 [main] profile_omp 3684 fixup_mmaps_after_fork: ReadProcessMemory=
 failed
>  for MAP_PRIVATE address 0x6FE5FC60000, Win32 error 998

This probably means that there's an mmap'ed memory region which Cygwin
has in its bookkeeping list, but which doesn't exist in the parent
process anymore.  The problem here is that it's totally unclear how
something like this could have happened.

> 2248013 [main] profile_omp 3684 C:\users\tim\tim\tim\src\campbell\Profile=
_send_3
> Nov14\profile_omp.exe: *** fatal error in forked process - recreate_mmaps=
_after_
> fork_failed
> 3891395 [main] profile_omp 3684 cygwin_exception::open_stackdumpfile: Dum=
ping st
> ack trace to profile_omp.exe.stackdump
>       6 [main] profile_omp 1992 fork: child -1 - forked process 3684 died=
 unexpe
> ctedly, retry 0, exit code 0x100, errno 11
>   11849 [main] profile_omp 1992 cygwin_exception::open_stackdumpfile: Dum=
ping st
> ack trace to profile_omp.exe.stackdump

Does that happen under Cygwin 1.7.32 as well?  Can you create a simple
testcase, preferredly in plain C, which allows to reproduce this?


Thanks,
Corinna

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

--XuV1QlJbYrcVoo+x
Content-Type: application/pgp-signature

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

iQIcBAEBAgAGBQJUYJ4IAAoJEPU2Bp2uRE+gdK0P/0Xm4AiRGxxB91m9C2hljvDU
kHNetvNPjT0ewXMAM7Q/TgujuG33iVJP6ce07k+M8/iiP5MZaqRyHoDbGJ97fDcm
28eBV9fSwgS7X4NKZMVInvrsjb8TmAi+FlmiC322iZFuMcBjn3pXjcwi7nkrjOAt
lhVd7o1mf8Yk/mPiBCVyj+SIOsdns5yvUN3QW3goO14Zc+UwrnjJp0Yx5stKFYwe
CD7CFoC4t3X2i6x6IUGWF0xXlAfGs1l8MvtS4Pn2sqW37YUktBcc8D6dXlBLv5hT
k6hZ6J5+Voe43yIQUeNoM80QrtrPrC6RQltR9pk14Fw9plJtngDXGzUcZX2fWX6w
5IlpO55jiMNoiX2j6Sh7F/BgfWwSvAv0RIJslaix7B85yDfb3xliYSTLeSnimKJK
0xtKUjIJ7qoxwf43A6mtYoRE9uXrZidcs36I3gBC55rStcmyTeRoml3NAixtjXcd
HSLqKpa9ZzF4AKnFTHq9pNqEwaDUG0SRDYnCN+z628VtqtY72tpAMggvhC3RKIbr
GnwSyCymhq5yDJfxTr271iXeYKFLvIFi3zYySl+GH/pWGA9OI4l1gdwNphvaxRBz
4t9kHgXzbNR63SIS7p/WRdtWjO7ogkYVJRwNab9sLliqX6zw0Vo0UORMBYwqswNO
6Q1jsbXHplSMszW0SAVL
=+kVd
-----END PGP SIGNATURE-----

--XuV1QlJbYrcVoo+x--

- Raw text -


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