From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.bugs Subject: bug#14569: 24.3.50; bootstrap fails on Cygwin Date: Mon, 01 Jul 2013 07:21:25 -0400 Message-ID: <51D16635.5080609@cornell.edu> References: <51BC720D.7080504@alice.it> <51BDB979.3040508@cornell.edu> <20130616150141.GB3622@ednor.casa.cgf.cx> <51BDFB25.8080101@cornell.edu> <51BE01EC.3000701@cornell.edu> <51C60DEB.8030804@alice.it> <51C75149.1070609@alice.it> <51C793FA.9070806@cs.ucla.edu> <51C8275A.4080307@cornell.edu> <51C886D5.3030704@alice.it> <51C8B4AD.7050609@cs.ucla.edu> <51C8DB3A.7050206@alice.it> <51CC529B.9090809@cs.ucla.edu> <51CC9340.3080307@cornell.edu> <51CD7F92.40007@cornell.edu> <51CDA2A0.10400@cs.ucla.edu> <51CDABD3.4070207@cornell.edu> <51CE02D6.1010702@cornell.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372677728 28441 80.91.229.3 (1 Jul 2013 11:22:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jul 2013 11:22:08 +0000 (UTC) Cc: "14569@debbugs.gnu.org" <14569@debbugs.gnu.org>, Angelo Graziosi To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 01 13:22:08 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UtcBL-0001kY-Tl for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jul 2013 13:22:08 +0200 Original-Received: from localhost ([::1]:45799 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtcBL-0008NK-Bp for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jul 2013 07:22:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtcBH-0008MP-WA for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2013 07:22:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtcBG-0007XQ-PZ for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2013 07:22:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtcBG-0007XM-NN for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2013 07:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UtcBG-0002Dq-7I for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2013 07:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jul 2013 11:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14569 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14569-submit@debbugs.gnu.org id=B14569.13726777068509 (code B ref 14569); Mon, 01 Jul 2013 11:22:02 +0000 Original-Received: (at 14569) by debbugs.gnu.org; 1 Jul 2013 11:21:46 +0000 Original-Received: from localhost ([127.0.0.1]:49925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtcAz-0002D8-Vg for submit@debbugs.gnu.org; Mon, 01 Jul 2013 07:21:46 -0400 Original-Received: from limerock04.mail.cornell.edu ([128.84.12.60]:40521) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UtcAx-0002Cq-Fd for 14569@debbugs.gnu.org; Mon, 01 Jul 2013 07:21:44 -0400 X-CornellRouted: This message has been Routed already. Original-Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id r61BLTws023074; Mon, 1 Jul 2013 07:21:30 -0400 Original-Received: from [192.168.1.6] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id r61BLSr0025556 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 1 Jul 2013 07:21:29 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <51CE02D6.1010702@cornell.edu> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75758 Archived-At: On 6/28/2013 5:40 PM, Ken Brown wrote: > I've done some further testing [*] and determined that the bootstrap failures always occur as a result of the tickling, as I had hoped. This should mean that, if my patch is applied, the only problem will be a possible random crash right after emacs is started. The only question is how often this will happen in practice. I think we can only determine this by applying the patch and asking users to test it. Last night I began running a loop in which emacs (patched as I proposed) repeatedly starts and then exits after 15 seconds [*]. So far there hasn't been a single failure after more than 1300 iterations. I don't know what's different about bootstrapping, but it seems that tickling Glib doesn't cause problems on Cygwin in ordinary interactive use of Emacs. (Keep in mind that my previous test, quoted above, showed that the failure during bootstrapping always occurred within 1 second after Glib got tickled.) If no one objects, I'll go ahead and apply my patch later today. Ken [*] I'm running the following script: #! /bin/bash count=0 while true do count=$((count + 1)) echo "Try $count; starting Emacs." if emacs -l test_emacs.el then echo "Emacs exited normally." else echo "Emacs exited abnormally." fi sleep 1 done test_emacs.el contains the following: (sit-for 15) (kill-emacs)