From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61633 invoked by alias); 25 Feb 2019 10:03:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 61606 invoked by uid 89); 25 Feb 2019 10:03:13 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=flaw, timer, tomorrow X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.134) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 25 Feb 2019 10:03:10 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MMp08-1ghm8w0V7M-00IkEK; Mon, 25 Feb 2019 11:03:02 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id E3FF6A80959; Mon, 25 Feb 2019 11:03:00 +0100 (CET) Date: Mon, 25 Feb 2019 10:51:00 -0000 From: Corinna Vinschen To: Ken Brown Cc: "cygwin@cygwin.com" Subject: Re: Fork issue with timerfd Message-ID: <20190225100300.GH4133@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: Ken Brown , "cygwin@cygwin.com" References: <20190224185524.GE4133@calimero.vinschen.de> <20190224190908.GB10574@calimero.vinschen.de> <20190224195255.GF4133@calimero.vinschen.de> <133d62b5-afd5-ae73-b950-7b50471e111e@cornell.edu> <3142aff3-c7c3-187f-233e-089c5dc15ea2@cornell.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KIzF6Cje4W/osXrF" Content-Disposition: inline In-Reply-To: <3142aff3-c7c3-187f-233e-089c5dc15ea2@cornell.edu> User-Agent: Mutt/1.11.3 (2019-02-01) X-SW-Source: 2019-02/txt/msg00411.txt.bz2 --KIzF6Cje4W/osXrF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1890 On Feb 25 03:21, Ken Brown wrote: > On 2/24/2019 9:23 PM, Ken Brown wrote: > > On 2/24/2019 2:52 PM, Corinna Vinschen wrote: > >> On Feb 24 20:09, Corinna Vinschen wrote: > >>> On Feb 24 19:55, Corinna Vinschen wrote: > >>>> On Feb 24 17:27, Ken Brown wrote: > >>>>> I'm seeing sporadic errors like this on 64-bit Cygwin when I first = start emacs: > >>>>> > >>>>> 0 [main] emacs-X11 864 C:\cygwin64\bin\emacs-X11.exe: *** = fatal error in > >>>>> forked process - Can't recreate shared timerfd section during fork! > >>>>> 0 [main] emacs 860 dofork: child 864 - died waiting for dl= l loading, errno 11 > >>>>> > >>>>> If I exit and restart, everything will be fine almost every time. > >>>> > >>>> I think I see where the thinko was here. Can you try this? > >>> > >>> No, better try this: > >>> [...] > >> > >> Even if this doesn't fully fix your problem, the patch itself is > >> certainly better than the former code, so I pushed it. I also > >> uploaded new developer snapshots to https://cygwin.com/snapshots/ > >> for testing. > >=20 > > It's better, but not completely fixed. At the moment I'm testing 32-bi= t only, > > since that was the only arch on which I could produce the problem relia= bly. > > Previously I got the error every time I ran emacs. I just tried 5 time= s with > > the new snapshot and only got the error twice. >=20 > I withdraw that statement. After further tries, it's back to happening e= very time. >=20 > > I'll work on this some more tomorrow and see if I can modify the emacs = code so > > that it gives me the full error message from Cygwin. I had a late night inspiration, telling me that my timerfd implementation has a design flaw in terms of fork/exec timer sharing. I guess I should fix that first. Just ignore the timerfd stuff for a bit, I'm working on that. Sorry, Corinna --=20 Corinna Vinschen Cygwin Maintainer --KIzF6Cje4W/osXrF Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxzvVQACgkQ9TYGna5E T6CfvBAAnVlfC+RAt3gsLj8gTvE7MS3mUQZpQ4DLMiQQNxLIwwxWynSgTU5Owrov 1QQjo8GjMZy1I1843d/6+53FOlTmfPPI9GSF1wek5kHOpo7Ta1uU52z8SPDi+f+I u4WU6VXluoF9hWap7plHz9rAdxJHiCPWESaUc6GYLZ0DLEyhCkDWF0Zlsrd1LpnY UKvUcbnnvj6sSnUjMTfgJ0Wsq698Nrg+X3tgv1KkudM+pcR+90FEulY67jy/UcVM Mq8MfiOzFjzxp/n3hp/eU/kXLVgeHMD2CwXuHbSxF3m+ZL4G6Axwl3xTrl7e8gV7 2WWD+5oRy7qP2WNFWlZroUmuUafWpIpvzMCjIIXsrEEPVwFj31xEQoBgCLkpfCrC yossz0vQzMtCNK7umk9DxukYHRTyVHkgygh2KAVhxDYmLe4B1oQz0cVXH89IN71I toco3mvbh39EMRE8fJrA6axPIjnKimV6EkoFYT+vx5u8nGX7vSR3pr4fFJ3O2ZKr 0pPqCiWBoKeAopXxD7J661ekj4JKtumPA/YtKRmpNen72keIzitw1NzlAKgvu5gq 1bOk6jHAPGbzaQl+OSQtC5zg7grAZLL3DdV7f/45B+AvWIrQiD17xGv2jF73XTTM btKxoUAd39wSZiK7MRvaBoviisdzoP53YehzHFdlsT4hw4l1ehA= =flT9 -----END PGP SIGNATURE----- --KIzF6Cje4W/osXrF--