This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cat /proc/registry/HKEY_PERFOMANCE_DATA/@ hangs


David,

since that doesn't look too good, I tried it on NT4 SP6 as well as
on XP SP1.  I can't reproduce the below problems in either system.
Does that only happen on W2K perhaps?  Depending on the SP?

Corinna


On Jul 13 16:07, Dave Korn wrote:
> Heh.  Check this:
> 
> dk@mace ~> cd /proc/registry/
> dk@mace /proc/registry> ls
> HKEY_CLASSES_ROOT    HKEY_CURRENT_USER  HKEY_LOCAL_MACHINE    HKEY_USERS
> HKEY_CURRENT_CONFIG  HKEY_DYN_DATA      HKEY_PERFOMANCE_DATA
> dk@mace /proc/registry> ls -la
> Segmentation fault (core dumped)
> dk@mace /proc/registry>
> 
> next I type 'ls' <space> <tab> to get
> 
> dk@mace /proc/registry> ls HKEY_
> 
> then I press P <tab> and the bash window vanishes !!
> 
> 
> And check this too:
> 
> dk@mace /proc/registry> getfacl HKEY_PERFOMANCE_DATA
> Segmentation fault (core dumped)
> dk@mace /proc/registry> getfacl *
> # file: HKEY_CLASSES_ROOT
> # owner: Administrators
> # group: SYSTEM
> user::r-x
> group::r-x
> other:---
> mask:rwx
> 
> # file: HKEY_CURRENT_CONFIG
> # owner: Administrators
> # group: SYSTEM
> user::r-x
> group::r-x
> other:---
> mask:rwx
> 
> # file: HKEY_CURRENT_USER
> # owner: Administrators
> # group: SYSTEM
> user::r-x
> group::r-x
> other:---
> mask:rwx
> 
> # file: HKEY_DYN_DATA
> # owner: dk
> # group: Domain Users
> user::r-x
> group::r-x
> other:r-x
> mask:rwx
> 
> # file: HKEY_LOCAL_MACHINE
> # owner: Administrators
> # group: SYSTEM
> user::r-x
> group::r-x
> other:r--
> mask:rwx
> Segmentation fault (core dumped)
> dk@mace /proc/registry>
> 
>   There's something badly wrong: it seems that any attempt to stat or
> otherwise access it causes a segfault.
> 
>   Tell me, do you suppose the spelling mistake between HKEY_PERFOMANCE_DATA
> and HKEY_PERFO*R*MANCE_DATA could be resulting in some internal routine in
> cygwin's registry->filesystem mapping code getting called with a NULL
> pointer?
> 
> 
> 
>     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/

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]