delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/19/16:48:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <400C50C4.5020901@acm.org>
Date: Mon, 19 Jan 2004 13:48:52 -0800
From: David Rothenberger <daveroth AT acm DOT org>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: regtool freezes on XP (Was: Re: [ANNOUNCEMENT] Updated: cygwin-1.5.6-1)
References: <20040119155641 DOT 814B9400172 AT redhat DOT com> <buhihj$cut$1 AT sea DOT gmane DOT org>
In-Reply-To: <buhihj$cut$1@sea.gmane.org>
X-IsSubscribed: yes

I think the problem is bash, not regtool.  The following script also 
displays the problem:

---begin script---
#!/bin/sh
ls
---end script---

Running the script through /bin/sh makes the problem go away.  (I.e., 
execute "sh -c scriptname.sh" from the Run menu.)

Dave

Rolf Campbell wrote:
> When I run this script *not* from another cygwin program (Windows Run 
> menu as "bash -c scriptname.sh", or from W32 GNU Emacs)
> ---begin script----
> #!/bin/sh
> echo -n Getting location...
> regtool get '\'
> ---end script----
> I get the expected output:
> Getting location...Unknown key prefix.  Valid prefixes are:
>     root
>     HKCR
>     HKEY_CLASSES_ROOT
>     config
>     HKCC
>     HKEY_CURRENT_CONFIG
>     user
>     HKCU
>     HKEY_CURRENT_USER
>     machine
>     HKLM
>     HKEY_LOCAL_MACHINE
>     users
>     HKU
>     HKEY_USERS
> 
> 
> BUT, it then freezes (that is sh.exe freezes, after regtool finishes) 
> (Ctrl+C does nothing, kill -9 does nothing, /bin/kill -f works).  This 
> worked correctly in 1.5.5, and it still works on my Win2000Pro box, but 
> not on my XP box.  It does not matter what arguments you pass to regtool 
> (I just tried it with none and it still froze).  This is a hyperthreaded 
> machine (if that makes any difference).  I can try it with HT turned off 
> if you want.
> 
> 
> ------------------------------------------------------------------------
> 
> --
> 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/



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019