delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/25/15:23:34

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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=DXxW3JddjwbOUU2SYmCor20iwPlcOShmoyBBGRBF2M4+EnA95zFWo
7gOYNJJoWMEzIQ/iomXhZN4eOk437mAb1YBrGiw65esU7t6uo7Y+QU8+W2h/8lTh
tYNS2+Ba+6QE9GB9V53IhBWeMn54Zkay3Mm8D7c1lxs7yT0eI+C4uA=
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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=5ubHKzc9AGZHNnf17yc0/k3CN9k=; b=aJTs0F4xji8wojfwP1e9WNDUJh8D
6cKbQ3ia9aNSUjqpyvLY/z7R3tNOXw2b9tNRrV6EcRRo1UaY6DldiD3+sYUyq1y3
kEVwXuZv5TZj0UcuQtNyCQ8pwUQRukHR+7TeLDpB2vah+CUUO/7y64mxnopR645Z
OH0mIhlyY8pupFc=
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-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=Hx-languages-length:2083, timer, tomorrow
X-HELO: mout.kundenserver.de
Date: Mon, 25 Feb 2019 21:20:50 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: Ken Brown <kbrown AT cornell DOT edu>
Cc: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Fork issue with timerfd
Message-ID: <20190225202050.GP4133@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: Ken Brown <kbrown AT cornell DOT edu>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
References: <ca9a38b7-c147-78a3-0660-70aa65b41eb3 AT cornell DOT edu> <20190224185524 DOT GE4133 AT calimero DOT vinschen DOT de> <20190224190908 DOT GB10574 AT calimero DOT vinschen DOT de> <20190224195255 DOT GF4133 AT calimero DOT vinschen DOT de> <133d62b5-afd5-ae73-b950-7b50471e111e AT cornell DOT edu> <3142aff3-c7c3-187f-233e-089c5dc15ea2 AT cornell DOT edu> <20190225100300 DOT GH4133 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20190225100300.GH4133@calimero.vinschen.de>
User-Agent: Mutt/1.11.3 (2019-02-01)

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

On Feb 25 11:03, Corinna Vinschen wrote:
> 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 firs=
t 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 for=
k!
> > >>>>>          0 [main] emacs 860 dofork: child 864 - died waiting for =
dll 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-=
bit only,
> > > since that was the only arch on which I could produce the problem rel=
iably.
> > > Previously I got the error every time I ran emacs.  I just tried 5 ti=
mes with
> > > the new snapshot and only got the error twice.
> >=20
> > I withdraw that statement.  After further tries, it's back to happening=
 every time.
> >=20
> > > I'll work on this some more tomorrow and see if I can modify the emac=
s code so
> > > that it gives me the full error message from Cygwin.
>=20
> 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.

I pushed a patch and uploaded new developer snapshots to
https://cygwin.com/snapshots/

Please try.


Thanks,
Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--3eH4Qcq5fItR5cpy
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlx0TiEACgkQ9TYGna5E
T6CahQ/+KMI6xA92O7Q4mfVugkHmY5zsnA8xorwFTzU2toyHHfUWWyI0MkYdg261
ggQL1zs1BTXp/Fq9+/UgvibsCRVIhRnZRf/QGfkMXX2j9qgHGTlc1LAsfOmYWqUg
6LmpSywn6WOtqCa23uOgaFDKJqvZFrnCcLd9IJiLVLvwwZp/svodNQ1ZuxonotxH
lOqmvO/Nd33MdQmpmd9MxGrPslqpjLQhc2OH3dB5TkxvUH4XRCRxusEfZMyHRWTm
/nWUb8Gid57FYk2ReO/NJuZ761na/ExDMxAaVhdfnbSx5tj8HfpQCqBycWSBO7K2
BMyEmaGNU4CvlezRkArGoL5Oqdu2yKhqyT/K7GURs6OmnQpFGGKbZox8jJD9Oh+X
EY6jZkFSW5FP4mUe9FgJZMXywSBie07dElPKhkzyEFFTyZFbV1lTrtlVNwgFy9jb
bgbKSUrshlVyNIdEqEtdz/qWO1SDeLHrzIFT8ikBLKjIdC2H9ss5hAohuLSS5MD1
kJETej0fNsmnnSLHINmDmss9s1xHFsb33yGVQK9Qc/QHKoLLs2MtY2xUNiqltnRi
t4wYgU5vuv+1TM4RxkMWyCvBJLe4lqDSpulN9IqXQY0lF/tnYOimHuuJ7vuvGBZJ
suiEuuQX+qlN9O/u4ht0of5aqliDEhPcrOXhYUTfSHpqbzXy4IU=
=/OgR
-----END PGP SIGNATURE-----

--3eH4Qcq5fItR5cpy--

- Raw text -


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