delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/10/17:55:20

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=Y2PNHj6G96cr0g1B3Osg97ZiBsU5eEeDzNaubvJUJLv
qo3ttf9/KLdppp1Dxy3ghv9xsns79GLvkR+2ezps1EViw2160VBX9HgNCz3QCSOz
cmIVITWQtdGIRArDZ54bMsM89LkOSZBdCMqu71eGR0uMpCLperLq0YXdJ7z4eihk
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=pMIf2wVKUTwTUTnZgqiOwDl5xlQ=; b=x0pmCVzBuaI0Ork0P
Xd1pQvXrFSaOTNvhoGnwZjjEA2iwaxCEUsxIsWE6kwckbmYj5SVlsBgKM1zqcJct
mw72KbHnrw2rpWs4OxWtkpFIsGLA1ls6etldaNFfzc7/SC56nyoNmiV8fSWkOPH+
7Fd9dC35al97/DOdruH6iNpY+Y=
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
X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.1
X-CornellRouted: This message has been Routed already.
Message-ID: <51DDD82F.6050100@cornell.edu>
Date: Wed, 10 Jul 2013 17:54:55 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: emacs problem
References: <m9hik3kyjnk9 DOT fsf AT W0144758 DOT usac DOT mmm DOT com> <51DDAE03 DOT 2040209 AT cornell DOT edu> <20130710205538 DOT GA5740 AT ednor DOT casa DOT cgf DOT cx> <20130710211014 DOT GA2699 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20130710211014.GA2699@ednor.casa.cgf.cx>
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown AT cornell DOT edu - Wed Jul 10 17:54:58 2013
X-PMX-CORNELL-REASON: CU_White_List_Override

On 7/10/2013 5:10 PM, Christopher Faylor wrote:
> On Wed, Jul 10, 2013 at 04:55:38PM -0400, Christopher Faylor wrote:
>> On Wed, Jul 10, 2013 at 02:54:59PM -0400, Ken Brown wrote:
>>> On 7/10/2013 2:07 PM, J. David Boyd wrote:
>>>>
>>>> I'm starting to see this error quite a bit in the terminal window I started
>>>> emacs from:
>>>>
>>>> 0 [main] emacs-X11 19400 C:\tools\cygwin\bin\emacs-X11.exe: *** fatal error in
>>>> forked process - failed to create new win32 semaphore, Win32 error 87
>>>
>>> Have you tried rebaseall
>>> (http://cygwin.com/faq.html#faq.using.fixing-fork-failures)?  This isn't
>>> the typical error message you see from rebase problems, but it can't
>>> hurt to try.  If that doesn't help, maybe you could test the build I
>>> mentioned at
>>
>> That doesn't look like the standard fork problem, Ken.  The error comes
>>from semaphore::_fixup_after_fork:
>> ...
>> Error code 87 is ERROR_INVALID_PARAMETER.  The only two things that I
>> can see which would cause that problem are "sec_non_nih" and
>> currentvalue.
>>
>> I'll change the error to report on currentvalue.  I assume that
>> currentvalue must be zero for some reason here and that is what is
>> causing the problem but it would be nice to know for sure.
>
> The current snapshot has this change and a shot-in-the-dark attempt to
> fix the reported problem as well.

Thanks.  It's also possible that this isn't a Cygwin problem.  There are 
known race conditions between emacs-24.3 and glib, which have been fixed 
in the newer version of emacs that I asked Dave to test.

Dave, instead of trying the new emacs right away, would you be willing 
to install the cygwin snapshot and see if that fixes the problem?  If 
not, could you report the error message and then try the new emacs?

Thanks.

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