This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: HISTFILE in zsh


On Mon, 16 Jan 2007, Eli Barzilay wrote:

"Peter A. Castro" <doctor@fruitbat.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@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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]