delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/27/09:39:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <20040927133841.52171.qmail@web60302.mail.yahoo.com>
Date: Mon, 27 Sep 2004 06:38:41 -0700 (PDT)
From: Patrick Samson <p_samson AT yahoo DOT com>
Subject: Re: References to both cygwin1.dll and msvcrt.dll
To: cygwin AT cygwin DOT com
In-Reply-To: <Pine.GSO.4.61.0409270915100.17371@slinky.cs.nyu.edu>
MIME-Version: 1.0
X-IsSubscribed: yes

--- Igor Pechtchanski wrote:
> On Mon, 27 Sep 2004, Patrick Samson wrote:
> 
> > I use a dll which have references to both
> > cygwin and m$:
> > $ cygcheck /usr/share/tcl8.4/dp4.0/win/dp40.dll
> > D:/cygwin/usr/share/tcl8.4/dp4.0/win/dp40.dll
> >   D:\cygwin\bin\tcl84.dll
> >     C:\WINNT\System32\ADVAPI32.DLL
> >       C:\WINNT\System32\ntdll.dll
> >       C:\WINNT\System32\KERNEL32.dll
> >       C:\WINNT\System32\USER32.dll
> >         C:\WINNT\System32\GDI32.dll
> >       C:\WINNT\System32\RPCRT4.dll
> >     D:\cygwin\bin\cygwin1.dll <-------------
> >   C:\WINNT\System32\msvcrt.dll <------------
> >   C:\WINNT\System32\WS2_32.DLL
> >     C:\WINNT\System32\WS2HELP.dll
> >
> > Should I suspect this to be a possible source of
> trouble? Or does it
> > mean nothing?
> 
> Depends.  Usually, this results in some sort of
> trouble, mostly because of
> the separate parallel stdio, malloc, etc
> implementations.  You may be able
> to get away with it for a while if none of the
> msvcrt functions are
> actually called, but it may come back and bite you
> in the future.
> 	Igor

Since my post I found a way to reproduce on
development the problem I have on production.
At some point cygserver hits 100%CPU and Postgres
backends are no more able to serve requests.
Now I must narrow the number of components involved,
to prove that the culprit is really this DLL.
As you suggest, it may be a mess with mem alloc.

Corina, any hint?
May I expect some useful info with log or debug
options to cygserver?



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019