ls.exe hangs on inaccessible directory if ntsec is turned off
Dave Korn
dave.korn@artimi.com
Fri Mar 3 17:13:00 GMT 2006
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/
More information about the Cygwin
mailing list