delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/09/07:35:33

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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-id:content-transfer-encoding
:mime-version; q=dns; s=default; b=iYEaKVnsEwUqubujcTtUYOLZHwUDs
z7341GLgkNuzB5pI4fZ8QN7MRT7O3TJKvYD+YYJQxfuEpa+ftl7EJcDt7eYIeBqb
nyNWqK3qarnH7mdASUpKjDzv/3elIr4avaDCA8WgMhD2Hf03VJz5l+LitZSejspG
9+9EC2/tWIK6S8=
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:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-id:content-transfer-encoding
:mime-version; s=default; bh=eGQ4xqh701pyZ+aQDWYDgc//lvM=; b=jaN
frZaUGEC+N2VY6KJuQDn2EYHaJ/oEpwIHxkxfx9qONapTa+cxjurnsxIibibxafV
NJoTorb9PdT8oUHdwKNHZwOsdvyYX5wROIbYlbwmnNyPl85L8Q6EZguFYWjmEdBS
+ZuMrhau6DCewTTga0m6sI6cu0wqmhMMwc77GQLs=
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=-2.0 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=idle, mouse, overnight, HX-Languages-Length:2857
X-HELO: NAM05-CO1-obe.outbound.protection.outlook.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jqsEFAEeUDn8qWLOJWc/q1T9+rWkamk1YjtNSRXZyQk=; b=Qwles4mPOKuWYepHfSgwKD4j2V7aYlnFKp3MfZ3WAzFwgPbg9FXK7OjCEKlg7BPF0+GT8OBNLfgKTSV073aRQZqDfjWaR0ZauvD2O8PeW7vStfPotbhUrF5v3nlRcV5yzJsG3Ro6y1eOMGBfkUeGv+WALkatAzXBFpCHL13yNfQ=
From: Ken Brown <kbrown AT cornell DOT edu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Fork issue with timerfd
Date: Sat, 9 Mar 2019 12:35:13 +0000
Message-ID: <e9f281c9-45ed-29b3-b03f-af57b0b93bc8@cornell.edu>
References: <67d143c997f2d873435647acebd2226c4e8661d3 DOT camel AT upcmail DOT hu> <20190306212324 DOT GD3785 AT calimero DOT vinschen DOT de> <ec73c62c9f6acefea7d07a45114460dc9bfc8c54 DOT camel AT upcmail DOT hu> <9d6bb43680524d3ab7878ae7a0cae233 AT vsrv060ex03 DOT ssd DOT fsi DOT com> <20190308202205 DOT GR3785 AT calimero DOT vinschen DOT de> <d6b54bf1-bc2f-14c1-bc83-429aac9790c1 AT cornell DOT edu>
In-Reply-To: <d6b54bf1-bc2f-14c1-bc83-429aac9790c1@cornell.edu>
user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown AT cornell DOT edu;
x-ms-exchange-purlcount: 4
received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x29CZVAH019782

On 3/8/2019 5:03 PM, Ken Brown wrote:
> On 3/8/2019 3:22 PM, Corinna Vinschen wrote:
>> On Mar  8 20:10, Rockefeller, Harry wrote:
>>>>>> peter AT D11934N ~
>>>>>> $       1 [main] emacs 489 C:\CygWin\bin\emacs-w32.exe: *** fatal
>>>>>> error -
>>>>>> CreateThread failed for pipesel - 0x0<0x0>, Win32 error 8
>>>>>
>>>>> I couldn't directly reproduce this issue, but I saw emacs using more
>>>>> an more memory while the cursor was blinking.  I found a resource leak
>>>>> in posix timers which was probably the cause for this problem.
>>>>>
>>>>> I pushed a patch and uploaded new developer snapshots to
>>>>> https://cygwin.com/snapshots/
>>>>>
>>>>> Please test.
>>>> I tested this:
>>>> https://cygwin.com/snapshots/x86/cygwin1-20190308.dll.xz
>>>
>>>> emacs was on for a long time, did not crash and as far as could judge it did not leak memory.
>>>
>>>> But it froze a couple of times which I cannot recall I have ever experienced before. I mean it suddenly became deaf and dumb and while I > > was actively editing the text, both the text area and the menu line got unresponsive. I could only shut it down from the task manager,
>>>> because the red X didn't work either.
>>
>> What the heck.  The 0308 snapshot was supposed to fix these hangs as
>> described in https://cygwin.com/ml/cygwin/2019-03/msg00160.html
>>
>> Are you sure it was the 0308 snapshot and not by any chance the 0306 one?
>>
>> I can't reproduce this with 0308.  I'm typing lots and lots in emacs,
>> doing copy/paste with the mouse, and it just works with 0308.
>>
>>>> On the next week I will try the debug version in the hope that it can make a trace or something helpful. Is there a guide somewhere how to > use it?
>>
>> Install the cygwin1.dbg file into /bin and When Emacs hangs, attach with
>> gdb and print the backtrace of each thread.  That should give a hint.
>>
>>> I have been running https://cygwin.com/snapshots/x86/cygwin1-20190306.dll.xz , i.e., March 6th
>>> For a couple hours yesterday and all day today along with Ken Brown's test version of emacs (GNU Emacs 26.1.92)
>>> And have not had a hiccup.
>>> (Well, to be truthful, I'm running a lot more of Ken Brown's test software than just emacs.)
>>
>> Can you please test the 0308 snapshot with stock emacs, too?
>>
>> Ken, any chance you could test this as well?  If there really are still
>> hangs with current emacs and the 0308 snapshot, I might need a bit of
>> help.  Some kind of reproducer or some input as to the nature of the
>> hangs would be nice.
> 
> Yes, I'll fire it up now and report back tomorrow.

I used stock emacs-X11 with the 0308 snapshot for about two hours after writing 
this.  I then left it idle overnight and resumed this morning.  I haven't seen 
any problems.  It's still running, and I'll be using it again later today, after 
which I'll send one more report.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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