This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: ls.exe hangs on inaccessible directory if ntsec is turned off
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 3 Mar 2006 17:12:58 -0000
- Subject: RE: ls.exe hangs on inaccessible directory if ntsec is turned off
On 03 March 2006 16:39, Christian Franke wrote:
> Hi,
>
> with the current cygwin1.dll 20050203, ls.exe hangs on access of an
> inaccessible directory if ntsec is turned off.
>
> Steps to reproduce on XP Prof:
>
> $ CYGWIN=ntsec ls "/cygdrive/c/System Volume Information"
> ls: /cygdrive/c/System Volume Information: Permission denied
> # OK
>
> $ CYGWIN=nontsec ls "/cygdrive/c/System Volume Information"
> ls: /cygdrive/c/System Volume Information: Permission denied
> # *** ls hangs with 100% CPU ***
>
> Bug is present since cygwin1.dll 20050128, 20050127 was OK.
>
> Christian
It appears to be running to completion and then hitting an infinite loop at
(gdb) info symbol 0x61002148
_cfree@4 + 40 in section .text
which is called from exit(). Can't do better than that yet, I can't seem to
get these separate .dll/.dbg files to play together right now...
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/