X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 25 Jun 2009 11:01:41 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cygcheck triggers Wow6432Node infinite loop on Windows Server 	2008
Message-ID: <20090625090141.GN7289@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4A4269D4.4000508@hagenaars.com> <20090624193047.GA1472@ednor.casa.cgf.cx>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20090624193047.GA1472@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Jun 24 15:30, Christopher Faylor wrote:
> On Wed, Jun 24, 2009 at 02:00:52PM -0400, GJ Hagenaars wrote:
> >Hi there,
> >
> >On a Windows Server 2008, running cronbug from the (bash) command line 
> >results in an ever increasing cronbug.txt file because cygcheck walks 
> >the registry and gets into an infinite loop.
> >
> >It will repeatedly find these entries, deeper and deeper in the registry:
> >Cygnus Solutions
> >Cygnus Solutions\Cygwin
> >Cygnus Solutions\Cygwin\mounts v2
> >Cygnus Solutions\Cygwin\mounts v2\/
> >Cygnus Solutions\Cygwin\mounts v2\/usr/bin
> >Cygnus Solutions\Cygwin\mounts v2\/usr/lib
> >Cygnus Solutions\Cygwin\Program Options
> >
> >HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygnus Solutions
> >HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Wow6432Node\Cygnus Solutions
> >HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Wow6432Node\Wow6432Node\Cygnus 
> >Solutions
> >HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Wow6432Node\Wow6432Node\Wow6432Node\Cygnus 
> >Solutions
> >
> >
> >Wow6432Node is Windows-on-windows, and allows registry entries for 32 
> >bit applications to be stored along side registry entries for 64 bit 
> >applications of the same name (allowing for different entries for 64 bit 
> >and 32 bit apps).  The infinite loop behaviour is known and "fixed" by 
> >Microsoft by making the registry key HKLM\Software\Wow6432Node hidden 
> >from RegEnumKeyEx in the 32 bit hive.
> >
> >http://msdn.microsoft.com/en-us/library/ms724072(VS.85).aspx 
> ><http://msdn.microsoft.com/en-us/library/ms724072%28VS.85%29.aspx>
> >
> >Many registry cleaners are (still) struggling with this, as are registry 
> >backup utilities, and also, it appears, cygcheck.
> 
> Which version of cygcheck is this?  Does it come from 1.7 or 1.5?

I fixed that for the 1.7 cygcheck in January.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

