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=dCn7AqKGQbMPXDYBUPp2/xevtDEJs O/B9VdqQBLvLd9F2j6+VYVlp4MPYSJCYic8xZb4xZQrZLZ8qxlJ1p2z89DLNWp9E mZCVnhtQcTgW8XEPH5j/NVZxl2TydB/DeWRHb3iX1QwmM8TLYit0okwsSCfeNFDk 3KDGNBNW907REI= 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=ok8avPU1qcl6qHW4KAHlCAolyzY=; b=voO DjAsA/D+Gnoi9vw/IaSWrq1Jb2/miHnEfrIIhT867aDSKretms0kNOOme83Ry6mV hmbLYfxJP/ywWvOkbTdZBWUH6FBR4Q8ogqykVqKOE4A/EDwBvgj5lKvgytR7OX8a c0bjvJc1XwVu/Qx9JivFWXdq2S8A5pbq+E7rGjAc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=mouse, HX-Languages-Length:2497 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=u7MRhAjUk5YkJiRB/PKQcjKdGKliRbATDGbmjjH7F1U=; b=qVcyEHSxbuphScehXwkL702SKfLBq0+f9TB8DrR9HoxU1O6hLCWGXI7hT65Gsu++tNz++dPWwZIGgZdHu5mN3tzlbeIeFIgJLJcWl0OzAT1EuKkcoLvYnTVIpA7F/IixeIdm5ColLCmWQgfTjIFI3XCqdr1iPteBp1cWZDw1L4c= From: Ken Brown To: "cygwin AT cygwin DOT com" Subject: Re: Fork issue with timerfd Date: Fri, 8 Mar 2019 22:03:55 +0000 Message-ID: References: <67d143c997f2d873435647acebd2226c4e8661d3 DOT camel AT upcmail DOT hu> <20190306212324 DOT GD3785 AT calimero DOT vinschen DOT de> <9d6bb43680524d3ab7878ae7a0cae233 AT vsrv060ex03 DOT ssd DOT fsi DOT com> <20190308202205 DOT GR3785 AT calimero DOT vinschen DOT de> In-Reply-To: <20190308202205.GR3785@calimero.vinschen.de> 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 Content-Type: text/plain; charset="utf-8" Content-ID: <3B700BB9709A294D9C138B25494C9C3C AT namprd04 DOT prod DOT outlook DOT com> MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x28M4Arf006678 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. 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