Re: Fork issue with timerfd
- Date: Mon, 25 Feb 2019 03:21:53 +0000
- From: Ken Brown <kbrown@xxxxxxxxxxx>
- Subject: Re: Fork issue with timerfd
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 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.
> 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 reliably.
> Previously I got the error every time I ran emacs. I just tried 5 times with
> the new snapshot and only got the error twice.
I withdraw that statement. After further tries, it's back to happening every time.
> 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.