delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/18/01:14:04

X-Spam-Check-By: sourceware.org
Date: Wed, 17 Jan 2007 22:11:54 -0800 (PST)
From: "Peter A. Castro" <doctor AT fruitbat DOT org>
To: Eli Barzilay <eli AT barzilay DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: HISTFILE in zsh
In-Reply-To: <m3slebe9av.fsf@winooski.ccs.neu.edu>
Message-ID: <Pine.LNX.4.63.0701172206170.3913@gremlin.fruitbat.org>
References: <m34prm7ebt DOT fsf AT winooski DOT ccs DOT neu DOT edu> <Pine DOT LNX DOT 4 DOT 63 DOT 0701122327540 DOT 3913 AT gremlin DOT fruitbat DOT org> <m3slebe9av DOT fsf AT winooski DOT ccs DOT neu DOT edu>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Mon, 16 Jan 2007, Eli Barzilay wrote:

> "Peter A. Castro" <doctor AT fruitbat DOT org> writes:
>
>> 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
>
> You mean running cygcheck as said there?  I've put the results at
> http://tmp.barzilay.org/zsh/.

Thanks, I've grabbed a copy.

>> 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.
>
> I'm not sure, it's probably best if someone who knows more about
> zsh/cygwin will look -- so I've ran another straced zsh, and dumped
> the result in the same place.  (The bzipped file opens to about 50mb,
> the fact that it compressed down to so little is a cute way to see
> that something is stuck in an infinite loop...)

Ah, Ok, I see.  You just ran strace.  I was hoping you were in gdb or
something.  No matter.  That's Ok.  I'll debug it.

>> Lastly, have you tried the latest cygwin snapshot?
>
> It was there when I posted, so it's supposed to still be pretty
> recent.  I'm willing to try to update if you think it will help
> (otherwise, I prefer to keep a working installation).

Ah.  No.  I was refering to http://www.cygwin.com/snapshots
You can get a pre-release copy of the latest cygwin before it's
officially released.  Often times this fixes peoples problems until it's
officially rolled out.

One more thing.  Can you send me the output from the 'setopt', 'env' and
'set' commands so I can see what you have set?  Be sure to remove any
sensitive information first.  Thanks!

> (BTW, I'm reading/posting through Gmane, so please CC me.)

Sorry, but I'm not familiar with Gmane.  How would I go about CC'ing you
there?

-- 
Peter A. Castro <doctor AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT 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/

- Raw text -


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