delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/12/11:27:48

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 12 Mar 2010 17:27:36 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin 1.7: Concurrency Issue with Shared State Initialization
Message-ID: <20100312162736.GS6505@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <B10B50309DC54D45A855FD66F56015F71D07DD7E50 AT DEWDFECCR03 DOT wdf DOT sap DOT corp>
MIME-Version: 1.0
In-Reply-To: <B10B50309DC54D45A855FD66F56015F71D07DD7E50@DEWDFECCR03.wdf.sap.corp>
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 Mar 12 16:48, Schmidt, Oliver wrote:
> Hi,
> 
> > Does the patch help?
> 
> As the issue is sporadic it's not that easy to come up with a conclusive
> answer...
> 
> I downloaded http://cygwin.com/snapshots/cygwin1-20100309.dll.bz2, 
> unpacked and renamed the DLL and used it as drop-in replacement to the
> 1.7.1 DLL.
> 
> I experienced three times by now the effect that echo.exe "hangs" without
> using significant CPU time. Attaching a MSVC debugger I could only find
> out that in all three cases the executable stays in this endless loop:
> 
> 7D6373D2  cmp         dword ptr ds:[7D6A0220h],edi 
> 7D6373D8  jne         7D628061 
> 7D6373DE  lea         eax,[ebp-28h] 
> 7D6373E1  push        eax  
> 7D6373E2  push        ebx  
> 7D6373E3  call        7D61CCB1 
> 7D6373E8  cmp         eax,ebx 
> 7D6373EA  jge         7D6373D2 

What about building the Cygwin DLL with debug symbols and using the GDB
debugger instead of MSVC?  The latter doesn't grok the Dwarf-2 debugging
format.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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