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 From: "Etienne Huot" To: Subject: Re: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory" Date: Tue, 17 Feb 2004 12:51:55 +0100 Message-ID: <014301c3f54c$70d40a90$151a5d80@pcphuot> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! References: I have experienced exactly the same problem! On two different machines running XP. But actually, I'm not sure this is due to the new DLL version. It happens firts using an older version but the bugs disappered strangly after a several usings. In an other hand, it happens on this computer I am currently using since Windows asked me to change the amount of virtual memory. I've tried to upgrade to the latest version version but the problem still occurs each time I invoke a tcsh. The amount of memory used by the tcsh process (visualized using windows task manager) doesn't stop to grow! The very strange thing is that I launch tcsh with the -f option it works very well (about 3000Kb used by the process). After that, if I do a source /etc/csh.cshrc and/or source /etc/csh.login... it's still working good. So I have tried to remove all /etc/csh* and ~/.tcshrc or ./cshrc, the behaviour is always the same: memory problem whithout the -f and no problem at all with it. Using a simple .tcshrc containing only a: echo allo produces this when using the -X option: bash-2.05b$ tcsh -X echo allo allo And the memory problem is still here... Note that if I press CTRL-C few seconds after launching tcsh (no option) it produces a usable tcsh shell, but the problem of memory allocation reappears when exit is typed to terminate the shell process. Etienne DOT Huot AT inria DOT fr >> Hi, >> >> I have been using cygwin on my NT 4.0 box with tcsh as my login shell. >> After upgrading to cygwin 1.5.7-1 from cygwin.com, tcsh has stopped >> working. >> >> If I start tcsh either from command line or run menu or as a login >> shell, it hangs for a long period of time after displaying motd. >> It eventually comes out of slumber with a message "Out of Memory" and >> exits. >> >> I ran it with verbose and echo flags set and it seems to go through my >> .cshrc file successfully but get stuck after that. It was working fine >> with the same startup files before the upgrade. >> >> All other shells; bash, ksh etc. are working fine. >> >> Below is the output of cygcheck -c -s -v -r command. It was run after I >> changed my login shell to ksh. Would very much like to go back to my >> settings on tcsh. >> Thanks very much for your help. >> >> Sirish > >In the future, please *attach* the output of cygcheck, since it plays hell >with archive searches (introducing false positive hits). > >One obvious thing wrong with your cygcheck output is that you have two >copies of cygwin1.dll on your machine, and, worse, in your PATH. The one >in r:\Eng-sw\bin should be removed -- it's old. > >As for your tcsh hang, I suspect one of the programs or functions called >from the startup files is the culprit. If deleting the extra cygwin1.dll >doesn't cure it, I'd suggest running "tcsh -f" from a DOS prompt. If it >doesn't hang with "-f", try determining where it hangs by calling "tcsh >-X" (note the capital "X"). If it still hangs, you might want to build a >debug version and spend some time in gdb. > Igor -- 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/