delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 3 Mar 2006 21:36:49 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ls.exe hangs on inaccessible directory if ntsec is turned off |
Message-ID: | <20060303203649.GF3184@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <1FFDId-1bRebI0 AT fwd35 DOT aul DOT t-online DOT de> <20060303202819 DOT GD3184 AT calimero DOT vinschen DOT de> |
Mime-Version: | 1.0 |
In-Reply-To: | <20060303202819.GD3184@calimero.vinschen.de> |
User-Agent: | Mutt/1.4.2i |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 3 21:28, Corinna Vinschen wrote: > At one point in opendir() a file handler is added to the descriptor > table. This happened at a point at which it was already clear that > opendir would succeed. Due to my changes from end of January this > wasn't true anymore. The entry in the descriptor table was filled > and *then* opendir tries to open the directory with NtOpenFile. > This in turn leads to opendir deleting the file handler structure. ...if NtOpenFile fails. > No problem... until the process exits and Cygwin tries to delete > the file handler entry again in the cleanup code. Or, with a lot > less words: Cygwin called free twice on the same address. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |