X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <12bafae7207ba5fda0e4aea16abfee55@mattpacker.com>
References: <12bafae7207ba5fda0e4aea16abfee55@mattpacker.com>
Date: Thu, 14 Apr 2011 19:07:37 +0100
Message-ID: <BANLkTinAhkD4apwD0=L_gLe5ve4mOp2ZUg@mail.gmail.com>
Subject: Re: 1.7.7: mv.exe hangs on locked directory
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
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 14 April 2011 13:01, Matt Packer wrote:
>
> This behaviour occurs on CYGWIN_NT-6.1-WOW64 1.7.7(0.230/5/3) 2010-08-31
> 09:58. On Win7 x64 SP1 (Also occurs on SP0)
>
> Repro Steps:
>
> Open Bash window 1
> ====
> mkdir ${TMP}/foo;
> cd ${TMP}/foo;
>
> ===Leave this window open===
>
> Open Bash window 2
> ====
> mv ${TMP}/foo ${TMP}/bar;
>
> This will hang indefinitely and produce no fail message. This is a new bug,
> as when trying on an older version (CYGWIN_NT-6.1-WOW64 1.5.25(0.156/4/2)
> 2008-06-12 19:34) it shows an error and terminates.
>
> I have tried copying over both bash.exe and mv.exe from this old version to
> the new version however this does not resolve this problem.
>
> Any suggestions I can try?

Yep, try latest Cygwin, because 1.7.8 reinstated the ability to move
or delete working directories of Cygwin processes.

Andy

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

