delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2003/03/07/10:56:37

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Message-ID: <3E68C1D5.59592245@ieee.org>
Date: Fri, 07 Mar 2003 10:59:17 -0500
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: cygwin-developers AT cygwin DOT com
Subject: Re: Winsock closesocket() problem
References: <20030306144658 DOT GB2008 AT tishler DOT net> <3E6762CA DOT 8EF5B6A8 AT ieee DOT org> <20030306154047 DOT GC2008 AT tishler DOT net> <20030307131445 DOT GC20194 AT cygbert DOT vinschen DOT de> <3E68ADBF DOT 77EF953F AT ieee DOT org> <20030307154450 DOT GF20194 AT cygbert DOT vinschen DOT de>

Corinna Vinschen wrote:
<snip>

> But as you guessed, calling the test application from a plain Win app *does*
> help.  I started a ssh session under system account, switched to cmd.exe
> and called the test app and the error disappears.
> 
> Baffled,

The last logs from Jason should help.

> > My hypothesis about that is that strace starts everyting fresh from
> > Windows. Otherwise we start from (ba)sh (or cygrunsrv), which may have
> > setup/opened "things" for us.
> 
> Might be but what "things"?  The both sockets are also "fresh" and not
> shared with any other application.

Not sure. I was thinking a dll perhaps? Something that controls access to
itself.
 
Looking at log3, where sc11.exe starts, I am really surprised by the
number of handles (27 or so, in this simple case) that are already opened.
What are they?  Is it normal? 

Pierre

- Raw text -


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