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: tcsh hangs after updating to cygwin 1.5.7-1. Expires with "Out of Memory"


References: <H0000d740874743a.1075768579.mailw02@MHS> 

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.Huot@inria.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/


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