delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/01/00:36:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX18ctiVHEniMa6DhjmKbw/KX
Date: Tue, 1 Jan 2013 00:36:06 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Intermittent failures retrieving process exit codes - snapshot test requested
Message-ID: <20130101053606.GB18911@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20121221193620 DOT GA29203 AT ednor DOT casa DOT cgf DOT cx> <50D4E144 DOT 706 AT gmail DOT com> <20121222024943 DOT GA5773 AT ednor DOT casa DOT cgf DOT cx> <20121222031430 DOT GA8355 AT ednor DOT casa DOT cgf DOT cx> <50D57818 DOT 1070706 AT gmail DOT com> <20121222175041 DOT GA14475 AT ednor DOT casa DOT cgf DOT cx> <20121223165621 DOT GA9935 AT ednor DOT casa DOT cgf DOT cx> <50DCB454 DOT 9030400 AT coverity DOT com> <20121229215725 DOT GA18847 AT ednor DOT casa DOT cgf DOT cx> <50E23F98 DOT 1060004 AT coverity DOT com>
MIME-Version: 1.0
In-Reply-To: <50E23F98.1060004@coverity.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Mon, Dec 31, 2012 at 08:44:56PM -0500, Tom Honermann wrote:
>On 12/29/2012 04:57 PM, Christopher Faylor wrote:
>> On Thu, Dec 27, 2012 at 03:49:24PM -0500, Tom Honermann wrote:
>>> When interrupting the test run, I'll often (but not always) get the
>>> following error:
>>>
>>> c:\>test-strace.bat
>>> test...
>>> test...
>>> test...
>>> test...
>>> --- Process 8092, exception 40010005 at 75E26D67
>>
>> That is coming from strace and it's:
>>
>> /usr/include/w32api/ntstatus.h:#define DBG_CONTROL_C ((NTSTATUS)0x40010005)
>>
>> i.e., it's expected.
>
>Ah, sorry, I should have researched that further before reporting it. 
>Thanks for the explanation.
>
>>> Additionally, some of the Cygwin gcc built utilities that I've built for
>>> testing now occasionally hang upon interruption by ctrl-c.  Basic
>>> diagnostics courtesy of gdb follow.
>>
>> The hang should be fixed in the latest snapshot.
>
>I'm still seeing hangs in the latest code from CVS.  The stack traces 
>below are from WinDbg.

I'm not asking you to build this yourself.  I have no way to know how
you are building this.  Please just use the snapshots at

http://cygwin.com/snapshots/

>I manually resolved the symbol references within 
>the cygwin1 module using the linker generated .map file.  Since the .map 
>file does not include static functions, some of these may be incorrect - 
>I didn't try and verify or correct for this.

Thanks for trying, but the output below is garbled and not really
useful.  If you are not going to dive in and attempt to fix code
yourself then all we normally need is a simple test case.  WinDbg
is not really appropriate for debugging Cygwin applications.

cgf

>  # ChildEBP RetAddr
>00 00288bd0 758d0a91 ntdll!ZwWaitForSingleObject+0x15
>01 00288c3c 76c11194 KERNELBASE!WaitForSingleObjectEx+0x98
>02 00288c54 76c11148 kernel32!WaitForSingleObjectExImplementation+0x75
>03 00288c68 610f1553 kernel32!WaitForSingleObject+0x12
>04 00288cb8 6118e54d cygwin1!strtosigno+0x357
>                              __ZN4muto7acquireEm
>                              muto::acquire(unsigned long)
>[snip]

--
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