tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"
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 Cygwin Package Information Last downloaded files to: D:\TMP Last downloaded files from: http://cygwin.get-software.com Package VersionStatus _update-info-dir00226-1OK a2ps4.13-1 OK agetty 2.1-1 OK ash 20040127-1 OK astyle 1.15.3-3 OK autoconf2.59-1 OK autoconf-devel 2.59-1 OK autoconf-stable 2.13-5 OK automake1.7.9-1OK automake-devel 1.7.9-1OK automake-stable 1.4p6-2OK base-files 2.6-1 OK base-passwd 1.1-1 OK bash2.05b-16 OK bc 1.06-1 OK binutils20030901-1 OK bzip2 1.0.2-5OK cgoban 1.9.14-1 OK chkconfig 1.2.24h-1 OK clear 1.0-1 OK cmake 1.8.3-1OK cpio2.5-3 OK cron3.0.1-11 OK crypt 1.1-1 OK ctags 5.5-4 OK cvs 1.11.6-3 OK cygipc 2.02-1 OK cygrunsrv 0.97-1 OK cygutils1.2.2-1OK cygwin 1.5.7-1OK cygwin-doc 1.3-6 OK diff1.0-1 OK diffutils 2.8.4-1OK doxygen 1.2.18-1 OK dpkg1.10.4-2 OK ed 0.2-1 OK editrights 1.01-1 OK ELFIO 1.0.0-1OK emacs 21.2-12OK emacs-el21.2-12OK emacs-X11 21.2-12OK enscript1.6.3-3OK expat 1.95.7-1 OK expect 20030128-1 OK figlet 2.2-1 OK file4.06-1 OK fileutils 4.1-2 OK findutils 4.1.7-4OK flex2.5.4a-3 OK fontconfig 2.2.0-1OK fortune 1.8-2 OK freetype2 2.1.5-1OK fvwm2.4.7-3OK gawk3.1.3-4OK gcc 3.3.1-3OK Empty package gcc-mingw gcc-mingw 20030911-4 OK gcc-mingw-core 20031020-1 OK gcc22.95.3-10 OK gdb 20030919-1 OK gdbm1.8.3-7OK gettext 0.12.1-3 OK ghostscript 7.05-2 OK ghostscript-base7.05-2 OK ghostscript-x11 7.05-2 OK gnugo 3.4-1 OK grep2.5-1 OK groff 1.18.1-2 OK gzip1.3.5-1OK inetutils 1.3.2-25 OK initscripts 0.9-1 OK ioperm 0.4-1 OK jbigkit 1.5-3 OK jpeg6b-11 OK less381-1 OK lesstif 0.93.91-6 OK libbz2_11.0.2-5OK libdb3.13.1.17-2 OK libdb4.14.1.25-1 OK libfontconfig-devel 2.2.0-1OK libfontconfig1 2.2.0-1OK libfreetype2-devel 2.1.5-1OK libfreetype26 2.1.5-1OK libgdbm 1.8.0-5OK libgdbm-devel 1.8.3-7OK libgdbm31.8.3-3OK libgdbm41.8.3-7OK libgettextpo0 0.12.1-3
RE: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"
> > > I have experienced exactly the same problem! On two different machines > > > running XP. > > > > I'm running XP *and* I'm using tcsh on a regular basis and I'm not able > > to reproduce that effect. > > Well, I know of at least one way to cause this problem! My cygwin > installation was running fine for over a year on an XP machine without > any problems. Today, out of nowhere, it starts giving me the "Out of > memory" error whenever I try to run tcsh. > Looking in that directory revealed that the .history file was huge. This happened to me today also, on a 128 MB Windows 2000 SP4 machine. All was well until yesterday, when tcsh failed a couple of times, but it seemed to be inconsistent. Today tcsh crashed every time I invoked it without -f. I discovered that my .history file was 53 MB in size! This is with history 1024 savehist(1024 merge) in my .login. > wc .history 0 3316299 53060768 .history Examination of the .history file shows it to be garbage. It contains nothing but a sea of repeated copies of $prompt (when in $HOME, post variable substitution). Could there be a problem with the history save or merge code? cygwin 1.5.12-1 tcsh 6.13.00-2 Cheers Michael -- 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/
Re: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"
Michael Bax SPAM.bigfoot.com> writes: > > I discovered that my .history file was 53 MB in size! This is with > history 1024 > savehist(1024 merge) > in my .login. > > > wc .history > 0 3316299 53060768 .history > I've got the same problem with the same symptoms (the only difference - I connect to my cygwin with putty via sshd). Removing/renaming .history file solves the problem. Boris -- 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/
Re: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"
At 04:02 AM 7/5/2005, you wrote: >Michael Bax SPAM.bigfoot.com> writes: > >> >> I discovered that my .history file was 53 MB in size! This is with >> history 1024 >> savehist(1024 merge) >> in my .login. >> >> > wc .history >> 0 3316299 53060768 .history >> > >I've got the same problem with the same symptoms (the only difference - I >connect to my cygwin with putty via sshd). > >Removing/renaming .history file solves the problem. OK. Please read and follow the problem reporting guidelines at the link below if you'd like to have someone on the list review your issue. >Problem reports: http://cygwin.com/problems.html -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/
Re: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"
On Mon, 2 Feb 2004 [EMAIL PROTECTED] wrote: > 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 -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/
Re: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"
References: <[EMAIL PROTECTED]> 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. [EMAIL PROTECTED] >> 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/
Re: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"
On Feb 17 12:51, Etienne Huot wrote: > References: <[EMAIL PROTECTED]> > > 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 I'm running XP *and* I'm using tcsh on a regular basis and I'm not able to reproduce that effect. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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/
FW: Re: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"
http://www.cygwin.com/ml/cygwin/2004-02/msg00798.html Re: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory" * From: Corinna Vinschen * To: cygwin at cygwin dot com * Date: Tue, 17 Feb 2004 16:11:55 +0100 * Subject: Re: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory" * References: <[EMAIL PROTECTED] > * Reply-to: cygwin at cygwin dot com On Feb 17 12:51, Etienne Huot wrote: > References: <[EMAIL PROTECTED] > > > 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 I'm running XP *and* I'm using tcsh on a regular basis and I'm not able to reproduce that effect. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Dear Cygwin Folks: I would have posted this to the message thread, but I didn't have the time to research how to go about doing that. Please pass this along to anyone that might benefit. Well, I know of at least one way to cause this problem! My cygwin installation was running fine for over a year on an XP machine without any problems. Today, out of nowhere, it starts giving me the "Out of memory" error whenever I try to run tcsh. I can run bash just fine. I decided to blow away my installation and reinstall, which reset my home directory back to "C:\Documents and Settings ...". This cured the problem! So when I edited /etc/passwd to put my home directory back to "/home/golde", the problem returned. Looking in that directory revealed that the .history file was huge. I blew it away and everything was fine. I have no idea what caused it to spaz out, but anyway this is at least one way to cause tcsh to experience the "Out of memory" problem. Best Regards, V Edward Gold, Jr. -- 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/