X-Spam-Check-By: sourceware.org
Date: Fri, 12 Jan 2007 23:31:45 -0800 (PST)
From: "Peter A. Castro" <doctor@fruitbat.org>
To: Eli Barzilay <eli@barzilay.org>
cc: cygwin@cygwin.com
Subject: Re: HISTFILE in zsh
In-Reply-To: <m34prm7ebt.fsf@winooski.ccs.neu.edu>
Message-ID: <Pine.LNX.4.63.0701122327540.3913@gremlin.fruitbat.org>
References: <m34prm7ebt.fsf@winooski.ccs.neu.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
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 Sat, 23 Dec 2006, Eli Barzilay wrote:

Greetings, Eli,
   (Sorry for the long delay, vacation, etc etc.)

> I'm having the same problem that is described at
>
>  http://www.cygwin.com/ml/cygwin/2004-12/msg00195.html
>
> I'm surprised that it was reported in 2004 -- I use cygwin on several
> machines with no problems, it's only a new one that is having the
> above symptom.
>
> (Which is related to saving/loading the history file -- `fc -R foo'
> and `fc -W foo' also hang.  Using strace, it looks like the problem is
> some kind of an infinite loop that is related to a lock file for the
> history file.)

I've seen this reported before, but I still can't seem to reproduce it.
Can you collect the system info as per http://www.cygwin.com/problems.html

In your debugging, what routine were you seeing the loop?  Was it zsh
code or cygwin code?  Was it a system call returning a bad value?  I'd
like to track this down finally.

Lastly, have you tried the latest cygwin snapshot?

Thanks!

-- 
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
 	"Cats are just autistic Dogs" -- Dr. Tony Attwood

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

