Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/