delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/25/05:05:22

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=HXMttdoEWIIat/eBOnu54JNtZz+LACJl+8FpQzuoIB8LGq8brLB+X
e/cbYFIRgzSU4O4LTQvSXG7a3EEgKdV23sZEA8HgwN7JrmykREMV4xleyWlWzuU2
zoaxu5avRBpJdZrQwKfRtUijQBfslKFshNgYgNVK+6ufiwLjPVIiNA=
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=UwUhIri+AOFjVs38y8RCU92aR7Y=; b=WGXWdNGA4Y63N8ZN3NC0htoVNcFb
L/4WbvO0Lj86ESRGR8xg3euonbQ4XFt277wAu4a9pIdNRkRUvhZLrCfXMSS6LBZK
n3iRgpTqLP+kO7Bcsu4Nz5FRVrCY410kEEG8GN2Xbllq0KV/3EqZVNCB2bfwBrzu
ES7w+VbJ/x/BIA4=
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=flaw, timer, tomorrow
X-HELO: mout.kundenserver.de
Date: Mon, 25 Feb 2019 11:03:00 +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: <20190225100300.GH4133@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>
MIME-Version: 1.0
In-Reply-To: <3142aff3-c7c3-187f-233e-089c5dc15ea2@cornell.edu>
User-Agent: Mutt/1.11.3 (2019-02-01)

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

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"

-----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--

- Raw text -


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